-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
61 lines (61 loc) · 1.64 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
{
"private": true,
"scripts": {
"prettier": "prettier \"packages/**/{src,test,examples}/**/*.js\" --write",
"prettier:docs": "prettier \"docs/**/*.{js,md}\" --write",
"clean": "lerna exec -- rm -rf dist",
"build": "yarn build:cjs && yarn build:esm",
"prepare": "yarn build",
"build:cjs": "cross-env NODE_ENV=cjs lerna exec -- babel src -d dist --root-mode upward",
"build:esm": "cross-env NODE_ENV=esm lerna exec -- babel src -o dist/index.esm.js --root-mode upward",
"bootstrap": "lerna bootstrap",
"publish": "yarn clean && yarn build && lerna publish",
"cover": "yarn test --coverage",
"test": "jest"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@babel/register": "^7.4.0",
"@commitlint/cli": "8.2.0",
"@commitlint/config-conventional": "8.2.0",
"@commitlint/config-lerna-scopes": "8.2.0",
"cross-env": "^6.0.3",
"husky": "^3.0.1",
"jest": "^24.8.0",
"lerna": "^3.13.4",
"lint-staged": "^9.2.0",
"prettier": "^1.16.4"
},
"jest": {
"testMatch": [
"**/packages/**/test/*.js"
],
"collectCoverageFrom": [
"**/packages/**/src/*.js"
],
"coverageReporters": [
"lcov",
"text",
"html"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/jxnblk/styled-system.git"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,md}": [
"prettier --write",
"git add"
]
}
}