mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
135 lines
4.2 KiB
JSON
135 lines
4.2 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",
|
|
"build-packs": "lerna exec --scope '@storybook/*' --parallel -- ../../scripts/build-pack.sh ../../packs",
|
|
"changelog": "pr-log --sloppy",
|
|
"precommit": "lint-staged",
|
|
"coverage": "codecov",
|
|
"danger": "danger",
|
|
"dev":
|
|
"lerna exec --parallel -- babel src -d dist --copy-files --ignore __mocks__/,tests/*,__tests__/,**.test.js,stories/,**.story.js,**.stories.js,__snapshots__ --plugins \"transform-runtime\" -w",
|
|
"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:md .",
|
|
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json",
|
|
"lint:md": "remark",
|
|
"publish": "lerna publish",
|
|
"repo-dirty-check": "node ./scripts/repo-dirty-check",
|
|
"start": "npm --prefix examples/cra-kitchen-sink run storybook",
|
|
"test": "node ./scripts/test.js",
|
|
"test-latest-cra": "npm --prefix lib/cli run test-latest-cra"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^8.0.3",
|
|
"babel-plugin-transform-md-import-to-string": "^1.0.6",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"chalk": "^2.3.0",
|
|
"codecov": "^3.0.0",
|
|
"commander": "^2.12.2",
|
|
"cross-env": "^5.1.1",
|
|
"danger": "^2.1.6",
|
|
"enzyme": "^3.2.0",
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
|
"eslint": "^4.13.1",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"eslint-plugin-import": "^2.8.0",
|
|
"eslint-plugin-jest": "^21.5.0",
|
|
"eslint-plugin-json": "^1.2.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-prettier": "^2.4.0",
|
|
"eslint-plugin-react": "^7.5.1",
|
|
"gh-pages": "^1.1.0",
|
|
"github-release-from-changelog": "^1.3.0",
|
|
"glob": "^7.1.2",
|
|
"husky": "^0.14.3",
|
|
"inquirer": "^4.0.1",
|
|
"jest": "^21.2.0",
|
|
"jest-cli": "^21.2.1",
|
|
"jest-enzyme": "^4.0.1",
|
|
"jest-image-snapshot": "^2.2.1",
|
|
"lerna": "^2.5.1",
|
|
"lint-staged": "^6.0.0",
|
|
"lodash": "^4.17.4",
|
|
"nodemon": "^1.13.3",
|
|
"npmlog": "^4.1.2",
|
|
"prettier": "^1.9.2",
|
|
"puppeteer": "^0.13.0",
|
|
"raf": "^3.4.0",
|
|
"react": "^16.2.0",
|
|
"react-dom": "^16.2.0",
|
|
"react-test-renderer": "^16.2.0",
|
|
"remark-cli": "^4.0.0",
|
|
"remark-lint": "^6.0.1",
|
|
"remark-lint-code": "^2.0.0",
|
|
"remark-lint-code-eslint": "^2.0.0",
|
|
"remark-preset-lint-recommended": "^3.0.1",
|
|
"shelljs": "^0.7.8",
|
|
"symlink-dir": "^1.1.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0",
|
|
"yarn": ">=1.0.0"
|
|
},
|
|
"private": true,
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/storybook"
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"*.js": [
|
|
"yarn lint:js --fix",
|
|
"git add"
|
|
],
|
|
"*.json": [
|
|
"yarn lint:js --fix",
|
|
"git add"
|
|
]
|
|
}
|
|
},
|
|
"pr-log": {
|
|
"skipLabels": [
|
|
"cleanup"
|
|
],
|
|
"validLabels": {
|
|
"breaking": "Breaking Changes",
|
|
"feature": "Features",
|
|
"bug": "Bug Fixes",
|
|
"documentation": "Documentation",
|
|
"maintenance": "Maintenance",
|
|
"dependencies:update": "Dependency Upgrades",
|
|
"dependencies": "Dependency Upgrades",
|
|
"other": "Other"
|
|
}
|
|
},
|
|
"workspaces": [
|
|
"addons/*",
|
|
"app/*",
|
|
"lib/*",
|
|
"examples/angular-cli",
|
|
"examples/cra-kitchen-sink",
|
|
"examples/vue-kitchen-sink",
|
|
"examples/official-storybook",
|
|
"lib/cli/test/run/*"
|
|
]
|
|
}
|