Skip to content

Commit 9e55a8c

Browse files
refactor(package): update package info
1 parent fdbc250 commit 9e55a8c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,21 @@
2020
},
2121
"license": "MIT",
2222
"author": "Navin Moorthy <[email protected]>",
23+
"sideEffects": false,
24+
"main": "dist/cjs/index.js",
25+
"module": "dist/esm/index.js",
26+
"types": "dist/types/index.d.ts",
27+
"typings": "dist/types/index.d.ts",
28+
"files": [
29+
"dist"
30+
],
2331
"scripts": {
2432
"prebuild": "rimraf dist",
2533
"build": "concurrently yarn:build:*",
2634
"build-storybook": "build-storybook",
2735
"build:cjs": "cross-env BABEL_ENV=cjs babel src --extensions .ts,.tsx -d dist/cjs --source-maps",
2836
"build:esm": "cross-env BABEL_ENV=esm babel src --extensions .ts,.tsx -d dist/esm --source-maps",
37+
"build:types": "tsc --emitDeclarationOnly --project tsconfig.prod.json",
2938
"commit": "gacp",
3039
"contributors:add": "all-contributors add",
3140
"contributors:generate": "all-contributors generate",

0 commit comments

Comments
 (0)