We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfcc7b6 commit 0e51d5cCopy full SHA for 0e51d5c
1 file changed
package.json
@@ -19,7 +19,8 @@
19
"./*": "./*"
20
},
21
"scripts": {
22
- "build": "tsc && npm run build:esm",
+ "build": "npm run build:cjs && npm run build:esm",
23
+ "build:cjs": "tsc",
24
"build:esm": "tsc --target esnext --module esnext --outDir dist/esm && mv dist/esm/binary_parser.js dist/esm/binary_parser.mjs",
25
"fmt": "prettier --write \"{lib,example,test,benchmark}/**/*.{ts,js}\"",
26
"check-fmt": "prettier --list-different \"{lib,example,test,benchmark}/**/*.{ts,js}\"",
0 commit comments