Skip to content

Commit

Permalink
Build lib/store with tsup
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-arango committed Sep 30, 2022
1 parent d640195 commit 0ecaea3
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": "browser"
},
"gitHead": "fc90fc875462421c1faa35862ac4bc436de8e75f"
}

0 comments on commit 0ecaea3

Please sign in to comment.