Skip to content

Commit

Permalink
fix: remove type module from package.json (#15)
Browse files Browse the repository at this point in the history
* fix: remove type module from package.json

* fix: change extension of postInstall script to .mjs
  • Loading branch information
MinHtet-O authored Apr 22, 2024
1 parent 8b3f008 commit 5f1ff25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/index.umd.js",
"type": "module",
"types": "dist/types/index.d.ts",
"scripts": {
"benchmark:qr-code": "ts-node --transpile-only benchmarks/qr-code",
Expand All @@ -24,7 +23,7 @@
"lint": "eslint . --ext .ts,.json --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"publish:schema": "./scripts/publishSchema.sh",
"postinstall": "node scripts/postInstall"
"postinstall": "node scripts/postInstall.mjs"
},
"files": [
"/dist",
Expand Down
File renamed without changes.

0 comments on commit 5f1ff25

Please sign in to comment.