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