Skip to content

Commit

Permalink
Merge pull request #19308 from javier-arango/feat/lib-store-tsup
Browse files Browse the repository at this point in the history
Build lib/store with tsup
  • Loading branch information
ndelangen authored Oct 3, 2022
2 parents 0b3682b + db8fb32 commit 767830f
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions code/lib/store/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/addons": "7.0.0-alpha.34",
Expand All @@ -57,5 +65,11 @@
"publishConfig": {
"access": "public"
},
"bundler": {
"entries": [
"./src/index.ts"
],
"platform": "node"
},
"gitHead": "fc90fc875462421c1faa35862ac4bc436de8e75f"
}

0 comments on commit 767830f

Please sign in to comment.