2017-03-29 21:41:55 +02:00
|
|
|
{
|
2017-12-21 08:37:53 +01:00
|
|
|
"name": "@storybook/root",
|
2019-03-02 20:33:20 +01:00
|
|
|
"version": "5.0.0-beta.3",
|
2018-08-15 23:16:19 +02:00
|
|
|
"private": true,
|
2017-05-18 16:44:27 +10:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2017-06-06 01:48:54 +12:00
|
|
|
"url": "https://github.com/storybooks/storybook.git"
|
2017-05-18 16:44:27 +10:00
|
|
|
},
|
2018-08-15 23:16:19 +02:00
|
|
|
"workspaces": [
|
|
|
|
"addons/*",
|
|
|
|
"addons/storyshots/*",
|
|
|
|
"app/*",
|
|
|
|
"lib/*",
|
2018-10-13 18:39:23 +02:00
|
|
|
"examples/*",
|
2018-08-23 16:34:24 +03:00
|
|
|
"lib/cli/test/run/*"
|
2018-08-15 23:16:19 +02:00
|
|
|
],
|
2017-06-01 08:11:38 +02:00
|
|
|
"scripts": {
|
2017-10-24 13:31:13 -05:00
|
|
|
"bootstrap": "node ./scripts/bootstrap.js",
|
2018-10-13 18:39:23 +02:00
|
|
|
"bootstrap:crna-kitchen-sink": "npm --prefix examples-native/crna-kitchen-sink install",
|
2017-09-07 01:34:10 +03:00
|
|
|
"bootstrap:docs": "yarn install --cwd docs",
|
2018-12-27 01:48:57 +01:00
|
|
|
"build-packs": "lerna exec --scope '@storybook/*' -- \\$LERNA_ROOT_PATH/scripts/build-pack.sh \\$LERNA_ROOT_PATH/packs",
|
2018-05-24 23:01:25 -07:00
|
|
|
"build-storybooks": "./scripts/build-storybooks.sh",
|
2018-11-15 21:16:35 +08:00
|
|
|
"changelog": "pr-log --sloppy --cherry-pick",
|
2018-11-15 21:56:58 +08:00
|
|
|
"changelog:next": "pr-log --sloppy --since-prerelease",
|
2018-08-15 23:16:19 +02:00
|
|
|
"chromatic": "npm --prefix examples/official-storybook run chromatic",
|
2017-06-01 08:11:38 +02:00
|
|
|
"coverage": "codecov",
|
2018-03-17 16:13:43 +03:00
|
|
|
"danger": "danger",
|
2018-01-27 14:07:09 +02:00
|
|
|
"dev": "concurrently --kill-others \"yarn dev:ts\" \"yarn dev:js\"",
|
2018-02-06 16:43:30 +02:00
|
|
|
"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",
|
2017-09-30 13:14:25 +03:00
|
|
|
"docs:build": "npm --prefix docs run build",
|
|
|
|
"docs:dev": "npm --prefix docs run dev",
|
2017-06-01 08:11:38 +02:00
|
|
|
"github-release": "github-release-from-changelog",
|
2018-01-08 16:55:39 +02:00
|
|
|
"lint": "yarn lint:js . && yarn lint:ts **/*.ts && yarn lint:md .",
|
2018-04-13 20:41:57 +02:00
|
|
|
"lint:ci": "yarn lint:js --format ./node_modules/eslint-teamcity/index.js . && yarn lint:ts **/*.ts && yarn lint:md .",
|
2018-09-11 16:21:31 +02:00
|
|
|
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html --report-unused-disable-directives",
|
2018-02-17 19:55:30 +03:00
|
|
|
"lint:md": "remark -q",
|
2018-08-15 23:16:19 +02:00
|
|
|
"lint:ts": "tslint -p . -c tslint.json -t stylish",
|
2019-01-16 12:10:43 +08:00
|
|
|
"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",
|
2017-12-21 08:37:53 +01:00
|
|
|
"repo-dirty-check": "node ./scripts/repo-dirty-check",
|
2018-09-09 17:08:38 +02:00
|
|
|
"start": "yarn --cwd examples/official-storybook storybook",
|
2017-12-14 11:05:35 +02:00
|
|
|
"test": "node ./scripts/test.js",
|
2018-11-03 13:32:04 +02:00
|
|
|
"test-latest-cra": "yarn --prefix --cwd lib/cli run test-latest-cra",
|
2018-10-27 17:34:21 +02:00
|
|
|
"test:cli": "npm --prefix lib/cli run test"
|
2017-06-01 08:11:38 +02:00
|
|
|
},
|
2018-09-22 00:46:58 +02:00
|
|
|
"dependencies": {
|
2019-01-03 13:00:41 +01:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
2018-09-22 00:46:58 +02:00
|
|
|
"babel-plugin-add-react-displayname": "^0.0.5",
|
2019-02-07 10:58:01 +01:00
|
|
|
"eslint-plugin-html": "^5.0.3",
|
2019-01-30 12:18:32 +01:00
|
|
|
"react-testing-library": "^5.4.4"
|
2018-09-22 00:46:58 +02:00
|
|
|
},
|
2017-03-29 21:41:55 +02:00
|
|
|
"devDependencies": {
|
2019-01-17 03:35:36 +01:00
|
|
|
"@angular/common": "^7.2.1",
|
2019-02-04 05:28:48 +00:00
|
|
|
"@angular/compiler": "^7.2.3",
|
2019-01-17 03:35:36 +01:00
|
|
|
"@angular/core": "^7.2.1",
|
|
|
|
"@angular/forms": "^7.2.1",
|
2019-02-21 05:25:42 +00:00
|
|
|
"@angular/platform-browser-dynamic": "^7.2.6",
|
2019-03-02 20:33:20 +01:00
|
|
|
"@angular/platform-browser": "^7.2.1",
|
2019-01-03 13:00:41 +01:00
|
|
|
"@babel/cli": "^7.2.3",
|
2018-12-20 05:28:48 +00:00
|
|
|
"@babel/core": "^7.2.2",
|
2019-01-22 05:23:25 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.3.0",
|
2018-12-28 01:52:28 +01:00
|
|
|
"@babel/plugin-proposal-decorators": "^7.2.3",
|
2018-12-04 16:27:02 +01:00
|
|
|
"@babel/plugin-proposal-export-default-from": "^7.2.0",
|
2018-12-28 01:39:01 +01:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
|
2019-02-01 16:12:19 +01:00
|
|
|
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
|
2019-01-25 05:32:34 +00:00
|
|
|
"@babel/preset-env": "^7.3.1",
|
2018-08-31 15:28:13 +02:00
|
|
|
"@babel/preset-flow": "^7.0.0",
|
|
|
|
"@babel/preset-react": "^7.0.0",
|
2018-12-28 01:39:01 +01:00
|
|
|
"@babel/preset-typescript": "^7.1.0",
|
2018-11-23 17:02:51 +02:00
|
|
|
"@emotion/snapshot-serializer": "^0.8.2",
|
2019-02-20 21:50:49 +01:00
|
|
|
"@types/common-tags": "^1.8.0",
|
2019-03-02 20:33:20 +01:00
|
|
|
"@types/jest": "^24.0.9",
|
2019-01-30 05:20:07 +00:00
|
|
|
"@types/node": "^10.12.19",
|
2019-01-30 05:19:28 +00:00
|
|
|
"@types/react": "^16.7.22",
|
2019-01-05 12:39:37 +01:00
|
|
|
"@types/webpack": "^4.4.22",
|
2018-06-16 20:25:47 +03:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"babel-eslint": "^10.0.1",
|
|
|
|
"babel-jest": "^23.6.0",
|
|
|
|
"babel-loader": "^8.0.4",
|
2019-02-01 16:12:19 +01:00
|
|
|
"babel-plugin-add-react-displayname": "^0.0.5",
|
2018-11-28 16:05:19 +01:00
|
|
|
"babel-plugin-dynamic-import-node": "^2.2.0",
|
2019-02-07 05:24:09 +00:00
|
|
|
"babel-plugin-emotion": "^10.0.7",
|
2019-01-09 22:27:31 +08:00
|
|
|
"babel-plugin-macros": "^2.4.5",
|
2018-06-12 21:50:13 +03:00
|
|
|
"babel-plugin-require-context-hook": "^1.0.0",
|
2018-07-05 20:35:00 +03:00
|
|
|
"babel-preset-vue": "^2.0.2",
|
2019-01-09 10:08:21 +00:00
|
|
|
"chalk": "^2.4.2",
|
2018-10-10 22:23:35 +02:00
|
|
|
"codecov": "^3.1.0",
|
|
|
|
"codelyzer": "^4.5.0",
|
|
|
|
"commander": "^2.19.0",
|
2018-08-27 09:11:56 +02:00
|
|
|
"concurrently": "^4.0.1",
|
2019-01-17 03:35:36 +01:00
|
|
|
"core-js": "^2.6.2",
|
2018-08-04 00:41:08 +02:00
|
|
|
"cross-env": "^5.2.0",
|
2019-02-25 05:21:24 +00:00
|
|
|
"danger": "^7.0.14",
|
2019-02-07 05:28:30 +00:00
|
|
|
"enzyme-adapter-react-16": "^1.9.1",
|
2018-10-10 22:23:35 +02:00
|
|
|
"enzyme": "^3.7.0",
|
2018-08-05 15:17:13 +02:00
|
|
|
"eslint-config-airbnb": "^17.0.0",
|
2019-02-11 05:22:54 +00:00
|
|
|
"eslint-config-prettier": "^4.0.0",
|
2019-02-05 05:31:01 +00:00
|
|
|
"eslint-plugin-import": "^2.16.0",
|
2019-02-07 05:25:57 +00:00
|
|
|
"eslint-plugin-jest": "^22.2.2",
|
2019-02-22 16:13:19 +00:00
|
|
|
"eslint-plugin-json": "^1.4.0",
|
2019-02-21 05:25:57 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
2019-01-03 13:00:41 +01:00
|
|
|
"eslint-plugin-prettier": "^3.0.1",
|
2019-01-21 05:21:18 +00:00
|
|
|
"eslint-plugin-react": "^7.12.4",
|
2018-10-10 22:23:35 +02:00
|
|
|
"eslint-teamcity": "^2.1.0",
|
2019-03-02 20:33:20 +01:00
|
|
|
"eslint": "^5.14.1",
|
2019-02-12 06:02:06 +00:00
|
|
|
"esm": "^3.2.4",
|
2018-08-04 00:41:08 +02:00
|
|
|
"github-release-from-changelog": "^1.3.2",
|
2018-08-27 09:11:56 +02:00
|
|
|
"glob": "^7.1.3",
|
2019-01-03 05:25:06 +00:00
|
|
|
"husky": "^1.3.1",
|
2018-08-27 09:11:56 +02:00
|
|
|
"inquirer": "^6.2.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"jest-cli": "^23.6.0",
|
2019-01-30 05:26:00 +00:00
|
|
|
"jest-config": "^24.0.0",
|
2019-01-31 05:24:41 +00:00
|
|
|
"jest-diff": "^24.0.0",
|
2019-02-06 05:29:00 +00:00
|
|
|
"jest-emotion": "^10.0.7",
|
2019-01-29 14:14:55 +00:00
|
|
|
"jest-environment-jsdom": "^24.0.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"jest-enzyme": "^7.0.0",
|
2018-10-19 06:09:23 +00:00
|
|
|
"jest-image-snapshot": "^2.6.0",
|
2019-02-14 15:24:56 +00:00
|
|
|
"jest-jasmine2": "^24.1.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"jest-preset-angular": "^6.0.1",
|
2018-08-28 08:03:50 +02:00
|
|
|
"jest-raw-loader": "^1.0.1",
|
2018-04-13 20:41:57 +02:00
|
|
|
"jest-teamcity-reporter": "^0.9.0",
|
2018-03-15 17:53:02 +00:00
|
|
|
"jest-vue-preprocessor": "^1.4.0",
|
2019-03-02 20:33:20 +01:00
|
|
|
"jest": "^23.6.0",
|
2019-01-24 05:27:30 +00:00
|
|
|
"lerna": "^3.10.7",
|
2019-02-19 03:33:00 +00:00
|
|
|
"lint-staged": "^8.1.4",
|
2018-10-10 22:23:35 +02:00
|
|
|
"lodash": "^4.17.11",
|
2017-07-19 23:26:21 +02:00
|
|
|
"npmlog": "^4.1.2",
|
2019-02-05 20:44:00 +00:00
|
|
|
"prettier": "^1.16.4",
|
2017-10-02 16:22:58 +00:00
|
|
|
"raf": "^3.4.0",
|
2019-02-08 10:05:25 +01:00
|
|
|
"react-dom": "^16.8.1",
|
|
|
|
"react-test-renderer": "^16.8.1",
|
2019-03-02 20:33:20 +01:00
|
|
|
"react": "^16.8.2",
|
2018-12-04 16:27:02 +01:00
|
|
|
"regenerator-runtime": "^0.12.1",
|
2018-10-25 14:35:32 +00:00
|
|
|
"remark-cli": "^6.0.0",
|
2018-10-25 14:31:43 +00:00
|
|
|
"remark-lint": "^6.0.3",
|
2018-06-04 23:17:26 +00:00
|
|
|
"remark-preset-lint-recommended": "^3.0.2",
|
2018-08-31 16:38:27 +02:00
|
|
|
"riot-jest-transformer": "^1.0.10",
|
2018-05-14 16:47:18 +00:00
|
|
|
"shelljs": "^0.8.2",
|
2018-06-17 20:28:31 +02:00
|
|
|
"svelte-jest": "^0.2.0",
|
2018-12-16 12:12:26 +02:00
|
|
|
"ts-jest": "^23.10.5",
|
2018-08-27 09:11:56 +02:00
|
|
|
"tslint-config-prettier": "^1.15.0",
|
2018-10-29 14:52:36 +00:00
|
|
|
"tslint-plugin-prettier": "^2.0.1",
|
2019-03-02 20:33:20 +01:00
|
|
|
"tslint": "~5.12.1",
|
2019-02-05 05:30:23 +00:00
|
|
|
"typescript": "^3.3.1"
|
2017-03-29 23:04:33 +02:00
|
|
|
},
|
2018-11-09 09:58:06 +01:00
|
|
|
"husky": {
|
2018-11-09 22:53:17 +01:00
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "yarn lint-staged"
|
|
|
|
}
|
2018-11-09 09:58:06 +01:00
|
|
|
},
|
2018-06-28 13:57:13 +02:00
|
|
|
"resolutions": {
|
|
|
|
"graphql": "^0.13.2"
|
|
|
|
},
|
2017-06-06 17:45:57 +02:00
|
|
|
"engines": {
|
2018-11-11 14:45:30 +01:00
|
|
|
"node": ">=8.6.0",
|
2018-01-03 22:14:25 -06:00
|
|
|
"yarn": ">=1.3.2"
|
2017-06-06 17:45:57 +02:00
|
|
|
},
|
2018-08-15 23:16:19 +02:00
|
|
|
"browserslist": "defaults",
|
2017-05-18 13:19:37 -07:00
|
|
|
"collective": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/storybook"
|
2017-05-27 17:16:09 +10:00
|
|
|
},
|
2018-08-15 23:16:19 +02:00
|
|
|
"eslint-teamcity": {
|
|
|
|
"reporter": "inspections"
|
|
|
|
},
|
2017-06-01 08:11:38 +02:00
|
|
|
"lint-staged": {
|
2017-08-19 22:31:59 +02:00
|
|
|
"linters": {
|
|
|
|
"*.js": [
|
2017-09-07 01:58:49 +03:00
|
|
|
"yarn lint:js --fix",
|
2017-08-19 22:31:59 +02:00
|
|
|
"git add"
|
|
|
|
],
|
2018-01-08 13:08:02 +02:00
|
|
|
"*.ts": [
|
|
|
|
"yarn lint:ts --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
2017-08-19 22:31:59 +02:00
|
|
|
"*.json": [
|
2017-09-07 01:58:49 +03:00
|
|
|
"yarn lint:js --fix",
|
2017-08-19 22:31:59 +02:00
|
|
|
"git add"
|
|
|
|
]
|
2017-12-03 15:32:52 +03:00
|
|
|
}
|
2017-06-01 08:11:38 +02:00
|
|
|
},
|
2017-05-27 17:16:09 +10:00
|
|
|
"pr-log": {
|
2017-05-28 00:51:18 +10:00
|
|
|
"skipLabels": [
|
2018-11-25 02:29:16 +09:00
|
|
|
"cleanup",
|
|
|
|
"doc-dependencies:update"
|
2017-05-28 00:51:18 +10:00
|
|
|
],
|
2018-11-15 21:16:35 +08:00
|
|
|
"validLabels": [
|
|
|
|
[
|
|
|
|
"BREAKING CHANGE",
|
|
|
|
"Breaking Changes"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"feature request",
|
|
|
|
"Features"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"bug",
|
|
|
|
"Bug Fixes"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"documentation",
|
|
|
|
"Documentation"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"maintenance",
|
|
|
|
"Maintenance"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"dependencies:update",
|
|
|
|
"Dependency Upgrades"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"dependencies",
|
|
|
|
"Dependency Upgrades"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"other",
|
|
|
|
"Other"
|
|
|
|
]
|
|
|
|
]
|
2018-08-15 23:16:19 +02:00
|
|
|
}
|
2017-09-12 18:01:59 +02:00
|
|
|
}
|