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