88271f5917b9a97b0fef393358220c4fb00c812f
[vchess.git] / client / package.json
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.5.2",
12 "vue": "^2.6.11",
13 "vue-router": "^3.4.9"
14 },
15 "devDependencies": {
16 "@vue/cli-plugin-eslint": "^4.5.9",
17 "@vue/cli-service": "^3.0.5",
18 "ajv": "^6.12.6",
19 "apply-loader": "^2.0.0",
20 "babel-eslint": "^10.1.0",
21 "chokidar": "^3.5.1",
22 "eslint": "^6.8.0",
23 "eslint-plugin-vue": "^7.2.0",
24 "lint-staged": "^10.5.3",
25 "lodash": "^4.17.20",
26 "pug": "^3.0.2",
27 "pug-loader": "^1.0.2",
28 "pug-plain-loader": "^1.1.0",
29 "raw-loader": "^4.0.2",
30 "sass": "^1.32.12",
31 "sass-loader": "^10.1.0",
32 "vue-loader": "^15.9.6",
33 "vue-template-compiler": "^2.6.11",
34 "worker-loader": "^3.0.6"
35 },
36 "eslintConfig": {
37 "root": true,
38 "env": {
39 "node": true
40 },
41 "extends": [
42 "plugin:vue/essential",
43 "eslint:recommended"
44 ],
45 "rules": {
46 "consistent-return": 2,
47 "indent": [
48 "error",
49 2,
50 {
51 "SwitchCase": 1,
52 "VariableDeclarator": "first",
53 "FunctionExpression": {
54 "parameters": "first"
55 },
56 "CallExpression": {
57 "arguments": "first"
58 },
59 "flatTernaryExpressions": true
60 }
61 ],
62 "no-else-return": [
63 1,
64 {
65 "allowElseIf": false
66 }
67 ],
68 "semi": [
69 1,
70 "always"
71 ]
72 },
73 "parserOptions": {
74 "parser": "babel-eslint"
75 },
76 "globals": {
77 "V": "readonly"
78 }
79 },
80 "postcss": {
81 "plugins": {
82 "autoprefixer": {}
83 }
84 },
85 "browserslist": [
86 "> 1%",
87 "last 2 versions",
88 "not ie <= 8"
89 ],
90 "gitHooks": {
91 "pre-commit": "lint-staged"
92 },
93 "lint-staged": {
94 "*.js": [
95 "vue-cli-service lint",
96 "git add"
97 ],
98 "*.vue": [
99 "vue-cli-service lint",
100 "git add"
101 ]
102 }
103 }