-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
108 lines (108 loc) · 2.31 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "serverless-react-stack",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"prepublish": "lerna run --scope=\"@shared/*\" build",
"clean": "lerna run clean && rm -rf node_modules",
"lint": "eslint '**/*.{js,jsx}'",
"format": "prettier --write '**/*.{js,jsx}'",
"dev": "binci dev"
},
"private": true,
"workspaces": [
"shared/*",
"functions/*",
"web/"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.4.0",
"babel": "^6.23.0",
"babel-eslint": "^10.0.1",
"body-parser": "^1.19.0",
"eslint": "7.1.0",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.13.0",
"husky": "^2.2.0",
"lerna": "^4.0.0",
"lint-staged": "^8.1.6",
"prettier": "^1.17.0",
"serverless": "^2.64.1",
"serverless-offline": "^8.2.0",
"serverless-offline-multi": "^1.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"parserOptions": {
"jsx": true
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"globals": {
"expect": true,
"fixture": true,
"log": true
},
"rules": {
"camelcase": 0,
"no-console": 0,
"prettier/prettier": "error",
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}
],
"node/no-deprecated-api": 0,
"react/display-name": 0,
"react/jsx-no-target-blank": 0,
"react/no-children-prop": 0,
"react/no-find-dom-node": 0,
"react/no-string-refs": 0
},
"settings": {
"react": {
"version": "17.0"
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended"
]
},
"eslintIgnore": [
"dist/",
".cache/",
"coverage/",
"node_modules/"
]
}