File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 41
41
"prebuild" : " npm run lint" ,
42
42
"prepublishOnly" : " tsc -p tsconfig.json" ,
43
43
"build" : " npm run build-esm && npm run build-cjs" ,
44
- "build-esm" : " tsc -p tsconfig.json --module es2022 --outDir build/esm/ && echo '{\" type\" : \" module\" }' > build/esm/package.json" ,
45
- "build-cjs" : " tsc -p tsconfig.json --module commonjs --outDir build/cjs/ && shx echo '{\" type\" : \" commonjs\" }' > build/cjs/package.json" ,
44
+ "build-esm" : " rm -rf build/esm && tsc -p tsconfig.json --module es2022 --outDir build/esm/ && echo '{\" type\" : \" module\" }' > build/esm/package.json" ,
45
+ "build-cjs" : " rm -rf build/cjs && tsc -p tsconfig.json --module commonjs --outDir build/cjs/ && shx echo '{\" type\" : \" commonjs\" }' > build/cjs/package.json" ,
46
46
"build:watch" : " tsc -w -p tsconfig.json" ,
47
47
"lint" : " eslint . --ext .ts --ext .mts" ,
48
48
"test" : " mocha -r ts-node/register ./test/**/*.ts"
55
55
],
56
56
"author" : " Ong Teck Wu" ,
57
57
"license" : " Apache-2.0"
58
- }
58
+ }
You can’t perform that action at this time.
0 commit comments