forked from opencomponents/base-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.16 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
{
"private": true,
"devDependencies": {
"codecov": "3.1.0",
"husky": "1.2.0",
"jest": "23.6.0",
"jest-environment-jsdom": "23.4.0",
"lerna": "3.5.1",
"lint-staged": "8.1.0",
"node-dir": "0.1.17",
"oc": "0.45.1",
"prettier-eslint-cli": "^4.7.1"
},
"scripts": {
"clean": "lerna clean && rm -rf node_modules",
"coverage": "codecov",
"dev": "jest --watch",
"bootstrap": "lerna bootstrap",
"precommit": "lint-staged",
"publish": "lerna publish --exact",
"test": "jest",
"updated": "lerna updated",
"setup": "yarn --production=false && lerna bootstrap"
},
"lint-staged": {
"*.js": [
"prettier-eslint --write",
"jest --findRelatedTests",
"git add"
]
},
"jest": {
"testEnvironment": "node",
"roots": [
"packages",
"acceptance-setup"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"packages/**/*.js",
"!packages/coverage/**/*",
"!node_modules/**",
"!packages/**/scaffold/**/*"
]
},
"workspaces": [
"packages/*",
"acceptance-setup",
"acceptance-components/*"
]
}