-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
98 lines (98 loc) · 2.8 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "component-library-starter",
"version": "0.2.0",
"description": "a small starter for building a component library with Styled Components",
"main": "build/index.js",
"directories": {
"lib": "lib"
},
"scripts": {
"build": "babel lib -d build",
"build:watch": "babel lib -w -d build",
"lint": "npm run lint:js && npm run lint:style",
"lint:js": "eslint lib/**; exit 0",
"lint:js:watch": "esw -w lib/**",
"prepublish": "npm run build",
"review": "run-s lint test:clean test test:coverage:report",
"lint:style": "stylelint -- \"./lib/**/*.js\"",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"test": "jest lib/**; exit 0",
"test:clean": "rimraf ./coverage",
"test:watch": "jest lib/** --watch",
"test:watchAll": "jest lib/** --watchAll",
"test:coverage:report": "open ./coverage/lcov-report/index.html"
},
"author": "Alan Smith <[email protected]> (https://github.com/alanbsmith)",
"license": "MIT",
"dependencies": {
"polished": "^1.8.1",
"react-fontawesome": "^1.6.1",
"styled-components": "^2.2.2",
"styled-components-modifiers": "^1.0.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-loader": "^7.1.2",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.2",
"eslint": "^4.9.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"eslint-watch": "^3.1.3",
"fontfaceobserver": "^2.0.13",
"jest": "^21.2.1",
"jest-styled-components": "^4.10.0",
"npm-run-all": "^4.1.1",
"prop-types": "^15.6.0",
"raf": "^3.4.0",
"react": "^16.0.0",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.0.0",
"react-styleguidist": "^6.2.0",
"react-test-renderer": "^16.0.0",
"rimraf": "^2.6.2",
"stylelint": "^8.2.0",
"stylelint-config-standard": "^17.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.0.0",
"webpack": "^3.10.0"
},
"resolutions": {
"uglify-es": "3.3.7"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"lib/**",
"!lib/**/*.snap",
"!lib/blocks/index.js",
"!lib/elements/index.js",
"!lib/modifiers/**",
"!lib/index.js"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"moduleDirectories": [
"node_modules",
"./"
],
"setupFiles": [
"raf/polyfill",
"./__tests__/config"
]
}
}