-
Notifications
You must be signed in to change notification settings - Fork 488
/
package.json
53 lines (53 loc) · 1.52 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
{
"private": true,
"workspaces": [
"packages/*",
"website"
],
"homepage": "https://warrior.js.org",
"repository": "https://github.com/olistic/warriorjs",
"scripts": {
"bootstrap": "lerna bootstrap",
"release": "yarn clean:build && yarn build && yarn test && lerna publish",
"build": "lerna run build --stream --ignore warriorjs-website",
"clean": "yarn clean:build & yarn clean:coverage & yarn clean:modules",
"clean:build": "rm -rf packages/*/lib",
"clean:coverage": "rm -rf coverage",
"clean:modules": "lerna clean --yes",
"lint": "eslint --cache packages/**/src",
"lint:fix": "yarn lint --fix",
"pretest": "yarn lint",
"test": "jest",
"test:coverage": "yarn test --coverage",
"test:watch": "yarn test --watch"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.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-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.2.0",
"jest": "^23.6.0",
"lerna": "^2.11.0",
"lint-staged": "^8.1.0",
"prettier": "1.15.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md,yaml}": [
"prettier --write",
"git add"
]
}
}