forked from storybookjs/storybook
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
221 lines (221 loc) · 6.67 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
{
"name": "@storybook/root",
"version": "5.0.0-alpha.5",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/storybooks/storybook.git"
},
"workspaces": [
"addons/*",
"addons/storyshots/*",
"app/*",
"lib/*",
"examples/*",
"lib/cli/test/run/*"
],
"scripts": {
"bootstrap": "node ./scripts/bootstrap.js",
"bootstrap:crna-kitchen-sink": "npm --prefix examples-native/crna-kitchen-sink install",
"bootstrap:docs": "yarn install --cwd docs",
"build-packs": "lerna exec --scope '@storybook/*' -- \\$LERNA_ROOT_PATH/scripts/build-pack.sh \\$LERNA_ROOT_PATH/packs",
"build-storybooks": "./scripts/build-storybooks.sh",
"changelog": "pr-log --sloppy --cherry-pick",
"changelog:next": "pr-log --sloppy --since-prerelease",
"chromatic": "npm --prefix examples/official-storybook run chromatic",
"coverage": "codecov",
"danger": "danger",
"dev": "concurrently --kill-others \"yarn dev:ts\" \"yarn dev:js\"",
"dev:js": "lerna exec --parallel -- cross-env-shell node \\$LERNA_ROOT_PATH/scripts/watch-js.js",
"dev:ts": "lerna exec --parallel -- cross-env-shell node \\$LERNA_ROOT_PATH/scripts/watch-ts.js",
"docs:build": "npm --prefix docs run build",
"docs:dev": "npm --prefix docs run dev",
"github-release": "github-release-from-changelog",
"lint": "yarn lint:js . && yarn lint:ts **/*.ts && yarn lint:md .",
"lint:ci": "yarn lint:js --format ./node_modules/eslint-teamcity/index.js . && yarn lint:ts **/*.ts && yarn lint:md .",
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html --report-unused-disable-directives",
"lint:md": "remark -q",
"lint:ts": "tslint -p . -c tslint.json -t stylish",
"publish:latest": "lerna publish --exact --concurrency 1 --force-publish",
"publish:next": "npm run publish:latest -- --npm-tag=next",
"publish:debug": "npm run publish:latest -- --npm-tag=debug --no-push",
"repo-dirty-check": "node ./scripts/repo-dirty-check",
"start": "yarn --cwd examples/official-storybook storybook",
"test": "node ./scripts/test.js",
"test-latest-cra": "yarn --prefix --cwd lib/cli run test-latest-cra",
"test:cli": "npm --prefix lib/cli run test"
},
"dependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"babel-plugin-add-react-displayname": "^0.0.5",
"eslint-plugin-html": "^5.0.3",
"react-testing-library": "^5.4.4"
},
"devDependencies": {
"@angular/common": "^7.2.1",
"@angular/compiler": "^7.2.3",
"@angular/core": "^7.2.1",
"@angular/forms": "^7.2.1",
"@angular/platform-browser": "^7.2.1",
"@angular/platform-browser-dynamic": "^7.2.3",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
"@babel/preset-env": "^7.4.1",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/common-tags": "^1.8.0",
"@types/jest": "^24.0.6",
"@types/node": "^10.12.19",
"@types/react": "^16.7.22",
"@types/webpack-env": "^1.13.7",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-plugin-add-react-displayname": "^0.0.5",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-emotion": "^10.0.7",
"babel-plugin-macros": "^2.4.5",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-preset-vue": "^2.0.2",
"chalk": "^2.4.2",
"codecov": "^3.1.0",
"codelyzer": "^4.5.0",
"commander": "^2.19.0",
"concurrently": "^4.0.1",
"core-js": "^2.6.5",
"cross-env": "^5.2.0",
"danger": "^7.0.7",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.9.1",
"eslint": "^5.12.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^3.6.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.2.2",
"eslint-plugin-json": "^1.2.1",
"eslint-plugin-jsx-a11y": "^6.2.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-teamcity": "^2.1.0",
"esm": "^3.2.1",
"github-release-from-changelog": "^1.3.2",
"glob": "^7.1.3",
"husky": "^1.3.1",
"inquirer": "^6.2.0",
"jest": "^23.6.0",
"jest-cli": "^23.6.0",
"jest-config": "^24.0.0",
"jest-diff": "^24.0.0",
"jest-emotion": "^10.0.7",
"jest-environment-jsdom": "^24.0.0",
"jest-enzyme": "^7.0.0",
"jest-image-snapshot": "^2.6.0",
"jest-jasmine2": "^24.0.0",
"jest-preset-angular": "^6.0.1",
"jest-raw-loader": "^1.0.1",
"jest-teamcity-reporter": "^0.9.0",
"jest-vue-preprocessor": "^1.4.0",
"lerna": "^3.10.7",
"lint-staged": "^8.1.3",
"lodash": "^4.17.11",
"node-fetch": "^2.3.0",
"npmlog": "^4.1.2",
"prettier": "^1.16.4",
"raf": "^3.4.0",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"react-test-renderer": "^16.8.1",
"regenerator-runtime": "^0.12.1",
"remark-cli": "^6.0.0",
"remark-lint": "^6.0.3",
"remark-preset-lint-recommended": "^3.0.2",
"riot-jest-transformer": "^1.0.10",
"shelljs": "^0.8.5",
"svelte-jest": "^0.2.0",
"ts-jest": "^23.10.5",
"tslint": "~5.12.1",
"tslint-config-prettier": "^1.15.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.3.1"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged"
}
},
"resolutions": {
"graphql": "^0.13.2"
},
"engines": {
"node": ">=8.6.0",
"yarn": ">=1.3.2"
},
"browserslist": "defaults",
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/storybook"
},
"eslint-teamcity": {
"reporter": "inspections"
},
"lint-staged": {
"linters": {
"*.js": [
"yarn lint:js --fix",
"git add"
],
"*.ts": [
"yarn lint:ts --fix",
"git add"
],
"*.json": [
"yarn lint:js --fix",
"git add"
]
}
},
"pr-log": {
"skipLabels": [
"cleanup",
"doc-dependencies:update"
],
"validLabels": [
[
"BREAKING CHANGE",
"Breaking Changes"
],
[
"feature request",
"Features"
],
[
"bug",
"Bug Fixes"
],
[
"documentation",
"Documentation"
],
[
"maintenance",
"Maintenance"
],
[
"dependencies:update",
"Dependency Upgrades"
],
[
"dependencies",
"Dependency Upgrades"
],
[
"other",
"Other"
]
]
}
}