| 1 | { |
| 2 | "name": "vchess-client", |
| 3 | "version": "1.0.0", |
| 4 | "private": true, |
| 5 | "scripts": { |
| 6 | "serve": "vue-cli-service serve", |
| 7 | "build": "vue-cli-service build", |
| 8 | "lint": "vue-cli-service lint" |
| 9 | }, |
| 10 | "dependencies": { |
| 11 | "ajv-keywords": "^3.4.1", |
| 12 | "vue": "^2.6.11", |
| 13 | "vue-router": "^3.1.6" |
| 14 | }, |
| 15 | "devDependencies": { |
| 16 | "@vue/cli-plugin-eslint": "^4.3.1", |
| 17 | "@vue/cli-service": "^4.3.1", |
| 18 | "ajv": "^6.12.2", |
| 19 | "apply-loader": "^2.0.0", |
| 20 | "babel-eslint": "^10.1.0", |
| 21 | "eslint": "^5.16.0", |
| 22 | "eslint-plugin-vue": "^5.2.3", |
| 23 | "lint-staged": "^8.2.1", |
| 24 | "lodash": "^4.17.15", |
| 25 | "node-sass": "^4.14.0", |
| 26 | "pug": "^2.0.4", |
| 27 | "pug-loader": "^2.4.0", |
| 28 | "pug-plain-loader": "^1.0.0", |
| 29 | "raw-loader": "^1.0.0", |
| 30 | "sass-loader": "^8.0.2", |
| 31 | "vue-loader": "^15.9.1", |
| 32 | "vue-template-compiler": "^2.6.11", |
| 33 | "worker-loader": "^2.0.0" |
| 34 | }, |
| 35 | "eslintConfig": { |
| 36 | "root": true, |
| 37 | "env": { |
| 38 | "node": true |
| 39 | }, |
| 40 | "extends": [ |
| 41 | "plugin:vue/essential", |
| 42 | "eslint:recommended" |
| 43 | ], |
| 44 | "rules": { |
| 45 | "consistent-return": 2, |
| 46 | "indent": [ |
| 47 | "error", |
| 48 | 2, |
| 49 | { |
| 50 | "SwitchCase": 1, |
| 51 | "VariableDeclarator": "first", |
| 52 | "FunctionExpression": { |
| 53 | "parameters": "first" |
| 54 | }, |
| 55 | "CallExpression": { |
| 56 | "arguments": "first" |
| 57 | }, |
| 58 | "flatTernaryExpressions": true |
| 59 | } |
| 60 | ], |
| 61 | "no-else-return": [ |
| 62 | 1, |
| 63 | { |
| 64 | "allowElseIf": false |
| 65 | } |
| 66 | ], |
| 67 | "semi": [ |
| 68 | 1, |
| 69 | "always" |
| 70 | ] |
| 71 | }, |
| 72 | "parserOptions": { |
| 73 | "parser": "babel-eslint" |
| 74 | }, |
| 75 | "globals": { |
| 76 | "V": "readonly" |
| 77 | } |
| 78 | }, |
| 79 | "postcss": { |
| 80 | "plugins": { |
| 81 | "autoprefixer": {} |
| 82 | } |
| 83 | }, |
| 84 | "browserslist": [ |
| 85 | "> 1%", |
| 86 | "last 2 versions", |
| 87 | "not ie <= 8" |
| 88 | ], |
| 89 | "gitHooks": { |
| 90 | "pre-commit": "lint-staged" |
| 91 | }, |
| 92 | "lint-staged": { |
| 93 | "*.js": [ |
| 94 | "vue-cli-service lint", |
| 95 | "git add" |
| 96 | ], |
| 97 | "*.vue": [ |
| 98 | "vue-cli-service lint", |
| 99 | "git add" |
| 100 | ] |
| 101 | } |
| 102 | } |