Commit 4e6eca1 1 parent 6a624d3 commit 4e6eca1 Copy full SHA for 4e6eca1
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
44
"typescript" : " 5.7.2"
45
45
},
46
46
"scripts" : {
47
- "build" : " npm run build:clean && tsc" ,
48
- "build:clean" : " rm -fr dist" ,
47
+ "build" : " rm -fr dist && tsc" ,
49
48
"build:types" : " node dist/scripts/build.js" ,
50
- "build:watch" : " npm run build:clean && tsc --watch" ,
49
+ "build:watch" : " npm run build -- --watch" ,
51
50
"lint" : " prettier -c ." ,
52
51
"lint:fix" : " prettier -w ." ,
53
52
"prepack" : " npm run build" ,
53
+ "pretest" : " npm run build" ,
54
54
"prepublishOnly" : " npm test" ,
55
55
"test" : " node --test && ./test/exports_test.sh" ,
56
56
"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
10
10
11
11
echo " ... building tarball"
12
12
cd $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
14
14
15
15
echo ... installing tarball
16
16
cd $TESTDIR
You can’t perform that action at this time.
0 commit comments