mirror of https://github.com/halo-dev/halo-admin
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.
128 lines
3.0 KiB
128 lines
3.0 KiB
{
|
|
"name": "halo-admin",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"serve": "vue-cli-service serve",
|
|
"build": "vue-cli-service build",
|
|
"lint": "vue-cli-service lint",
|
|
"test:unit": "vue-cli-service test:unit"
|
|
},
|
|
"dependencies": {
|
|
"animate.css": "^3.7.0",
|
|
"ant-design-vue": "~1.3.7",
|
|
"axios": "^0.18.0",
|
|
"enquire.js": "^2.1.6",
|
|
"lodash.get": "^4.4.2",
|
|
"mavon-editor": "^2.7.2",
|
|
"moment": "^2.24.0",
|
|
"nprogress": "^0.2.0",
|
|
"viser-vue": "^2.4.5",
|
|
"vue": "^2.6.10",
|
|
"vue-clipboard2": "^0.3.0",
|
|
"vue-codemirror-lite": "^1.0.4",
|
|
"vue-cropper": "0.4.9",
|
|
"vue-fragment": "^1.5.0",
|
|
"vue-ls": "^3.2.1",
|
|
"vue-router": "^3.0.2",
|
|
"vue-svg-component-runtime": "^1.0.1",
|
|
"vuejs-logger": "^1.5.3",
|
|
"vuex": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/polyfill": "^7.4.0",
|
|
"@vue/cli-plugin-babel": "^3.5.1",
|
|
"@vue/cli-plugin-eslint": "^3.5.1",
|
|
"@vue/cli-plugin-unit-jest": "^3.5.3",
|
|
"@vue/cli-service": "^3.5.3",
|
|
"@vue/eslint-config-standard": "^4.0.0",
|
|
"@vue/test-utils": "^1.0.0-beta.20",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-jest": "^24.5.0",
|
|
"babel-plugin-import": "^1.11.0",
|
|
"eslint": "^5.15.3",
|
|
"eslint-plugin-html": "^5.0.3",
|
|
"eslint-plugin-vue": "^5.2.2",
|
|
"less": "^3.9.0",
|
|
"less-loader": "^4.1.0",
|
|
"vue-svg-icon-loader": "^2.1.1",
|
|
"vue-template-compiler": "^2.6.10"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"plugin:vue/strongly-recommended",
|
|
"@vue/standard"
|
|
],
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"autoprefixer": {}
|
|
}
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not ie <= 10"
|
|
]
|
|
}
|