-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
86 lines (86 loc) · 2.63 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
{
"name": "storybook-addon-specifications",
"version": "2.2.0",
"description": "Add tests to your react storybook stories",
"main": "dist/index.js",
"scripts": {
"clean": "rimraf dist",
"deploy-storybook": "storybook-to-ghpages",
"prepublish": "npm-run-all clean test",
"storybook": "start-storybook -p 9001",
"babel": "babel --ignore __tests__ src --out-dir dist",
"jest": "jest",
"mocha": "mocha --compilers js:babel-register --require babel-polyfill ./.storybook/__conf__/mochaMockConfig.js ./.storybook/__conf__/enzymeConfig.js \"./.storybook/**/*.mocha.stories.js\"",
"test": "npm-run-all babel jest mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mthuret/storybook-addon-specifications.git"
},
"keywords": [
"storybook",
"tests",
"react",
"specifications"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/mthuret/storybook-addon-specifications/issues"
},
"homepage": "https://github.com/mthuret/storybook-addon-specifications#readme",
"devDependencies": {
"@storybook/addons": "5.2.0-beta.40",
"@storybook/react": "5.2.0-beta.40",
"@storybook/ui": "3.2.17",
"babel-cli": "^6.11.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"babel-runtime": "^6.26.0",
"chai": "^4.0.2",
"enzyme": "3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"expect": "^1.20.2",
"jest": "^21.0.0",
"json": "^9.0.4",
"mocha": "^3.0.2",
"npm-run-all": "^4.0.2",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"rimraf": "^2.5.4"
},
"dependencies": {
"aphrodite": "^1.1.0"
},
"peerDependencies": {
"@storybook/addons": "^6.0.0",
"react": "^0.14.7 || ^15.0.0 || ^16.0.0",
"react-dom": "^0.14.7 || ^15.0.0 || ^16.0.0"
},
"jest": {
"setupFiles": [
"./.storybook/__conf__/jestMockConfig.js",
"./.storybook/__conf__/enzymeConfig.js"
],
"testRegex": "../.*.ci.jest.stories.js$",
"automock": false,
"globals": {
"__TESTS__": true
},
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/react/",
"<rootDir>/node_modules/lodash/",
"<rootDir>/node_modules/material-ui/",
"<rootDir>/node_modules/react-dom/",
"<rootDir>/node_modules/enzyme/",
"<rootDir>/node_modules/chai/",
"<rootDir>/node_modules/core-js/",
"<rootDir>/node_modules/sinon/",
"<rootDir>/node_modules/uuid/",
"<rootDir>/node_modules/es6-shim/",
"<rootDir>/node_modules/react-addons-test-utils/"
]
}
}