mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 19:21:07 +08:00
125 lines
3.6 KiB
JSON
125 lines
3.6 KiB
JSON
{
|
|
"name": "@storybook/preset-react-webpack",
|
|
"version": "7.0.0-beta.9",
|
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
|
"keywords": [
|
|
"storybook"
|
|
],
|
|
"homepage": "https://github.com/storybookjs/storybook/tree/main/presets/react-webpack",
|
|
"bugs": {
|
|
"url": "https://github.com/storybookjs/storybook/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/storybookjs/storybook.git",
|
|
"directory": "presets/react-webpack"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/storybook"
|
|
},
|
|
"license": "MIT",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.js",
|
|
"import": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./preset": {
|
|
"require": "./dist/index.js",
|
|
"import": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./dist/framework-preset-cra": {
|
|
"require": "./dist/framework-preset-cra.js",
|
|
"import": "./dist/framework-preset-cra.mjs",
|
|
"types": "./dist/framework-preset-cra.d.ts"
|
|
},
|
|
"./dist/framework-preset-react-docs": {
|
|
"require": "./dist/framework-preset-react-docs.js",
|
|
"import": "./dist/framework-preset-react-docs.mjs",
|
|
"types": "./dist/framework-preset-react-docs.d.ts"
|
|
},
|
|
"./dist/framework-preset-react-dom-hack": {
|
|
"require": "./dist/framework-preset-react-dom-hack.js",
|
|
"import": "./dist/framework-preset-react-dom-hack.mjs",
|
|
"types": "./dist/framework-preset-react-dom-hack.d.ts"
|
|
},
|
|
"./dist/framework-preset-react": {
|
|
"require": "./dist/framework-preset-react.js",
|
|
"import": "./dist/framework-preset-react.mjs",
|
|
"types": "./dist/framework-preset-react.d.ts"
|
|
},
|
|
"./package.json": {
|
|
"require": "./package.json",
|
|
"import": "./package.json",
|
|
"types": "./package.json"
|
|
}
|
|
},
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist/**/*",
|
|
"types/**/*",
|
|
"README.md",
|
|
"*.js",
|
|
"*.d.ts"
|
|
],
|
|
"scripts": {
|
|
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
|
|
"prep": "../../../scripts/prepare/bundle.ts"
|
|
},
|
|
"dependencies": {
|
|
"@babel/preset-flow": "^7.18.6",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
|
|
"@storybook/core-webpack": "7.0.0-beta.9",
|
|
"@storybook/docs-tools": "7.0.0-beta.9",
|
|
"@storybook/node-logger": "7.0.0-beta.9",
|
|
"@storybook/react": "7.0.0-beta.9",
|
|
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
|
|
"@types/node": "^16.0.0",
|
|
"@types/semver": "^7.3.4",
|
|
"babel-plugin-add-react-displayname": "^0.0.5",
|
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
"fs-extra": "^9.0.1",
|
|
"react-refresh": "^0.11.0",
|
|
"semver": "^7.3.7"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "~4.9.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "^7.11.5",
|
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
"webpack": "5"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@babel/core": {
|
|
"optional": true
|
|
},
|
|
"typescript": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"bundler": {
|
|
"entries": [
|
|
"./src/index.ts",
|
|
"./src/framework-preset-cra.ts",
|
|
"./src/framework-preset-react-docs.ts",
|
|
"./src/framework-preset-react-dom-hack.ts",
|
|
"./src/framework-preset-react.ts"
|
|
],
|
|
"platform": "node"
|
|
},
|
|
"gitHead": "5340574d89a799ec10959edc16ca140852cf355c"
|
|
}
|