mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 02:51:07 +08:00
another one
This commit is contained in:
parent
015232a10b
commit
d62d7f4be2
@ -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/index.js",
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.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/**/*",
|
||||
"README.md",
|
||||
@ -29,7 +46,7 @@
|
||||
"*.d.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
"prepare": "esrun ../../scripts/prepare/bundle.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core-server": "7.0.0-alpha.5",
|
||||
@ -45,6 +62,7 @@
|
||||
"yaml-loader": "^0.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@digitak/esrun": "^3.2.2",
|
||||
"fs-extra": "^9.0.1",
|
||||
"jest-specific-snapshot": "^4.0.0",
|
||||
"yaml": "^1.10.0"
|
||||
@ -55,5 +73,8 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"bundlerEntrypoint": [
|
||||
"./src/index.ts"
|
||||
],
|
||||
"gitHead": "3dd46982823b34d9f37be917b6247631081feff7"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
module.exports = require('./dist/cjs/index');
|
||||
module.exports = require('./dist/index');
|
||||
|
@ -8793,6 +8793,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/preset-server-webpack@workspace:presets/server-webpack"
|
||||
dependencies:
|
||||
"@digitak/esrun": ^3.2.2
|
||||
"@storybook/core-server": 7.0.0-alpha.5
|
||||
"@storybook/core-webpack": 7.0.0-alpha.5
|
||||
"@storybook/server": 7.0.0-alpha.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user