-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
executable file
·56 lines (56 loc) · 1.43 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
{
"name": "total-react",
"version": "0.0.0",
"private": true,
"workspaces": [
"api",
"web",
"packages/*"
],
"engines": {
"node": "8"
},
"devDependencies": {
"babel-eslint": "^9.0.0",
"eslint": "^5.4.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^3.0.1",
"eslint-config-react-app": "^2.1.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.22.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-standard": "^4.0.0",
"flow-bin": "^0.86.0",
"husky": "^1.1.3",
"lerna": "^2.4.0",
"lint-staged": "^7.0.0",
"prettier": "^1.14.2"
},
"lint-staged": {
"*.js": [
"eslint --fix --max-warnings=100000",
"prettier --write",
"git add --force"
],
"*.{json,babelrc,eslintrc,prettierrc,nycrc,firebaserc}": [
"prettier --parser json --write",
"git add --force"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"scripts": {
"lint": "yarn run --cwd=$PWD/api lint && yarn run --cwd=$PWD/web lint",
"lint-fix": "yarn run --cwd=$PWD/api lint-fix && yarn run --cwd=$PWD/api lint-fix ",
"postinstall": "lerna run prepublish"
}
}