Skip to content

Commit

Permalink
fix: fix types not exported
Browse files Browse the repository at this point in the history
  • Loading branch information
sinchang committed Mar 23, 2023
1 parent 697e3d4 commit 79c6ddd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@
"unpkg": "./dist/qrcodeParser.umd.js",
"jsdelivr": "./dist/qrcodeParser.umd.js",
"module": "./dist/qrcodeParser.es.js",
"exports": "./dist/qrcodeParser.modern.js",
"types": "./dist/src/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/qrcodeParser.modern.js"
}
},
"scripts": {
"prepublishOnly": "npm run build",
"lint": "eslint \"{src,test,example}/**/*.ts\"",
Expand Down

0 comments on commit 79c6ddd

Please sign in to comment.