mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
242 lines
7.5 KiB
JSON
242 lines
7.5 KiB
JSON
{
|
|
"name": "@storybook/root",
|
|
"version": "5.1.0-alpha.33",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/storybooks/storybook.git"
|
|
},
|
|
"workspaces": [
|
|
"addons/*",
|
|
"addons/storyshots/*",
|
|
"app/*",
|
|
"lib/*",
|
|
"examples/*",
|
|
"examples-native/*",
|
|
"lib/cli/test/run/*"
|
|
],
|
|
"scripts": {
|
|
"bootstrap": "node ./scripts/bootstrap.js",
|
|
"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:tsc\" \"yarn dev:babel\"",
|
|
"dev:babel": "lerna exec --scope @storybook/* --parallel -- cross-env-shell node \\$LERNA_ROOT_PATH/scripts/watch-babel.js",
|
|
"dev:check-types": "tsc --noEmit",
|
|
"dev:js": "echo 'DEPRECATED: Please use yarn dev:babel' && yarn dev:babel",
|
|
"dev:ts": "echo 'DEPRECATED: Please use yarn dev:tsc' && yarn dev:tsc",
|
|
"dev:tsc": "lerna exec --scope @storybook/* --parallel -- cross-env-shell node \\$LERNA_ROOT_PATH/scripts/watch-tsc.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 **/*.tsx && 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:package": "sort-package-json",
|
|
"lint:ts": "tslint -p . -c tslint.json -t stylish",
|
|
"publish:crna": "yarn --cwd examples-native/crna-kitchen-sink expo publish",
|
|
"publish:debug": "npm run publish:latest -- --npm-tag=debug --no-push",
|
|
"publish:latest": "lerna publish --exact --concurrency 1 --force-publish",
|
|
"publish:next": "npm run publish:latest -- --npm-tag=next",
|
|
"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"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"*.js": [
|
|
"yarn lint:js --fix",
|
|
"git add"
|
|
],
|
|
"*.ts": [
|
|
"yarn lint:ts --fix",
|
|
"git add"
|
|
],
|
|
"*.json": [
|
|
"yarn lint:js --fix",
|
|
"git add"
|
|
],
|
|
"package.json": [
|
|
"yarn lint:package",
|
|
"git add"
|
|
]
|
|
}
|
|
},
|
|
"browserslist": "defaults",
|
|
"dependencies": {
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
"babel-plugin-add-react-displayname": "^0.0.5",
|
|
"common-tags": "^1.8.0",
|
|
"detect-port": "^1.3.0",
|
|
"eslint-plugin-html": "^5.0.3",
|
|
"jest-matcher-utils": "^24.7.0",
|
|
"node-cleanup": "^2.1.2",
|
|
"react-testing-library": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/common": "^7.2.6",
|
|
"@angular/compiler": "^7.2.6",
|
|
"@angular/core": "^7.2.6",
|
|
"@angular/forms": "^7.2.6",
|
|
"@angular/platform-browser": "^7.2.6",
|
|
"@angular/platform-browser-dynamic": "^7.2.6",
|
|
"@babel/cli": "^7.2.3",
|
|
"@babel/core": "^7.3.4",
|
|
"@babel/plugin-proposal-class-properties": "^7.3.3",
|
|
"@babel/plugin-proposal-decorators": "^7.3.0",
|
|
"@babel/plugin-proposal-export-default-from": "^7.2.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^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",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@emotion/snapshot-serializer": "^0.8.2",
|
|
"@types/common-tags": "^1.8.0",
|
|
"@types/jest": "^24.0.11",
|
|
"@types/lodash": "^4.14.123",
|
|
"@types/node": "~11.13.4",
|
|
"@types/react": "^16.8.4",
|
|
"@types/webpack": "^4.4.25",
|
|
"@types/webpack-env": "^1.13.7",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-jest": "^24.7.1",
|
|
"babel-loader": "^8.0.5",
|
|
"babel-plugin-add-react-displayname": "^0.0.5",
|
|
"babel-plugin-dynamic-import-node": "^2.2.0",
|
|
"babel-plugin-emotion": "^10.0.9",
|
|
"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": "^5.0.0",
|
|
"commander": "^2.19.0",
|
|
"concurrently": "^4.0.1",
|
|
"core-js": "^2.6.5",
|
|
"cross-env": "^5.2.0",
|
|
"danger": "^7.0.15",
|
|
"enzyme": "^3.9.0",
|
|
"enzyme-adapter-react-16": "^1.9.1",
|
|
"eslint": "^5.14.1",
|
|
"eslint-config-airbnb": "^17.0.0",
|
|
"eslint-config-prettier": "^4.0.0",
|
|
"eslint-plugin-import": "^2.16.0",
|
|
"eslint-plugin-jest": "^22.4.1",
|
|
"eslint-plugin-json": "^1.4.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
"eslint-plugin-prettier": "^3.0.1",
|
|
"eslint-plugin-react": "^7.12.4",
|
|
"eslint-teamcity": "^2.1.0",
|
|
"esm": "^3.2.6",
|
|
"github-release-from-changelog": "^1.3.2",
|
|
"glob": "^7.1.3",
|
|
"husky": "^1.3.1",
|
|
"inquirer": "^6.2.0",
|
|
"jest": "^24.7.1",
|
|
"jest-cli": "^24.7.1",
|
|
"jest-config": "^24.0.0",
|
|
"jest-diff": "^24.7.0",
|
|
"jest-emotion": "^10.0.10",
|
|
"jest-environment-jsdom": "^24.7.1",
|
|
"jest-environment-jsdom-thirteen": "^1.0.1",
|
|
"jest-enzyme": "^7.0.2",
|
|
"jest-image-snapshot": "^2.8.1",
|
|
"jest-jasmine2": "^24.7.1",
|
|
"jest-preset-angular": "^6.0.1",
|
|
"jest-raw-loader": "^1.0.1",
|
|
"jest-teamcity-reporter": "^0.9.0",
|
|
"jest-vue-preprocessor": "^1.5.0",
|
|
"jest-watch-typeahead": "^0.3.0",
|
|
"lerna": "^3.13.3",
|
|
"lint-staged": "^8.1.4",
|
|
"lodash": "^4.17.11",
|
|
"node-fetch": "^2.3.0",
|
|
"npmlog": "^4.1.2",
|
|
"prettier": "^1.16.4",
|
|
"raf": "^3.4.0",
|
|
"react": "^16.8.4",
|
|
"react-dom": "^16.8.4",
|
|
"react-test-renderer": "^16.8.4",
|
|
"regenerator-runtime": "^0.12.1",
|
|
"remark-cli": "^6.0.1",
|
|
"remark-lint": "^6.0.4",
|
|
"remark-preset-lint-recommended": "^3.0.2",
|
|
"riot-jest-transformer": "^1.0.10",
|
|
"shelljs": "^0.8.3",
|
|
"sort-package-json": "^1.21.0",
|
|
"svelte-jest": "^0.2.0",
|
|
"ts-jest": "^23.10.5",
|
|
"tslint": "~5.14.0",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"tslint-plugin-prettier": "^2.0.1",
|
|
"typescript": "^3.4.1",
|
|
"weak": "^1.0.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.6.0",
|
|
"yarn": ">=1.3.2"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/storybook"
|
|
},
|
|
"eslint-teamcity": {
|
|
"reporter": "inspections"
|
|
},
|
|
"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"
|
|
]
|
|
]
|
|
}
|
|
}
|