mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
279 lines
8.4 KiB
JSON
279 lines
8.4 KiB
JSON
{
|
|
"name": "@storybook/root",
|
|
"version": "6.1.0-alpha.20",
|
|
"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",
|
|
"au2",
|
|
"aurelia",
|
|
"aurelia2",
|
|
"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",
|
|
"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 -r esm ./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/utils/watch-babel.js",
|
|
"dev:check-types": "tsc --noEmit",
|
|
"dev:tsc": "lerna exec --scope @storybook/* --parallel -- cross-env-shell node \\$LERNA_ROOT_PATH/scripts/utils/watch-tsc.js",
|
|
"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",
|
|
"local-registry": "ts-node --project=./scripts/tsconfig.json ./scripts/run-registry.ts ",
|
|
"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",
|
|
"run-chromatics": "node -r esm ./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:cli": "npm --prefix lib/cli run test",
|
|
"test:e2e": "cypress run",
|
|
"test:e2e-framework": "ts-node --project=./scripts/tsconfig.json ./scripts/run-e2e.ts",
|
|
"test:e2e-gui": "concurrently --success first --kill-others \"cypress open\" \"yarn serve-storybooks\""
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{html,js,json,jsx,mjs,ts,tsx}": [
|
|
"yarn lint:js --fix"
|
|
],
|
|
"package.json": [
|
|
"yarn lint:package"
|
|
]
|
|
},
|
|
"browserslist": "defaults",
|
|
"resolutions": {
|
|
"serialize-javascript": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.11.5",
|
|
"@babel/core": "^7.11.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
"@babel/plugin-proposal-decorators": "^7.10.5",
|
|
"@babel/plugin-proposal-export-default-from": "^7.10.4",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
|
"@babel/plugin-proposal-private-methods": "^7.10.4",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/preset-env": "^7.11.5",
|
|
"@babel/preset-flow": "^7.10.4",
|
|
"@babel/preset-react": "^7.10.4",
|
|
"@babel/preset-typescript": "^7.10.4",
|
|
"@babel/runtime": "^7.11.2",
|
|
"@emotion/snapshot-serializer": "^0.8.2",
|
|
"@storybook/eslint-config-storybook": "^2.4.0",
|
|
"@storybook/linter-config": "^2.5.0",
|
|
"@storybook/semver": "^7.3.2",
|
|
"@testing-library/react": "^10.0.3",
|
|
"@types/detect-port": "^1.3.0",
|
|
"@types/doctrine": "^0.0.3",
|
|
"@types/enzyme": "^3.10.3",
|
|
"@types/escodegen": "^0.0.6",
|
|
"@types/express": "^4.17.6",
|
|
"@types/fs-extra": "^9.0.1",
|
|
"@types/jest": "^25.1.1",
|
|
"@types/js-yaml": "^3.12.4",
|
|
"@types/lodash": "^4.14.150",
|
|
"@types/node": "^14.0.10",
|
|
"@types/node-cleanup": "^2.1.1",
|
|
"@types/react": "^16.9.27",
|
|
"@types/semver": "^7.1.0",
|
|
"@types/serve-static": "^1.13.3",
|
|
"@types/shelljs": "^0.8.7",
|
|
"@types/webpack": "^4.41.12",
|
|
"@types/webpack-env": "^1.15.2",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-jest": "^26.0.0",
|
|
"babel-loader": "^8.0.5",
|
|
"babel-plugin-add-react-displayname": "^0.0.5",
|
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
"babel-plugin-emotion": "^10.0.20",
|
|
"babel-plugin-macros": "^2.7.0",
|
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
"chalk": "^4.0.0",
|
|
"chromatic": "^5.0.0",
|
|
"codecov": "^3.5.0",
|
|
"commander": "^5.1.0",
|
|
"concurrently": "^5.2.0",
|
|
"core-js": "^3.0.1",
|
|
"cross-env": "^7.0.0",
|
|
"danger": "^10.1.1",
|
|
"del": "^5.1.0",
|
|
"detect-port": "^1.3.0",
|
|
"downlevel-dts": "^0.6.0",
|
|
"enquirer": "^2.3.5",
|
|
"enzyme": "^3.9.0",
|
|
"enzyme-adapter-react-16": "^1.9.1",
|
|
"eslint": "^6.8.0",
|
|
"eslint-plugin-cypress": "^2.10.1",
|
|
"eslint-plugin-react": "^7.15.1",
|
|
"eslint-teamcity": "^3.0.0",
|
|
"esm": "^3.2.25",
|
|
"express": "^4.17.1",
|
|
"fs-extra": "^9.0.0",
|
|
"github-release-from-changelog": "^2.1.0",
|
|
"glob": "^7.1.3",
|
|
"http-server": "^0.12.3",
|
|
"husky": "^4.0.10",
|
|
"inquirer": "^7.0.0",
|
|
"jest": "^26.0.0",
|
|
"jest-cli": "^26.0.0",
|
|
"jest-config": "^26.0.0",
|
|
"jest-diff": "^26.0.0",
|
|
"jest-emotion": "^10.0.17",
|
|
"jest-environment-jsdom": "^26.0.0",
|
|
"jest-environment-jsdom-thirteen": "^1.0.1",
|
|
"jest-enzyme": "^7.0.2",
|
|
"jest-image-snapshot": "^4.0.2",
|
|
"jest-jasmine2": "^26.0.0",
|
|
"jest-matcher-utils": "^26.0.0",
|
|
"jest-raw-loader": "^1.0.1",
|
|
"jest-serializer-html": "^7.0.0",
|
|
"jest-teamcity": "^1.7.0",
|
|
"jest-watch-typeahead": "^0.5.0",
|
|
"js-yaml": "^3.13.1",
|
|
"lerna": "^3.19.0",
|
|
"lint-staged": "^10.2.1",
|
|
"lodash": "^4.17.15",
|
|
"mocha-list-tests": "^1.0.2",
|
|
"node-cleanup": "^2.1.2",
|
|
"node-fetch": "^2.6.0",
|
|
"node-sass": "^4.14.0",
|
|
"npmlog": "^4.1.2",
|
|
"p-limit": "^2.3.0",
|
|
"prettier": "~2.0.5",
|
|
"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": "^12.0.0",
|
|
"remark-cli": "^8.0.0",
|
|
"remark-lint": "^7.0.0",
|
|
"remark-preset-lint-recommended": "^4.0.0",
|
|
"riot-jest-transformer": "^2.0.0",
|
|
"serve-static": "^1.14.1",
|
|
"shelljs": "^0.8.4",
|
|
"shx": "^0.3.2",
|
|
"sort-package-json": "^1.42.1",
|
|
"svelte": "^3.18.1",
|
|
"svelte-jest": "^0.3.0",
|
|
"teamcity-service-messages": "^0.1.11",
|
|
"trash": "^6.1.1",
|
|
"ts-dedent": "^1.1.1",
|
|
"ts-jest": "^26.1.0",
|
|
"ts-node": "^8.10.2",
|
|
"typescript": "^3.9.3",
|
|
"wait-on": "^4.0.0",
|
|
"webpack": "^4.43.0",
|
|
"window-size": "^1.1.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@cypress/webpack-preprocessor": "^5.1.2",
|
|
"cypress": "4.7.0",
|
|
"puppeteer": "^2.0.0",
|
|
"ts-loader": "^8.0.4",
|
|
"verdaccio": "^4.5.1",
|
|
"verdaccio-auth-memory": "^9.4.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"
|
|
]
|
|
]
|
|
}
|
|
}
|