You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
3.7 KiB

6 years ago
{
"name": "halo-admin",
"version": "1.4.0-beta.3",
"author": "halo-dev",
"description": "Halo admin client.",
"repository": {
"type": "git",
"url": "git+https://github.com/halo-dev/halo-admin.git"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/halo-dev/halo-admin/issues"
},
"homepage": "https://github.com/halo-dev/halo-admin#readme",
6 years ago
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
5 years ago
"build:jsdelivr": "vue-cli-service build --mode jsdelivr",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit"
6 years ago
},
"dependencies": {
"ant-design-vue": "^1.6.5",
"axios": "^0.19.2",
"enquire.js": "^2.1.6",
"filepond": "^4.19.2",
"filepond-plugin-image-preview": "^4.6.4",
"flv.js": "^1.5.0",
"halo-editor": "^2.8.2",
"marked": "^1.1.1",
"moment": "^2.27.0",
"tiny-pinyin": "^1.3.0",
"verte": "^0.0.12",
"vue": "^2.6.12",
"vue-clipboard2": "^0.3.1",
"vue-codemirror-lite": "^1.0.4",
"vue-contextmenujs": "^1.3.12",
"vue-count-to": "^1.0.13",
"vue-dplayer": "0.0.10",
"vue-filepond": "^6.0.2",
"vue-ls": "^3.2.1",
"vue-router": "^3.4.3",
"vuejs-logger": "^1.5.4",
"vuex": "^3.5.1"
6 years ago
},
"devDependencies": {
"@babel/polyfill": "^7.10.4",
6 years ago
"@vue/cli-plugin-babel": "^3.8.0",
"@vue/cli-plugin-eslint": "^4.5.4",
"@vue/cli-plugin-unit-jest": "^4.5.4",
"@vue/cli-service": "^4.5.4",
"@vue/eslint-config-standard": "^4.0.0",
"@vue/test-utils": "^1.0.4",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-plugin-import": "^1.13.0",
"eslint": "^6.8.0",
"eslint-plugin-html": "^6.0.3",
"eslint-plugin-vue": "^6.2.2",
"generate-asset-webpack-plugin": "^0.3.0",
"husky": "^4.2.5",
"less": "^3.12.2",
6 years ago
"less-loader": "^5.0.0",
"lint-staged": "^10.2.11",
"tailwindcss": "^1.7.3",
"vue-svg-component-runtime": "^1.0.1",
"vue-svg-icon-loader": "^2.1.1",
"vue-template-compiler": "^2.6.12"
6 years ago
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/strongly-recommended",
"@vue/standard"
6 years ago
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {
"space-before-function-paren": [
"error",
"never"
],
"generator-star-spacing": "off",
"no-mixed-operators": 0,
"vue/max-attributes-per-line": [
2,
{
"singleline": 5,
"multiline": {
"max": 1,
"allowFirstLine": false
}
}
],
"vue/attribute-hyphenation": 0,
"vue/html-self-closing": 0,
"vue/component-name-in-template-casing": 0,
"vue/html-closing-bracket-spacing": 0,
"vue/singleline-html-element-content-newline": 0,
"vue/no-unused-components": 0,
"vue/multiline-html-element-content-newline": 0,
"vue/no-use-v-if-with-v-for": 0,
"vue/html-closing-bracket-newline": 0,
"vue/no-parsing-error": 0,
"no-console": 0,
"no-tabs": 0,
"quotes": [
2,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semi": [
2,
"never",
{
"beforeStatementContinuationChars": "never"
}
],
"no-delete-var": 2,
"prefer-const": [
2,
{
"ignoreReadBeforeAssign": false
}
]
6 years ago
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,vue}": [
"eslint --fix",
"git add"
]
},
6 years ago
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
}