Skip to content

Commit

Permalink
fix cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Dec 8, 2022
1 parent d210362 commit b8a9c57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"types": "lib/types/index.d.ts",
"scripts": {
"clear": "rm -rf ./lib",
"patch:esm-js": "npx tsc-esm-fix --tsconfig tsconfig.json",
"patch:esm-js": "npx tsc-esm-fix --tsconfig=tsconfig.mjs.json",
"patch:esm-type": "echo '{ \"type\": \"module\" }' >> lib/mjs/package.json",
"build:esm": "npx tsc && npm run patch:esm-js && npm run patch:esm-type",
"build:cjs": "npx tsc -p tsconfig.cjs.json",
"build:esm": "npx tsc -p tsconfig.mjs.json && npm run patch:esm-js && npm run patch:esm-type",
"build:cjs": "npx tsc",
"build": "npm run clear && npm run build:esm && npm run build:cjs",
"test": "npx mocha"
},
Expand Down

0 comments on commit b8a9c57

Please sign in to comment.