mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-16 05:03:11 +08:00
293 lines
8.7 KiB
JSON
293 lines
8.7 KiB
JSON
{
|
|
"name": "@storybook/root",
|
|
"version": "5.3.0-beta.7",
|
|
"private": true,
|
|
"description": "Storybook is an open source tool for developing UI components in isolation for React, Vue and Angular. It makes building stunning UIs organized and efficient.",
|
|
"keywords": [
|
|
"angular",
|
|
"angularjs",
|
|
"babel",
|
|
"components",
|
|
"documentation",
|
|
"frontend",
|
|
"jamstack",
|
|
"markup",
|
|
"rax",
|
|
"react",
|
|
"reactjs",
|
|
"reuseable",
|
|
"storybook",
|
|
"storybookjs",
|
|
"templated",
|
|
"tool",
|
|
"ui",
|
|
"user interface",
|
|
"vue",
|
|
"vuejs"
|
|
],
|
|
"homepage": "https://storybook.js.org/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/storybookjs/storybook.git"
|
|
},
|
|
"workspaces": [
|
|
"addons/*",
|
|
"addons/storyshots/*",
|
|
"app/*",
|
|
"dev-kits/*",
|
|
"examples-native/*",
|
|
"examples/*",
|
|
"lib/*",
|
|
"lib/cli/test/run/*"
|
|
],
|
|
"scripts": {
|
|
"await-serve-storybooks": "wait-on http://localhost:8001",
|
|
"bootstrap": "node ./scripts/bootstrap.js",
|
|
"bootstrap:docs": "yarn install --cwd docs",
|
|
"build": "node ./scripts/build-package.js",
|
|
"build-packs": "lerna exec --scope '@storybook/*' -- \\$LERNA_ROOT_PATH/scripts/build-pack.sh \\$LERNA_ROOT_PATH/packs",
|
|
"build-storybooks": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true node ./scripts/build-storybooks.js",
|
|
"changelog": "pr-log --sloppy --cherry-pick",
|
|
"changelog:next": "pr-log --sloppy --since-prerelease",
|
|
"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:md .",
|
|
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives",
|
|
"lint:md": "remark -q",
|
|
"lint:package": "sort-package-json",
|
|
"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",
|
|
"run-chromatics": "node ./scripts/run-chromatics.js",
|
|
"serve-storybooks": "http-server ./built-storybooks -p 8001",
|
|
"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",
|
|
"test:e2e-gui": "concurrently --success first --kill-others \"cypress open\" \"yarn serve-storybooks\""
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.html": [
|
|
"yarn lint:js --fix"
|
|
],
|
|
"*.js": [
|
|
"yarn lint:js --fix"
|
|
],
|
|
"*.json": [
|
|
"yarn lint:js --fix"
|
|
],
|
|
"*.jsx": [
|
|
"yarn lint:js --fix"
|
|
],
|
|
"*.mjs": [
|
|
"yarn lint:js --fix"
|
|
],
|
|
"*.ts": [
|
|
"yarn lint:js --fix"
|
|
],
|
|
"*.tsx": [
|
|
"yarn lint:js --fix"
|
|
],
|
|
"package.json": [
|
|
"yarn lint:package"
|
|
]
|
|
},
|
|
"browserslist": "defaults",
|
|
"resolutions": {
|
|
"serialize-javascript": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/common": "^9.1.0",
|
|
"@angular/compiler": "^9.1.0",
|
|
"@angular/core": "^9.1.0",
|
|
"@angular/forms": "^9.1.0",
|
|
"@angular/platform-browser": "^9.1.0",
|
|
"@angular/platform-browser-dynamic": "^9.1.0",
|
|
"@babel/cli": "^7.8.4",
|
|
"@babel/core": "^7.9.0",
|
|
"@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-syntax-dynamic-import": "^7.2.0",
|
|
"@babel/plugin-transform-react-constant-elements": "^7.6.3",
|
|
"@babel/preset-env": "^7.8.4",
|
|
"@babel/preset-flow": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@babel/runtime": "^7.8.4",
|
|
"@emotion/snapshot-serializer": "^0.8.2",
|
|
"@storybook/eslint-config-storybook": "^2.3.0",
|
|
"@storybook/linter-config": "^2.4.0",
|
|
"@testing-library/react": "^10.0.1",
|
|
"@types/doctrine": "^0.0.3",
|
|
"@types/enzyme": "^3.10.3",
|
|
"@types/escodegen": "^0.0.6",
|
|
"@types/jest": "^25.1.1",
|
|
"@types/lodash": "^4.14.149",
|
|
"@types/node": "^13.9.5",
|
|
"@types/react": "^16.9.27",
|
|
"@types/semver": "^7.1.0",
|
|
"@types/webpack": "^4.41.9",
|
|
"@types/webpack-env": "^1.15.1",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-jest": "^25.2.4",
|
|
"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.20",
|
|
"babel-plugin-macros": "^2.7.0",
|
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
"babel-preset-vue": "^2.0.2",
|
|
"chalk": "^4.0.0",
|
|
"codecov": "^3.5.0",
|
|
"codelyzer": "^5.0.0",
|
|
"commander": "^5.0.0",
|
|
"concurrently": "^5.1.0",
|
|
"core-js": "^3.0.1",
|
|
"corejs-upgrade-webpack-plugin": "^4.0.1",
|
|
"cross-env": "^7.0.0",
|
|
"danger": "^10.1.1",
|
|
"del": "^5.1.0",
|
|
"detect-port": "^1.3.0",
|
|
"downlevel-dts": "^0.4.0",
|
|
"enzyme": "^3.9.0",
|
|
"enzyme-adapter-react-16": "^1.9.1",
|
|
"eslint": "^6.5.1",
|
|
"eslint-plugin-cypress": "^2.10.1",
|
|
"eslint-plugin-react": "^7.15.1",
|
|
"eslint-teamcity": "^3.0.0",
|
|
"esm": "^3.2.25",
|
|
"fs-extra": "^9.0.0",
|
|
"github-release-from-changelog": "^2.1.0",
|
|
"glob": "^7.1.3",
|
|
"http-server": "^0.12.1",
|
|
"husky": "^4.0.10",
|
|
"inquirer": "^7.0.0",
|
|
"jest": "^25.2.4",
|
|
"jest-cli": "^25.2.4",
|
|
"jest-config": "^25.2.4",
|
|
"jest-diff": "^25.1.0",
|
|
"jest-emotion": "^10.0.17",
|
|
"jest-environment-jsdom": "^25.2.4",
|
|
"jest-environment-jsdom-thirteen": "^1.0.1",
|
|
"jest-enzyme": "^7.0.2",
|
|
"jest-image-snapshot": "^3.1.0",
|
|
"jest-jasmine2": "^25.2.4",
|
|
"jest-matcher-utils": "^25.1.0",
|
|
"jest-preset-angular": "^6.0.1",
|
|
"jest-raw-loader": "^1.0.1",
|
|
"jest-serializer-html": "^7.0.0",
|
|
"jest-teamcity": "^1.7.0",
|
|
"jest-vue-preprocessor": "^1.5.0",
|
|
"jest-watch-typeahead": "^0.5.0",
|
|
"lerna": "^3.19.0",
|
|
"lint-staged": "^10.1.4",
|
|
"lodash": "^4.17.15",
|
|
"mocha-list-tests": "^1.0.2",
|
|
"node-cleanup": "^2.1.2",
|
|
"node-fetch": "^2.6.0",
|
|
"node-sass": "^4.12.0",
|
|
"npmlog": "^4.1.2",
|
|
"prettier": "^2.0.2",
|
|
"raf": "^3.4.0",
|
|
"react": "^16.8.3",
|
|
"react-dom": "^16.8.3",
|
|
"react-test-renderer": "^16.8.3",
|
|
"recursive-copy": "^2.0.10",
|
|
"regenerator-runtime": "^0.13.3",
|
|
"remark-cli": "^8.0.0",
|
|
"remark-lint": "^7.0.0",
|
|
"remark-preset-lint-recommended": "^4.0.0",
|
|
"riot-jest-transformer": "^2.0.0",
|
|
"semver": "^7.3.2",
|
|
"shelljs": "^0.8.3",
|
|
"shx": "^0.3.2",
|
|
"sort-package-json": "^1.42.0",
|
|
"storybook-chromatic": "^3.5.0",
|
|
"svelte": "^3.18.1",
|
|
"svelte-jest": "^0.3.0",
|
|
"teamcity-service-messages": "^0.1.10",
|
|
"trash": "^6.1.1",
|
|
"ts-dedent": "^1.1.1",
|
|
"ts-jest": "^25.4.0",
|
|
"ts-node": "^8.6.2",
|
|
"typescript": "^3.4.0",
|
|
"wait-on": "^4.0.0",
|
|
"window-size": "^1.1.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@cypress/webpack-preprocessor": "^5.1.2",
|
|
"cypress": "^4.0.2",
|
|
"puppeteer": "^3.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.10.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"
|
|
]
|
|
]
|
|
}
|
|
}
|