mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 13:01:07 +08:00
another one
This commit is contained in:
parent
4afdec95a8
commit
c17d93264e
@ -19,9 +19,26 @@
|
||||
"url": "https://opencollective.com/storybook"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "dist/cjs/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
"types": "dist/types/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"require": "./dist/index.js",
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts"
|
||||
},
|
||||
"./preset": {
|
||||
"require": "./dist/preset.js",
|
||||
"import": "./dist/preset.mjs",
|
||||
"types": "./dist/preset.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/**/*",
|
||||
@ -30,7 +47,7 @@
|
||||
"*.d.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
"prepare": "esrun ../../scripts/prepare/bundle.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/builder-webpack5": "7.0.0-alpha.5",
|
||||
@ -40,6 +57,7 @@
|
||||
"core-js": "^3.8.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@digitak/esrun": "^3.2.2",
|
||||
"jest-specific-snapshot": "^4.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@ -61,5 +79,9 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"bundlerEntrypoint": [
|
||||
"./src/index.ts",
|
||||
"./src/preset.ts"
|
||||
],
|
||||
"gitHead": "3dd46982823b34d9f37be917b6247631081feff7"
|
||||
}
|
||||
|
2
frameworks/react-webpack5/preset.js
vendored
2
frameworks/react-webpack5/preset.js
vendored
@ -1 +1 @@
|
||||
module.exports = require('./dist/cjs/preset');
|
||||
module.exports = require('./dist/preset');
|
||||
|
@ -8941,6 +8941,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/react-webpack5@workspace:frameworks/react-webpack5"
|
||||
dependencies:
|
||||
"@digitak/esrun": ^3.2.2
|
||||
"@storybook/builder-webpack5": 7.0.0-alpha.5
|
||||
"@storybook/preset-react-webpack": 7.0.0-alpha.5
|
||||
"@storybook/react": 7.0.0-alpha.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user