Fix Hawk and Elephant movements in S-chess
[vchess.git] / client / package.json
CommitLineData
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 42 ],
6808d7a1
BA
43 "rules": {
44 "consistent-return": 2,
45 "indent": [
46 "error",
47 2,
48 {
49 "SwitchCase": 1,
50 "VariableDeclarator": "first",
51 "FunctionExpression": {
52 "parameters": "first"
53 },
54 "CallExpression": {
55 "arguments": "first"
56 },
57 "flatTernaryExpressions": true
58 }
59 ],
910d631b 60 "no-else-return": [
6808d7a1
BA
61 1,
62 {
63 "allowElseIf": false
64 }
65 ],
1c5bfdf2
BA
66 "semi": [
67 1,
68 "always"
69 ]
70 },
71 "parserOptions": {
72 "parser": "babel-eslint"
73 },
74 "globals": {
75 "V": "readonly"
625022fd
BA
76 }
77 },
78 "postcss": {
79 "plugins": {
80 "autoprefixer": {}
81 }
82 },
83 "browserslist": [
84 "> 1%",
85 "last 2 versions",
86 "not ie <= 8"
87 ],
88 "gitHooks": {
89 "pre-commit": "lint-staged"
90 },
91 "lint-staged": {
92 "*.js": [
93 "vue-cli-service lint",
94 "git add"
95 ],
96 "*.vue": [
97 "vue-cli-service lint",
98 "git add"
99 ]
100 }
101}