mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
115 lines
3.6 KiB
JSON
115 lines
3.6 KiB
JSON
{
|
|
"name": "storybook",
|
|
"version": "3.0.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/storybooks/storybook.git"
|
|
},
|
|
"scripts": {
|
|
"bootstrap": "lerna bootstrap --concurrency 1 --npm-client=\"yarn\" --hoist && node ./scripts/hoist-internals.js",
|
|
"bootstrap:docs": "cd docs && yarn install",
|
|
"bootstrap:react-native-vanilla": "lerna exec --scope react-native-vanilla -- yarn install",
|
|
"bootstrap:crna-kitchen-sink": "lerna exec --scope crna-kitchen-sink -- yarn install",
|
|
"bootstrap:test-cra": "npm run build-packs && lerna exec --scope test-cra -- yarn 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 --ignore tests,__tests__,test.js,stories/,story.jsx --plugins \"transform-runtime\" --copy-files -w",
|
|
"docs:build": "cd docs && npm run build",
|
|
"docs:deploy:ci": "cd docs && npm run deploy:ci",
|
|
"docs:deploy:manual": "cd docs && npm run deploy:manual",
|
|
"docs:dev": "cd docs && npm run dev",
|
|
"github-release": "github-release-from-changelog",
|
|
"import-repo": "lerna import",
|
|
"lint": "npm run lint:js && npm run lint:md",
|
|
"lint:js": "eslint . --cache --cache-location=.cache/eslint --ext .js,.jsx,.json",
|
|
"lint:md": "remark .",
|
|
"publish": "lerna publish",
|
|
"test": "jest --projects ./ ./examples/react-native-vanilla"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.24.1",
|
|
"babel-core": "^6.25.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-plugin-transform-md-import-to-string": "^1.0.6",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-polyfill": "^6.23.0",
|
|
"babel-preset-env": "^1.6.0",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"chalk": "^2.0.1",
|
|
"codecov": "^2.2.0",
|
|
"danger": "^1.0.0",
|
|
"enzyme": "^2.9.1",
|
|
"eslint": "^4.3.0",
|
|
"eslint-config-airbnb": "^15.1.0",
|
|
"eslint-config-prettier": "^2.3.0",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-jest": "^20.0.3",
|
|
"eslint-plugin-json": "^1.2.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.2",
|
|
"eslint-plugin-prettier": "^2.1.2",
|
|
"eslint-plugin-react": "^7.1.0",
|
|
"fs-extra": "^4.0.0",
|
|
"gh-pages": "^1.0.0",
|
|
"github-release-from-changelog": "^1.2.1",
|
|
"glob": "^7.1.2",
|
|
"husky": "^0.14.3",
|
|
"jest": "^20.0.4",
|
|
"jest-enzyme": "^3.6.1",
|
|
"lerna": "2.0.0",
|
|
"lint-staged": "^4.0.2",
|
|
"nodemon": "^1.11.0",
|
|
"npmlog": "^4.1.2",
|
|
"prettier": "^1.5.3",
|
|
"react": "^15.6.1",
|
|
"react-dom": "^15.6.1",
|
|
"react-test-renderer": "^15.6.1",
|
|
"remark-cli": "^4.0.0",
|
|
"remark-lint": "^6.0.0",
|
|
"remark-lint-code": "^2.0.0",
|
|
"remark-lint-code-eslint": "^2.0.0",
|
|
"remark-preset-lint-recommended": "^3.0.0",
|
|
"remark-toc": "^4.0.1",
|
|
"shelljs": "^0.7.8",
|
|
"symlink-dir": "^1.1.0"
|
|
},
|
|
"engines": {
|
|
"node": "node"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/storybook"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"npm run lint:js -- --fix",
|
|
"git add"
|
|
],
|
|
"*.json": [
|
|
"npm run lint:js -- --fix",
|
|
"git add"
|
|
],
|
|
"*.md": [
|
|
"npm run lint:md -- -o",
|
|
"git add"
|
|
]
|
|
},
|
|
"pr-log": {
|
|
"skipLabels": [
|
|
"cleanup"
|
|
],
|
|
"validLabels": {
|
|
"breaking": "Breaking Changes",
|
|
"feature": "Features",
|
|
"bug": "Bug Fixes",
|
|
"documentation": "Documentation",
|
|
"maintenance": "Maintenance",
|
|
"greenkeeper": "Dependency Upgrades",
|
|
"other": "Other"
|
|
}
|
|
}
|
|
}
|