2017-03-29 21:41:55 +02:00
|
|
|
{
|
2017-12-21 08:37:53 +01:00
|
|
|
"name": "@storybook/root",
|
2018-11-08 14:57:54 +01:00
|
|
|
"version": "4.1.0-alpha.1",
|
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-06-10 15:03:30 +03:00
|
|
|
"build-packs": "lerna exec --scope '@storybook/*' --parallel -- \\$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",
|
2017-06-01 08:11:38 +02:00
|
|
|
"changelog": "pr-log --sloppy",
|
2018-08-15 23:16:19 +02:00
|
|
|
"chromatic": "npm --prefix examples/official-storybook run chromatic",
|
2017-06-01 08:11:38 +02:00
|
|
|
"precommit": "lint-staged",
|
|
|
|
"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-02-17 19:59:01 +03:00
|
|
|
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json --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",
|
2018-08-24 16:21:20 +02:00
|
|
|
"publish": "lerna publish --exact --concurrency 1 --force-publish",
|
2018-11-05 23:26:14 +08:00
|
|
|
"publish:next": "npm run publish -- --npm-tag=next",
|
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-10-31 23:40:43 +01:00
|
|
|
"test-latest-cra": "yarn --cwd lib/cli run test-latest-cra"
|
2017-06-01 08:11:38 +02:00
|
|
|
},
|
2017-03-29 21:41:55 +02:00
|
|
|
"devDependencies": {
|
2018-10-26 06:38:31 +00:00
|
|
|
"@angular/common": "^7.0.1",
|
2018-11-05 18:05:23 +00:00
|
|
|
"@angular/compiler": "^7.0.2",
|
2018-11-02 21:02:26 +00:00
|
|
|
"@angular/core": "^7.0.2",
|
2018-10-25 12:26:53 +00:00
|
|
|
"@angular/forms": "^7.0.1",
|
2018-10-26 06:36:49 +00:00
|
|
|
"@angular/platform-browser": "^7.0.1",
|
2018-10-25 15:54:10 +00:00
|
|
|
"@angular/platform-browser-dynamic": "^7.0.1",
|
2018-10-10 22:23:35 +02:00
|
|
|
"@babel/cli": "^7.1.2",
|
|
|
|
"@babel/core": "^7.1.2",
|
2018-09-18 12:41:17 +03:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
2018-08-31 15:28:13 +02:00
|
|
|
"@babel/plugin-proposal-export-default-from": "^7.0.0",
|
2018-09-18 12:41:17 +03:00
|
|
|
"@babel/plugin-transform-runtime": "^7.1.0",
|
|
|
|
"@babel/preset-env": "^7.1.0",
|
2018-08-31 15:28:13 +02:00
|
|
|
"@babel/preset-flow": "^7.0.0",
|
|
|
|
"@babel/preset-react": "^7.0.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"@babel/runtime": "^7.1.2",
|
|
|
|
"@emotion/snapshot-serializer": "0.8.2",
|
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",
|
|
|
|
"babel-plugin-emotion": "^9.2.11",
|
|
|
|
"babel-plugin-macros": "^2.4.2",
|
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",
|
2018-04-30 20:35:01 +00:00
|
|
|
"chalk": "^2.4.1",
|
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",
|
2018-08-04 00:41:08 +02:00
|
|
|
"cross-env": "^5.2.0",
|
2018-10-24 05:31:40 +00:00
|
|
|
"danger": "^6.0.2",
|
2018-10-10 22:23:35 +02:00
|
|
|
"enzyme": "^3.7.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.6.0",
|
2018-10-29 14:53:20 +00:00
|
|
|
"eslint": "^5.8.0",
|
2018-08-05 15:17:13 +02:00
|
|
|
"eslint-config-airbnb": "^17.0.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"eslint-config-prettier": "^3.1.0",
|
2018-08-04 00:41:08 +02:00
|
|
|
"eslint-plugin-import": "^2.13.0",
|
2018-10-29 14:52:39 +00:00
|
|
|
"eslint-plugin-jest": "^21.26.2",
|
2018-08-04 00:41:08 +02:00
|
|
|
"eslint-plugin-json": "^1.2.1",
|
2018-10-10 22:23:35 +02:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.1.2",
|
|
|
|
"eslint-plugin-prettier": "^3.0.0",
|
2018-08-04 00:41:08 +02:00
|
|
|
"eslint-plugin-react": "^7.10.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"eslint-teamcity": "^2.1.0",
|
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",
|
2018-10-10 22:23:35 +02:00
|
|
|
"husky": "^1.1.1",
|
2018-08-27 09:11:56 +02:00
|
|
|
"inquirer": "^6.2.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"jest": "^23.6.0",
|
|
|
|
"jest-cli": "^23.6.0",
|
|
|
|
"jest-config": "^23.6.0",
|
|
|
|
"jest-diff": "^23.6.0",
|
2018-08-04 15:59:52 +02:00
|
|
|
"jest-environment-jsdom": "^23.4.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"jest-enzyme": "^7.0.0",
|
2018-08-04 00:41:08 +02:00
|
|
|
"jest-glamor-react": "^4.3.1",
|
2018-10-19 06:09:23 +00:00
|
|
|
"jest-image-snapshot": "^2.6.0",
|
2018-10-10 22:23:35 +02:00
|
|
|
"jest-jasmine2": "^23.6.0",
|
|
|
|
"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",
|
2018-10-10 22:23:35 +02:00
|
|
|
"lerna": "^3.4.3",
|
|
|
|
"lint-staged": "^7.3.0",
|
|
|
|
"lodash": "^4.17.11",
|
2017-07-19 23:26:21 +02:00
|
|
|
"npmlog": "^4.1.2",
|
2018-10-10 22:23:35 +02:00
|
|
|
"prettier": "^1.14.3",
|
2017-10-02 16:22:58 +00:00
|
|
|
"raf": "^3.4.0",
|
2018-10-24 05:31:07 +00:00
|
|
|
"react-test-renderer": "^16.6.0",
|
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-08-04 00:41:08 +02:00
|
|
|
"tslint": "~5.11.0",
|
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",
|
2018-11-02 20:59:56 +00:00
|
|
|
"typescript": "^3.1.6"
|
2017-03-29 23:04:33 +02:00
|
|
|
},
|
2018-06-28 13:57:13 +02:00
|
|
|
"resolutions": {
|
|
|
|
"graphql": "^0.13.2"
|
|
|
|
},
|
2017-06-06 17:45:57 +02:00
|
|
|
"engines": {
|
2017-09-08 00:45:15 +02:00
|
|
|
"node": ">=8.0.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": [
|
|
|
|
"cleanup"
|
|
|
|
],
|
2017-05-27 17:16:09 +10:00
|
|
|
"validLabels": {
|
2018-03-18 16:05:57 +03:00
|
|
|
"BREAKING CHANGE": "Breaking Changes",
|
2018-03-17 14:49:51 +03:00
|
|
|
"feature request": "Features",
|
2017-05-27 17:16:09 +10:00
|
|
|
"bug": "Bug Fixes",
|
|
|
|
"documentation": "Documentation",
|
|
|
|
"maintenance": "Maintenance",
|
2017-10-02 21:31:02 +02:00
|
|
|
"dependencies:update": "Dependency Upgrades",
|
2017-10-20 21:18:09 +02:00
|
|
|
"dependencies": "Dependency Upgrades",
|
2017-05-28 01:30:19 +10:00
|
|
|
"other": "Other"
|
2017-05-27 17:16:09 +10:00
|
|
|
}
|
2018-08-15 23:16:19 +02:00
|
|
|
}
|
2017-09-12 18:01:59 +02:00
|
|
|
}
|