another one

This commit is contained in:
Norbert de Langen 2022-06-23 09:29:06 +02:00
parent 015232a10b
commit d62d7f4be2
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
3 changed files with 27 additions and 5 deletions

View File

@ -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"
}

View File

@ -1 +1 @@
module.exports = require('./dist/cjs/index');
module.exports = require('./dist/index');

View File

@ -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