Skip to content

Commit

Permalink
chore: fix lifecycle scripts (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa authored Dec 17, 2024
1 parent 6a624d3 commit 4e6eca1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
"typescript": "5.7.2"
},
"scripts": {
"build": "npm run build:clean && tsc",
"build:clean": "rm -fr dist",
"build": "rm -fr dist && tsc",
"build:types": "node dist/scripts/build.js",
"build:watch": "npm run build:clean && tsc --watch",
"build:watch": "npm run build -- --watch",
"lint": "prettier -c .",
"lint:fix": "prettier -w .",
"prepack": "npm run build",
"pretest": "npm run build",
"prepublishOnly": "npm test",
"test": "node --test && ./test/exports_test.sh",
"test:watch": "clear && node --enable-source-maps --test --watch test"
Expand Down
2 changes: 1 addition & 1 deletion test/exports_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mkdir -p $TESTDIR

echo "... building tarball"
cd $SCRIPT_DIR/..
npm pack --silent --pack-destination $TESTDIR > /dev/null 2>&1
npm pack --ignore-scripts --silent --pack-destination $TESTDIR > /dev/null 2>&1

echo ... installing tarball
cd $TESTDIR
Expand Down

0 comments on commit 4e6eca1

Please sign in to comment.