-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
60 lines (60 loc) · 1.87 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
{
"name": "react-boilerplate",
"version": "0.0.0",
"author": "c7s",
"private": true,
"scripts": {
"prepare": "node ./tools/install/create-symlinks",
"i": "yarn install --frozen-lockfile",
"a": "yarn add -E -D",
"r": "yarn remove",
"prettier:all": "prettier --write \"**/*.{js,ts,tsx,json,graphql,md,*rc}\"",
"lint:js": "eslint .",
"git:configure": "node ./tools/git/scripts/configure",
"prepare-commit-msg": "node ./tools/git/hooks/prepare-commit-msg",
"commit-msg": "node ./tools/git/hooks/commit-msg",
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
},
"engines": {
"node": "8.11.1",
"yarn": "^1.6.0"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{js,ts,tsx,json,graphql,md,*rc}": [
"prettier --write",
"git add"
],
"{package.json,yarn.lock}": [
"node ./tools/git/hooks/check-yarn-lock",
"node ./tools/git/hooks/check-package-json"
]
},
"husky": {
"hooks": {
"prepare-commit-msg": "yarn prepare-commit-msg",
"commit-msg": "yarn commit-msg",
"pre-commit": "yarn pre-commit & lerna run --concurrency=1 --stream pre-commit",
"post-commit": "yarn post-commit"
}
},
"devDependencies": {
"create-symlink": "1.0.0",
"eslint": "5.9.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "3.3.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1",
"husky": "1.2.0",
"lerna": "3.5.0",
"lint-staged": "8.1.0",
"node-noop": "1.0.0",
"prettier": "1.15.2",
"prompt": "1.0.0"
}
}