File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4444 "typescript" : " 5.7.2"
4545 },
4646 "scripts" : {
47- "build" : " npm run build:clean && tsc" ,
48- "build:clean" : " rm -fr dist" ,
47+ "build" : " rm -fr dist && tsc" ,
4948 "build:types" : " node dist/scripts/build.js" ,
50- "build:watch" : " npm run build:clean && tsc --watch" ,
49+ "build:watch" : " npm run build -- --watch" ,
5150 "lint" : " prettier -c ." ,
5251 "lint:fix" : " prettier -w ." ,
5352 "prepack" : " npm run build" ,
53+ "pretest" : " npm run build" ,
5454 "prepublishOnly" : " npm test" ,
5555 "test" : " node --test && ./test/exports_test.sh" ,
5656 "test:watch" : " clear && node --enable-source-maps --test --watch test"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ mkdir -p $TESTDIR
1010
1111echo " ... building tarball"
1212cd $SCRIPT_DIR /..
13- npm pack --silent --pack-destination $TESTDIR > /dev/null 2>&1
13+ npm pack --ignore-scripts -- silent --pack-destination $TESTDIR > /dev/null 2>&1
1414
1515echo ... installing tarball
1616cd $TESTDIR
You can’t perform that action at this time.
0 commit comments