forked from ooni/design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.65 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
{
"name": "ooni-components",
"version": "0.2.9",
"main": "dist/index.js",
"repository": "https://github.com/ooni/design-system.git",
"author": "Arturo Filastò <[email protected]>",
"license": "BSD-3-Clause",
"dependencies": {
"@rebass/grid": "^6.0.0-3",
"palx": "^1.0.2",
"prop-types": "^15.5.10",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-icon-base": "^2.1.2",
"react-icons": "^2.2.5",
"rebass": "^2.3.3",
"styled-components": "^3.4.9",
"styled-system": "^3.1.3",
"victory": "^0.22.1"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.3.4",
"@storybook/addon-actions": "^5.0.1",
"@storybook/addon-links": "^5.0.1",
"@storybook/addon-storysource": "^5.0.1",
"@storybook/addons": "^5.0.1",
"@storybook/react": "^5.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-inline-react-svg": "^0.4.0",
"babel-plugin-styled-components": "^1.5.0",
"cheerio": "^1.0.0-rc.2",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "1.5.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^4.19.1",
"eslint-plugin-react": "^7.7.0",
"jest": "^24.3.1",
"jest-styled-components": "^6.3.1",
"react-test-renderer": "^16.8.4"
},
"optionalDependencies": {
"fsevents": "1.2.9"
},
"resolutions": {
"rebass": "2.3.3",
"@rebass/grid": "6.0.0-3",
"styled-components": "3.4.9",
"styled-system": "3.1.3"
},
"scripts": {
"build:clean": "rm -rf dist/*",
"build:js": "babel components -d dist",
"build:copy": "cp -R components/fonts dist/fonts",
"build": "npm run build:clean && npm run build:js && npm run build:copy",
"create-icons": "node bin/create-icons",
"tag": "git tag -s -a v$(jq -r .version package.json) -m \"ooni-components $(jq -r .version package.json)\"",
"test": "jest",
"lint": "eslint --ignore-path .gitignore --ignore-pattern '/components/icons/*' .",
"release": "yarn run build && yarn publish --new-version $(jq -r .version package.json)",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"files": [
"dist/",
"components/animations/",
"components/svgs/"
],
"jest": {
"roots": [
"<rootDir>/test/"
],
"testMatch": [
"**/test/**/*.js",
"!**/test/index.js",
"!**/test/config.js"
],
"coverageReporters": [
"html",
"lcov"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}