mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
170 lines
5.6 KiB
JSON
170 lines
5.6 KiB
JSON
{
|
|
"name": "@storybook/root",
|
|
"version": "3.0.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/storybooks/storybook.git"
|
|
},
|
|
"scripts": {
|
|
"bootstrap": "node ./scripts/bootstrap.js",
|
|
"bootstrap:crna-kitchen-sink": "npm --prefix examples/crna-kitchen-sink install",
|
|
"bootstrap:docs": "yarn install --cwd docs",
|
|
"bootstrap:react-native-vanilla": "npm --prefix examples/react-native-vanilla install",
|
|
"bootstrap:react-native-typescript": "npm --prefix examples/react-native-typescript install",
|
|
"build-packs": "lerna exec --scope '@storybook/*' --parallel -- ../../scripts/build-pack.sh ../../packs",
|
|
"changelog": "pr-log --sloppy",
|
|
"precommit": "lint-staged",
|
|
"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:deploy:ci": "npm --prefix docs run deploy:ci",
|
|
"docs:deploy:manual": "npm --prefix docs run deploy:manual",
|
|
"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 --report-unused-disable-directives",
|
|
"lint:ts": "tslint -p . -c tslint.json -t stylish",
|
|
"lint:md": "remark -q",
|
|
"publish": "lerna publish --exact",
|
|
"postpublish": "yarn --cwd lib/cli test -o",
|
|
"repo-dirty-check": "node ./scripts/repo-dirty-check",
|
|
"start": "npm --prefix examples/official-storybook run storybook",
|
|
"test": "node ./scripts/test.js",
|
|
"test-latest-cra": "npm --prefix lib/cli run test-latest-cra",
|
|
"chromatic": "npm --prefix examples/official-storybook run chromatic"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/common": "^5.2.11",
|
|
"@angular/compiler": "^5.2.11",
|
|
"@angular/core": "^5.2.11",
|
|
"@angular/forms": "^5.2.11",
|
|
"@angular/platform-browser": "^5.2.11",
|
|
"@angular/platform-browser-dynamic": "^5.2.11",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.3",
|
|
"babel-plugin-emotion": "^9.1.2",
|
|
"babel-plugin-macros": "^2.2.1",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"chalk": "^2.4.1",
|
|
"codecov": "^3.0.2",
|
|
"codelyzer": "^4.3.0",
|
|
"commander": "^2.15.1",
|
|
"concurrently": "^3.5.1",
|
|
"emotion": "^9.1.3",
|
|
"cross-env": "^5.1.5",
|
|
"danger": "^3.7.14",
|
|
"enzyme": "^3.3.0",
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
|
"eslint": "^4.19.1",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"eslint-plugin-import": "^2.12.0",
|
|
"eslint-plugin-jest": "^21.15.1",
|
|
"eslint-plugin-json": "^1.2.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-prettier": "^2.6.0",
|
|
"eslint-plugin-react": "^7.8.2",
|
|
"eslint-teamcity": "^2.0.0",
|
|
"github-release-from-changelog": "^1.3.1",
|
|
"glob": "^7.1.2",
|
|
"husky": "^0.14.3",
|
|
"inquirer": "^5.2.0",
|
|
"jest": "^22.4.4",
|
|
"jest-cli": "^22.4.4",
|
|
"jest-config": "^22.4.4",
|
|
"jest-diff": "^22.4.3",
|
|
"jest-emotion": "^9.1.3",
|
|
"jest-environment-jsdom": "^22.4.3",
|
|
"jest-enzyme": "^6.0.0",
|
|
"jest-glamor-react": "^4.3.0",
|
|
"jest-image-snapshot": "^2.4.1",
|
|
"jest-jasmine2": "^22.4.4",
|
|
"jest-preset-angular": "^5.2.2",
|
|
"jest-teamcity-reporter": "^0.9.0",
|
|
"jest-vue-preprocessor": "^1.4.0",
|
|
"lerna": "2.11.0",
|
|
"lint-staged": "^7.1.2",
|
|
"lodash": "^4.17.10",
|
|
"npmlog": "^4.1.2",
|
|
"polymer-webpack-loader": "^2.0.2",
|
|
"prettier": "^1.12.1",
|
|
"raf": "^3.4.0",
|
|
"react": "^16.3.2",
|
|
"react-dom": "^16.3.2",
|
|
"react-test-renderer": "^16.3.2",
|
|
"remark-cli": "^5.0.0",
|
|
"remark-lint": "^6.0.1",
|
|
"remark-preset-lint-recommended": "^3.0.1",
|
|
"shelljs": "^0.8.2",
|
|
"tslint": "~5.10.0",
|
|
"tslint-config-prettier": "^1.13.0",
|
|
"tslint-plugin-prettier": "^1.3.0",
|
|
"typescript": "^2.8.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0",
|
|
"yarn": ">=1.3.2"
|
|
},
|
|
"private": true,
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/storybook"
|
|
},
|
|
"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"
|
|
],
|
|
"validLabels": {
|
|
"BREAKING CHANGE": "Breaking Changes",
|
|
"feature request": "Features",
|
|
"bug": "Bug Fixes",
|
|
"documentation": "Documentation",
|
|
"maintenance": "Maintenance",
|
|
"dependencies:update": "Dependency Upgrades",
|
|
"dependencies": "Dependency Upgrades",
|
|
"other": "Other"
|
|
}
|
|
},
|
|
"eslint-teamcity": {
|
|
"reporter": "inspections"
|
|
},
|
|
"workspaces": [
|
|
"addons/*",
|
|
"app/*",
|
|
"lib/*",
|
|
"examples/marko-cli",
|
|
"examples/angular-cli",
|
|
"examples/cra-kitchen-sink",
|
|
"examples/html-kitchen-sink",
|
|
"examples/mithril-kitchen-sink",
|
|
"examples/polymer-cli",
|
|
"examples/vue-kitchen-sink",
|
|
"examples/official-storybook",
|
|
"lib/cli/test/run/*"
|
|
]
|
|
}
|