2017-03-29 21:41:55 +02:00
|
|
|
{
|
2017-12-21 08:37:53 +01:00
|
|
|
"name": "@storybook/root",
|
2017-07-16 13:37:30 +02:00
|
|
|
"version": "3.0.0",
|
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
|
|
|
},
|
2017-06-01 08:11:38 +02:00
|
|
|
"scripts": {
|
2017-10-24 13:31:13 -05:00
|
|
|
"bootstrap": "node ./scripts/bootstrap.js",
|
2017-12-21 08:37:53 +01:00
|
|
|
"bootstrap:crna-kitchen-sink": "npm --prefix examples/crna-kitchen-sink install",
|
2017-09-07 01:34:10 +03:00
|
|
|
"bootstrap:docs": "yarn install --cwd docs",
|
2017-09-03 07:20:16 +03:00
|
|
|
"bootstrap:react-native-vanilla": "npm --prefix examples/react-native-vanilla install",
|
2018-04-02 09:27:35 +02:00
|
|
|
"bootstrap:react-native-typescript": "npm --prefix examples/react-native-typescript install",
|
2017-06-22 11:43:38 +10:00
|
|
|
"build-packs": "lerna exec --scope '@storybook/*' --parallel -- ../../scripts/build-pack.sh ../../packs",
|
2017-06-01 08:11:38 +02:00
|
|
|
"changelog": "pr-log --sloppy",
|
|
|
|
"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:deploy:ci": "npm --prefix docs run deploy:ci",
|
|
|
|
"docs:deploy:manual": "npm --prefix docs run deploy:manual",
|
|
|
|
"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-01-08 16:55:39 +02:00
|
|
|
"lint:ts": "tslint -p . -c tslint.json -t stylish",
|
2018-02-17 19:55:30 +03:00
|
|
|
"lint:md": "remark -q",
|
2018-03-13 19:58:16 +09:00
|
|
|
"publish": "lerna publish --exact",
|
2018-01-07 16:39:12 +03:00
|
|
|
"postpublish": "yarn --cwd lib/cli test -o",
|
2017-12-21 08:37:53 +01:00
|
|
|
"repo-dirty-check": "node ./scripts/repo-dirty-check",
|
2018-01-14 00:40:41 +03:00
|
|
|
"start": "npm --prefix examples/official-storybook run storybook",
|
2017-12-14 11:05:35 +02:00
|
|
|
"test": "node ./scripts/test.js",
|
2017-12-27 09:59:39 +11:00
|
|
|
"test-latest-cra": "npm --prefix lib/cli run test-latest-cra",
|
|
|
|
"chromatic": "npm --prefix examples/official-storybook run chromatic"
|
2017-06-01 08:11:38 +02:00
|
|
|
},
|
2017-03-29 21:41:55 +02:00
|
|
|
"devDependencies": {
|
2018-05-22 21:22:02 +00:00
|
|
|
"@angular/common": "^5.2.11",
|
2018-05-22 21:22:03 +00:00
|
|
|
"@angular/compiler": "^5.2.11",
|
2018-05-22 21:22:04 +00:00
|
|
|
"@angular/core": "^5.2.11",
|
2018-04-16 18:49:11 +00:00
|
|
|
"@angular/forms": "^5.2.10",
|
2018-04-16 18:49:11 +00:00
|
|
|
"@angular/platform-browser": "^5.2.10",
|
2018-04-16 18:49:12 +00:00
|
|
|
"@angular/platform-browser-dynamic": "^5.2.10",
|
2017-09-06 01:54:21 +02:00
|
|
|
"babel-cli": "^6.26.0",
|
2018-04-30 20:35:00 +00:00
|
|
|
"babel-core": "^6.26.3",
|
2018-04-16 18:49:13 +00:00
|
|
|
"babel-eslint": "^8.2.3",
|
2018-05-14 22:20:46 +02:00
|
|
|
"babel-plugin-emotion": "^9.1.2",
|
2018-05-14 16:47:13 +00:00
|
|
|
"babel-plugin-macros": "^2.2.1",
|
2017-04-27 23:41:50 +02:00
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
2018-05-14 16:47:14 +00:00
|
|
|
"babel-preset-env": "^1.7.0",
|
2017-05-09 22:29:57 +02:00
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
|
"babel-preset-stage-0": "^6.24.1",
|
2018-04-30 20:35:01 +00:00
|
|
|
"chalk": "^2.4.1",
|
2018-05-14 16:47:15 +00:00
|
|
|
"codecov": "^3.0.2",
|
2018-04-23 16:42:13 +00:00
|
|
|
"codelyzer": "^4.3.0",
|
2018-03-20 18:40:40 +00:00
|
|
|
"commander": "^2.15.1",
|
2018-01-27 14:07:09 +02:00
|
|
|
"concurrently": "^3.5.1",
|
2018-05-14 22:20:46 +02:00
|
|
|
"emotion": "^9.1.3",
|
2018-05-14 16:47:16 +00:00
|
|
|
"cross-env": "^5.1.5",
|
2018-05-14 16:47:17 +00:00
|
|
|
"danger": "^3.6.6",
|
2017-12-29 16:28:43 +00:00
|
|
|
"enzyme": "^3.3.0",
|
2017-12-19 16:24:17 +00:00
|
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
2018-03-23 00:15:58 +00:00
|
|
|
"eslint": "^4.19.1",
|
2017-11-02 04:40:48 +03:00
|
|
|
"eslint-config-airbnb": "^16.1.0",
|
2017-11-26 16:31:19 +00:00
|
|
|
"eslint-config-prettier": "^2.9.0",
|
2018-04-16 18:49:15 +00:00
|
|
|
"eslint-plugin-import": "^2.11.0",
|
2018-04-23 16:42:14 +00:00
|
|
|
"eslint-plugin-jest": "^21.15.1",
|
2017-06-06 17:40:40 +02:00
|
|
|
"eslint-plugin-json": "^1.2.0",
|
2017-12-13 16:24:45 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
2018-02-02 16:34:01 +00:00
|
|
|
"eslint-plugin-prettier": "^2.6.0",
|
2018-05-14 16:47:18 +00:00
|
|
|
"eslint-plugin-react": "^7.8.2",
|
2018-04-13 20:41:57 +02:00
|
|
|
"eslint-teamcity": "^2.0.0",
|
2018-01-22 20:38:49 +00:00
|
|
|
"github-release-from-changelog": "^1.3.1",
|
2017-07-16 13:37:30 +02:00
|
|
|
"glob": "^7.1.2",
|
2017-07-05 10:56:18 +00:00
|
|
|
"husky": "^0.14.3",
|
2018-03-26 17:53:58 +00:00
|
|
|
"inquirer": "^5.2.0",
|
2018-03-21 16:37:48 +00:00
|
|
|
"jest": "^22.4.3",
|
2018-03-21 16:37:49 +00:00
|
|
|
"jest-cli": "^22.4.3",
|
2018-03-21 16:37:50 +00:00
|
|
|
"jest-config": "^22.4.3",
|
2018-03-21 16:37:50 +00:00
|
|
|
"jest-diff": "^22.4.3",
|
2018-05-14 22:20:46 +02:00
|
|
|
"jest-emotion": "^9.1.3",
|
2018-03-21 16:37:51 +00:00
|
|
|
"jest-environment-jsdom": "^22.4.3",
|
2018-03-28 03:46:06 +03:00
|
|
|
"jest-enzyme": "^6.0.0",
|
2018-05-11 17:39:29 +02:00
|
|
|
"jest-glamor-react": "^4.3.0",
|
2018-04-30 20:35:04 +00:00
|
|
|
"jest-image-snapshot": "^2.4.1",
|
2018-03-21 16:37:52 +00:00
|
|
|
"jest-jasmine2": "^22.4.3",
|
2018-04-30 20:35:05 +00:00
|
|
|
"jest-preset-angular": "^5.2.2",
|
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-04-30 20:35:06 +00:00
|
|
|
"lerna": "2.11.0",
|
2018-05-07 18:12:05 +00:00
|
|
|
"lint-staged": "^7.1.0",
|
2018-04-30 20:35:07 +00:00
|
|
|
"lodash": "^4.17.10",
|
2017-07-19 23:26:21 +02:00
|
|
|
"npmlog": "^4.1.2",
|
2018-03-11 16:42:35 +00:00
|
|
|
"polymer-webpack-loader": "^2.0.2",
|
2018-04-17 21:07:54 +00:00
|
|
|
"prettier": "^1.12.1",
|
2017-10-02 16:22:58 +00:00
|
|
|
"raf": "^3.4.0",
|
2018-04-16 18:49:17 +00:00
|
|
|
"react": "^16.3.2",
|
2018-04-16 18:49:18 +00:00
|
|
|
"react-dom": "^16.3.2",
|
2018-04-16 18:49:19 +00:00
|
|
|
"react-test-renderer": "^16.3.2",
|
2018-01-27 21:24:50 +03:00
|
|
|
"remark-cli": "^5.0.0",
|
2017-09-06 01:54:21 +02:00
|
|
|
"remark-lint": "^6.0.1",
|
|
|
|
"remark-preset-lint-recommended": "^3.0.1",
|
2018-05-14 16:47:18 +00:00
|
|
|
"shelljs": "^0.8.2",
|
2018-05-07 18:12:06 +00:00
|
|
|
"tslint": "~5.10.0",
|
2018-04-23 16:42:15 +00:00
|
|
|
"tslint-config-prettier": "^1.12.0",
|
2018-01-29 18:45:05 +02:00
|
|
|
"tslint-plugin-prettier": "^1.3.0",
|
2018-04-23 16:42:16 +00:00
|
|
|
"typescript": "^2.8.3"
|
2017-03-29 23:04:33 +02:00
|
|
|
},
|
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
|
|
|
},
|
2017-12-21 08:37:53 +01:00
|
|
|
"private": true,
|
2017-05-18 13:19:37 -07:00
|
|
|
"collective": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/storybook"
|
2017-05-27 17:16:09 +10:00
|
|
|
},
|
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
|
|
|
}
|
2017-12-21 08:37:53 +01:00
|
|
|
},
|
2018-04-13 20:41:57 +02:00
|
|
|
"eslint-teamcity": {
|
|
|
|
"reporter": "inspections"
|
|
|
|
},
|
2017-12-21 08:37:53 +01:00
|
|
|
"workspaces": [
|
|
|
|
"addons/*",
|
|
|
|
"app/*",
|
|
|
|
"lib/*",
|
2018-04-07 15:06:10 -07:00
|
|
|
"examples/marko-cli",
|
2017-12-21 10:38:04 +01:00
|
|
|
"examples/angular-cli",
|
2017-12-21 08:37:53 +01:00
|
|
|
"examples/cra-kitchen-sink",
|
2018-04-22 20:02:31 +03:00
|
|
|
"examples/html-kitchen-sink",
|
2018-03-21 13:13:24 +09:00
|
|
|
"examples/mithril-kitchen-sink",
|
2017-12-21 11:40:52 +01:00
|
|
|
"examples/polymer-cli",
|
2017-12-21 10:38:04 +01:00
|
|
|
"examples/vue-kitchen-sink",
|
2017-12-22 09:08:10 +11:00
|
|
|
"examples/official-storybook",
|
2017-12-21 10:38:04 +01:00
|
|
|
"lib/cli/test/run/*"
|
2017-12-21 08:37:53 +01:00
|
|
|
]
|
2017-09-12 18:01:59 +02:00
|
|
|
}
|