forked from storybookjs/addon-jsx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.85 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
{
"name": "@styled/storybook-addon-jsx",
"version": "7.4.1",
"description": "Forked from storybook-addon-jsx to add markdown support to the prop and component tooltips.",
"repository": "styled-components/addon-jsx",
"license": "MIT",
"author": "Andrew Lisowski <lisowski54@gamil.com>",
"contributors": [
"Evan Jacobs <probablyup@gmail.com>"
],
"main": "lib/index.js",
"scripts": {
"prebuild": "rimraf lib",
"build": "babel src --out-dir lib --ignore spec.js,test.js --extensions .ts --extensions .js --extensions .tsx && npm run build:types",
"build-storybook": "build-storybook -c ./example/.storybook",
"build:dev": "babel -w src --out-dir lib --ignore spec.js,test.js --extensions .ts --extensions .js --extensions .tsx",
"build:types": "tsc -p tsconfig.json",
"prepare": "yarn build",
"storybook": "start-storybook -c ./example/.storybook",
"test": "jest src"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write"
]
},
"prettier": {
"singleQuote": true
},
"jest": {
"testEnvironment": "jsdom",
"testURL": "http://localhost"
},
"dependencies": {
"@styled/react-element-to-jsx-string": "^14.4.4",
"copy-to-clipboard": "^3.0.8",
"js-beautify": "^1.8.8",
"markdown-to-jsx": "^7.1.5",
"storybook-pretty-props": "^1.0.3"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@storybook/addon-essentials": "^6.4.9",
"@storybook/addon-storyshots": "^6.4.9",
"@storybook/addons": "^6.4.9",
"@storybook/builder-webpack5": "^6.4.9",
"@storybook/channels": "^6.4.9",
"@storybook/components": "^6.4.9",
"@storybook/core-events": "^6.4.9",
"@storybook/manager-webpack5": "^6.4.9",
"@storybook/react": "^6.4.9",
"@storybook/theming": "^6.4.9",
"@types/js-beautify": "^1.8.0",
"@types/react": "^17.0.37",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.4.5",
"babel-loader": "^8.0.6",
"husky-v4": "^4.3.8",
"jest": "^27.4.5",
"lint-staged": "^12.1.3",
"prettier": "^2.5.1",
"prop-types": "^15.6.2",
"react": "^17.0.2",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"regenerator-runtime": "^0.13.3",
"rimraf": "^3.0.0",
"storybook-addon-react-docgen": "^1.2.32",
"typescript": "^4.5.4"
},
"peerDependencies": {
"@storybook/addons": ">= 6.x",
"@storybook/channels": ">= 6.x",
"@storybook/components": ">= 6.x",
"@storybook/core-events": ">= 6.x",
"@storybook/theming": ">= 6.x",
"react": ">= 16.2.0",
"react-dom": ">= 16.2.0"
},
"resolutions": {
"webpack": "^5.0.0"
}
}