Skip to content

Commit

Permalink
fix: export types (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChromeGG authored Apr 1, 2024
1 parent d55f28e commit 50bad60
Show file tree
Hide file tree
Showing 6 changed files with 276 additions and 226 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
save-prefix=""
save-prefix=""
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A simple usage of the CEL library",
"type": "module",
"dependencies": {
"cel-js": "0.1.5"
"cel-js": "0.1.6"
},
"devDependencies": {
"tsx": "4.7.0"
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": "./dist/index.mjs",
"exports": {
".": "./dist/index.js"
},
"files": [
"dist"
],
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.json --emitDeclarationOnly && node esbuild.mjs",
"build": "pnpm run clean && tsc",
"clean": "rm -rf ./dist",
"generate": "tsx ./ts-signatures-generator",
"lint": "eslint --ext .ts src",
Expand Down
Loading

0 comments on commit 50bad60

Please sign in to comment.