-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "snake-attack",
"version": "0.0.1",
"description": "A snake game",
"main": "index.html",
"scripts": {
"dev": "NODE_ENV=development webpack --env=development",
"watch": "NODE_ENV=development webpack watch --env=development",
"serve": "NODE_ENV=development webpack serve --env=development"
},
"author": "Alexander Schenkel <[email protected]>",
"license": "MIT",
"devDependencies": {
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"prettier": "^2.3.2",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2"
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"prettier",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {}
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"tabWidth": 4,
"printWidth": 120
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none"
}
],
"semi": [
"error",
"always"
],
"curly": "error",
"eqeqeq": "error",
"no-eval": "error",
"no-loop-func": "error",
"radix": "error",
"comma-dangle": "error",
"no-undef": "error"
}
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "none"
},
"dependencies": {
"phaser": "^3.55.2"
}
}