mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 13:21:14 +08:00
282 lines
9.2 KiB
JSON
282 lines
9.2 KiB
JSON
{
|
|
"name": "@storybook/root",
|
|
"version": "8.3.0-alpha.3",
|
|
"private": true,
|
|
"description": "Storybook root",
|
|
"homepage": "https://storybook.js.org/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/storybookjs/storybook.git"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/storybook"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"./core",
|
|
"addons/*",
|
|
"frameworks/*",
|
|
"lib/*",
|
|
"deprecated/*",
|
|
"builders/*",
|
|
"presets/*",
|
|
"renderers/*"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"affected:test": "nx show projects --affected -t test | xargs -I # echo --project # | xargs yarn test:watch",
|
|
"await-serve-storybooks": "wait-on http://localhost:8001",
|
|
"build": "NODE_ENV=production yarn --cwd ../scripts build-package",
|
|
"changelog": "pr-log --sloppy --cherry-pick",
|
|
"changelog:next": "pr-log --sloppy --since-prerelease",
|
|
"check": "NODE_ENV=production yarn --cwd ../scripts check-package",
|
|
"ci-tests": "yarn task --task check --no-link --start-from=install && yarn lint && yarn test && cd ../scripts && yarn test",
|
|
"danger": "danger",
|
|
"generate-sandboxes": "yarn --cwd ../scripts generate-sandboxes",
|
|
"github-release": "github-release-from-changelog",
|
|
"i": "yarn --cwd .. i",
|
|
"lint": "yarn lint:js && yarn lint:md",
|
|
"lint:ejs": "ejslint **/*.ejs",
|
|
"lint:js": "yarn lint:js:cmd . --quiet",
|
|
"lint:js:cmd": "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": "../scripts/node_modules/.bin/remark -q .",
|
|
"lint:other": "prettier --write '**/*.{css,html,json,md,yml}'",
|
|
"lint:package": "sort-package-json",
|
|
"local-registry": "yarn --cwd ../scripts local-registry",
|
|
"publish-sandboxes": "yarn --cwd ../scripts publish",
|
|
"storybook:ui": "NODE_OPTIONS=\"--preserve-symlinks --preserve-symlinks-main\" ./lib/cli/bin/index.cjs dev --port 6006 --config-dir ./.storybook",
|
|
"storybook:ui:build": "NODE_OPTIONS=\"--preserve-symlinks --preserve-symlinks-main\" ./lib/cli/bin/index.cjs build --config-dir ./.storybook --webpack-stats-json",
|
|
"storybook:ui:chromatic": "../scripts/node_modules/.bin/chromatic --build-script-name storybook:ui:build --storybook-base-dir ./ --exit-zero-on-changes --exit-once-uploaded",
|
|
"task": "yarn --cwd ../scripts task",
|
|
"test": "NODE_OPTIONS=--max_old_space_size=4096 vitest run",
|
|
"test:watch": "NODE_OPTIONS=--max_old_space_size=4096 vitest watch"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "if [ -z \"$SKIP_STORYBOOK_GIT_HOOKS\" ]; then yarn lint-staged; fi"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{html,js,json,jsx,mjs,ts,tsx}": [
|
|
"yarn lint:js:cmd --fix"
|
|
],
|
|
"package.json": [
|
|
"yarn lint:package"
|
|
],
|
|
"*.ejs": [
|
|
"../scripts/node_modules/.bin/ejslint"
|
|
],
|
|
"*.{css,html,json,md,yml}": [
|
|
"../scripts/node_modules/.bin/prettier --write"
|
|
]
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"resolutions": {
|
|
"@playwright/test": "1.36.0",
|
|
"@types/node": "^18.0.0",
|
|
"esbuild": "^0.23.0",
|
|
"playwright": "1.36.0",
|
|
"playwright-core": "1.36.0",
|
|
"serialize-javascript": "^3.1.0",
|
|
"type-fest": "~2.19"
|
|
},
|
|
"dependencies": {
|
|
"@chromatic-com/storybook": "^1.6.1",
|
|
"@happy-dom/global-registrator": "^14.12.0",
|
|
"@nx/eslint": "18.0.6",
|
|
"@nx/vite": "18.0.6",
|
|
"@nx/workspace": "18.0.6",
|
|
"@playwright/test": "1.36.0",
|
|
"@storybook/addon-a11y": "workspace:*",
|
|
"@storybook/addon-actions": "workspace:*",
|
|
"@storybook/addon-backgrounds": "workspace:*",
|
|
"@storybook/addon-controls": "workspace:*",
|
|
"@storybook/addon-designs": "^7.0.4",
|
|
"@storybook/addon-docs": "workspace:*",
|
|
"@storybook/addon-essentials": "workspace:*",
|
|
"@storybook/addon-highlight": "workspace:*",
|
|
"@storybook/addon-interactions": "workspace:*",
|
|
"@storybook/addon-jest": "workspace:*",
|
|
"@storybook/addon-links": "workspace:*",
|
|
"@storybook/addon-mdx-gfm": "workspace:*",
|
|
"@storybook/addon-measure": "workspace:*",
|
|
"@storybook/addon-onboarding": "workspace:*",
|
|
"@storybook/addon-outline": "workspace:*",
|
|
"@storybook/addon-storysource": "workspace:*",
|
|
"@storybook/addon-themes": "workspace:*",
|
|
"@storybook/addon-toolbars": "workspace:*",
|
|
"@storybook/addon-viewport": "workspace:*",
|
|
"@storybook/angular": "workspace:*",
|
|
"@storybook/bench": "next",
|
|
"@storybook/blocks": "workspace:*",
|
|
"@storybook/builder-vite": "workspace:*",
|
|
"@storybook/builder-webpack5": "workspace:*",
|
|
"@storybook/codemod": "workspace:*",
|
|
"@storybook/core": "workspace:*",
|
|
"@storybook/core-webpack": "workspace:*",
|
|
"@storybook/csf": "^0.1.11",
|
|
"@storybook/csf-plugin": "workspace:*",
|
|
"@storybook/ember": "workspace:*",
|
|
"@storybook/eslint-config-storybook": "^4.0.0",
|
|
"@storybook/global": "^5.0.0",
|
|
"@storybook/html": "workspace:*",
|
|
"@storybook/html-vite": "workspace:*",
|
|
"@storybook/html-webpack5": "workspace:*",
|
|
"@storybook/instrumenter": "workspace:*",
|
|
"@storybook/linter-config": "^4.0.0",
|
|
"@storybook/nextjs": "workspace:*",
|
|
"@storybook/preact": "workspace:*",
|
|
"@storybook/preact-vite": "workspace:*",
|
|
"@storybook/preact-webpack5": "workspace:*",
|
|
"@storybook/preset-create-react-app": "workspace:*",
|
|
"@storybook/preset-html-webpack": "workspace:*",
|
|
"@storybook/preset-preact-webpack": "workspace:*",
|
|
"@storybook/preset-react-webpack": "workspace:*",
|
|
"@storybook/preset-server-webpack": "workspace:*",
|
|
"@storybook/preset-svelte-webpack": "workspace:*",
|
|
"@storybook/preset-vue3-webpack": "workspace:*",
|
|
"@storybook/react": "workspace:*",
|
|
"@storybook/react-vite": "workspace:*",
|
|
"@storybook/react-webpack5": "workspace:*",
|
|
"@storybook/server": "workspace:*",
|
|
"@storybook/server-webpack5": "workspace:*",
|
|
"@storybook/source-loader": "workspace:*",
|
|
"@storybook/svelte": "workspace:*",
|
|
"@storybook/svelte-webpack5": "workspace:*",
|
|
"@storybook/test": "workspace:*",
|
|
"@storybook/testing-library": "next",
|
|
"@storybook/theming": "workspace:*",
|
|
"@storybook/types": "workspace:*",
|
|
"@storybook/vue3": "workspace:*",
|
|
"@storybook/vue3-vite": "workspace:*",
|
|
"@storybook/vue3-webpack5": "workspace:*",
|
|
"@storybook/web-components": "workspace:*",
|
|
"@storybook/web-components-vite": "workspace:*",
|
|
"@storybook/web-components-webpack5": "workspace:*",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/jest-dom": "^6.4.8",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/express": "^4.17.21",
|
|
"@types/fs-extra": "^11.0.1",
|
|
"@types/lodash": "^4.14.167",
|
|
"@types/mock-require": "^2.0.3",
|
|
"@types/node": "^18.0.0",
|
|
"@types/react": "^18.0.37",
|
|
"@types/react-dom": "^18.0.11",
|
|
"@types/semver": "^7.3.4",
|
|
"@types/serve-static": "^1.13.8",
|
|
"@typescript-eslint/experimental-utils": "^5.62.0",
|
|
"@typescript-eslint/parser": "^6.18.1",
|
|
"@vitejs/plugin-react": "^3.0.1",
|
|
"@vitest/coverage-v8": "^1.2.2",
|
|
"cross-env": "^7.0.3",
|
|
"danger": "^12.3.3",
|
|
"esbuild": "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0",
|
|
"esbuild-loader": "^4.2.0",
|
|
"esbuild-plugin-alias": "^0.2.1",
|
|
"eslint": "^8.56.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-local-rules": "portal:../scripts/eslint-plugin-local-rules",
|
|
"eslint-plugin-storybook": "^0.8.0",
|
|
"fs-extra": "^11.1.0",
|
|
"github-release-from-changelog": "^2.1.1",
|
|
"glob": "^10.0.0",
|
|
"happy-dom": "^14.12.0",
|
|
"http-server": "^14.1.1",
|
|
"husky": "^4.3.7",
|
|
"lint-staged": "^13.2.2",
|
|
"lodash": "^4.17.21",
|
|
"mock-require": "^3.0.3",
|
|
"node-gyp": "^9.3.1",
|
|
"nx": "18.0.6",
|
|
"prettier": "^3.1.1",
|
|
"process": "^0.11.10",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"semver": "^7.3.7",
|
|
"serve-static": "^1.14.1",
|
|
"storybook": "workspace:^",
|
|
"svelte": "^5.0.0-next.65",
|
|
"ts-dedent": "^2.0.0",
|
|
"typescript": "^5.4.3",
|
|
"util": "^0.12.4",
|
|
"vite": "^4.0.0",
|
|
"vitest": "^2.0.5",
|
|
"wait-on": "^7.0.1"
|
|
},
|
|
"dependenciesMeta": {
|
|
"ejs": {
|
|
"built": false
|
|
},
|
|
"level": {
|
|
"built": false
|
|
},
|
|
"node-uuid": {
|
|
"built": false,
|
|
"unplugged": false
|
|
},
|
|
"nodemon": {
|
|
"built": false
|
|
},
|
|
"parcel": {
|
|
"built": false
|
|
},
|
|
"preact": {
|
|
"built": false
|
|
},
|
|
"yorkie": {
|
|
"built": false
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/storybook"
|
|
},
|
|
"nx": {
|
|
"name": "root",
|
|
"includedScripts": []
|
|
},
|
|
"pr-log": {
|
|
"skipLabels": [
|
|
"cleanup"
|
|
],
|
|
"validLabels": [
|
|
[
|
|
"BREAKING CHANGE",
|
|
"Breaking Changes"
|
|
],
|
|
[
|
|
"feature request",
|
|
"Features"
|
|
],
|
|
[
|
|
"bug",
|
|
"Bug Fixes"
|
|
],
|
|
[
|
|
"documentation",
|
|
"Documentation"
|
|
],
|
|
[
|
|
"maintenance",
|
|
"Maintenance"
|
|
],
|
|
[
|
|
"build",
|
|
"Build"
|
|
],
|
|
[
|
|
"dependencies",
|
|
"Dependency Upgrades"
|
|
]
|
|
]
|
|
}
|
|
}
|