Skip to content

Commit

Permalink
fix(pkg): move types export condition
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 10, 2023
1 parent e56cc30 commit 2d5a8dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"license": "MIT",
"exports": {
".": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"./runtime/mock/proxy-cjs": "./runtime/mock/proxy.cjs",
"./runtime/mock/proxy-cjs/*": "./runtime/mock/proxy.cjs",
"./runtime/*": {
"require": "./runtime/*.cjs",
"types": "./runtime/*.d.ts",
"require": "./runtime/*.cjs",
"import": "./runtime/*.mjs"
}
},
Expand All @@ -28,10 +28,10 @@
"build": "unbuild",
"lint": "eslint --ext .ts . && prettier -c src test",
"lint:fix": "eslint --fix --ext .ts . && prettier -w src test",
"typecheck": "tsc --noEmit",
"prepack": "unbuild",
"release": "pnpm test && changelogen --release && pnpm publish && git push --follow-tags",
"test": "pnpm lint && pnpm typecheck"
"test": "pnpm lint && pnpm typecheck",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"defu": "^6.1.2",
Expand Down

0 comments on commit 2d5a8dd

Please sign in to comment.