another one

This commit is contained in:
Norbert de Langen 2022-06-23 00:29:15 +02:00
parent 4afdec95a8
commit c17d93264e
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
3 changed files with 28 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/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"
}

View File

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

View File

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