mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-15 00:05:35 +08:00
chore: Migrated addons/storysource to tsup
This commit is contained in:
parent
349b2e5f45
commit
21690ddd1c
@ -21,9 +21,27 @@
|
|||||||
"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/preset.js",
|
||||||
|
"import": "./dist/preset.mjs",
|
||||||
|
"types": "./dist/preset.d.ts"
|
||||||
|
},
|
||||||
|
"./register": {
|
||||||
|
"require": "./dist/register.js",
|
||||||
|
"import": "./dist/register.mjs",
|
||||||
|
"types": "./dist/register.d.ts"
|
||||||
|
},
|
||||||
|
"./package.json": "./package.json"
|
||||||
|
},
|
||||||
|
"main": "dist/index.js",
|
||||||
|
"module": "dist/index.mjs",
|
||||||
|
"types": "dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist/**/*",
|
"dist/**/*",
|
||||||
"README.md",
|
"README.md",
|
||||||
@ -32,7 +50,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
|
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
|
||||||
"prep": "node ../../../scripts/prepare.js"
|
"prep": "../../../scripts/prepare/bundle.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@storybook/addons": "7.0.0-alpha.37",
|
"@storybook/addons": "7.0.0-alpha.37",
|
||||||
@ -66,6 +84,12 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
"bundler": {
|
||||||
|
"entries": [
|
||||||
|
"./src/index.ts",
|
||||||
|
"./src/manager.tsx"
|
||||||
|
]
|
||||||
|
},
|
||||||
"gitHead": "82667a655108283aafc828427f00bb3590a334e5",
|
"gitHead": "82667a655108283aafc828427f00bb3590a334e5",
|
||||||
"storybook": {
|
"storybook": {
|
||||||
"displayName": "Storysource",
|
"displayName": "Storysource",
|
||||||
|
@ -1 +1 @@
|
|||||||
import './dist/esm/manager';
|
import './dist/manager';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user