Skip to content

Commit

Permalink
chore: Migrated package to tsup
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanjtc committed Oct 31, 2022
1 parent d4965bd commit e6892b4
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions code/lib/channel-websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,17 @@
},
"license": "MIT",
"sideEffects": false,
"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"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md",
Expand All @@ -31,7 +39,7 @@
],
"scripts": {
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.44",
Expand All @@ -45,5 +53,10 @@
"publishConfig": {
"access": "public"
},
"bundler": {
"entries": [
"./src/index.ts"
]
},
"gitHead": "f801c26f7bdcbfeeeca6706c0854d130bfb2f38b"
}

0 comments on commit e6892b4

Please sign in to comment.