-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
70 lines (70 loc) · 1.57 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
{
"name": "vfancy",
"version": "1.0.0",
"main": "src/index.js",
"license": "GPL-2.0+",
"repository": "https://github.com/jsdrupal/admin_ui",
"scripts": {
"build": "parcel build --public-url=MODULE_LOCATION/dist vfancy/index.html",
"test": "prettier --check vfancy/**/*.js component/**/*.js",
"prettier": "prettier --write vfancy/**/*.js component/**/*.js"
},
"devDependencies": {
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"parcel": "^1.12.4",
"prettier": "^1.18.2"
},
"dependencies": {
"@emotion/core": "^10.0.22",
"react": "^16.11.0",
"react-dom": "^16.11.0"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"react-hooks",
"jsx-a11y"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/prop-types": [
"off"
],
"react/display-name": [
"off"
]
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
}