forked from styled-system/styled-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.09 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"private": true,
"workspaces": [
"packages/*",
"examples/*",
"benchmarks",
"docs"
],
"scripts": {
"prettier": "prettier \"packages/**/{src,test,examples}/**/*.js\" --write",
"prettier:docs": "prettier \"docs/**/*.{js,md}\" --write",
"clean": "lerna exec -- rm -rf dist",
"prepare": "yarn build:cjs && yarn build:esm",
"build:cjs": "NODE_ENV=cjs lerna exec -- babel src -d dist --root-mode upward",
"build:esm": "NODE_ENV=esm lerna exec -- babel src -o dist/index.esm.js --root-mode upward",
"bootstrap": "lerna bootstrap",
"publish": "lerna publish",
"logo": "npx repng docs/src/logo/index.js -d docs/static -f logo.png -w 512 -h 512",
"logo-svg": "npx scrs docs/src/logo/index.js --svg > docs/static/logo.svg",
"logo-white": "npx scrs docs/src/logo/white.js --svg > docs/static/logo-white.svg",
"benchmark": "yarn workspace benchmarks test",
"cover": "yarn test --coverage",
"codecov": "yarn cover && npx codecov",
"docs": "yarn workspace @styled-system/docs start",
"docs:build": "yarn workspace @styled-system/docs build",
"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/preset-react": "^7.0.0",
"@babel/register": "^7.4.0",
"husky": "^2.3.0",
"jest": "^24.8.0",
"jest-emotion": "^10.0.11",
"lerna": "^3.13.4",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"react": "^16.8.5",
"react-test-renderer": "^16.8.5"
},
"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": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"*.{js,md}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"react-scripts": "^3.0.1"
}
}