-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.97 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.97 KB
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
99
{
"name": "@fabula/react",
"version": "0.1.3",
"main": "dist/index.js",
"private": false,
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/fabula-ui/react.git"
},
"dependencies": {
"@fabula/core": "^0.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"emotion": "^10.0.27",
"prop-types": "^15.7.2",
"svg-inline-loader": "^0.8.2"
},
"scripts": {
"clean": "rimraf dist",
"compile": "yarn run clean && cross-env NODE_ENV=production babel src/lib --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__",
"prepare": "install-peers",
"start": "start-storybook -p 9009 -s public",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"jest:ui": "jest -c tests/ui/jest.config.js",
"jest:ui:update": "jest -c tests/ui/jest.config.js --updateSnapshot",
"test:ui": "PORT=9009 start-server-and-test storybook:ci http-get://localhost:9009 jest:ui",
"test:ui:update": "PORT=9009 start-server-and-test storybook:ci http-get://localhost:9009 jest:ui:update",
"storybook": "start-storybook -p 9009 -s public",
"storybook:ci": "start-storybook -p 9009 -s public --ci",
"build-storybook": "build-storybook -s public"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/runtime": "^7.12.1",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/preset-create-react-app": "^3.0.0",
"@storybook/react": "^5.3.19",
"cross-env": "^7.0.2",
"customize-cra": "^0.9.1",
"install-peers-cli": "^2.2.0",
"jest": "^24.9.0",
"jest-dashboard": "^0.3.1",
"jest-image-snapshot": "^4.0.2",
"jest-puppeteer": "^4.4.0",
"jest-svg-transformer": "^1.0.0",
"puppeteer": "^3.3.0",
"react": "^16.13.1",
"react-app-rewire-aliases": "^0.2.0",
"react-app-rewire-svg-react-loader": "codebandits/react-app-rewire-svg-react-loader",
"react-app-rewired": "^2.1.5",
"react-dom": "^16.13.1",
"react-helmet": "^6.0.0",
"react-scripts": "3.4.1",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.2",
"start-server-and-test": "^1.11.0"
},
"jest": {
"moduleNameMapper": {
"\\.(svg)$": "<rootDir>/svgMock.js"
},
"transform": {
"^.+\\.svg$": "<rootDir>/svgMock.js"
}
},
"peerDependencies": {
"react": "^16.13.1"
}
}