Skip to content

Commit

Permalink
chore: use prepublishOnly script
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Sep 17, 2024
1 parent cfb906c commit ff81113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"build": "tinyrun --names js,gyp 'pnpm -s build:js' 'pnpm -s build:gyp'",
"build:js": "rimraf lib && tsc -p .",
"build:gyp": "node-gyp rebuild && pnpm --no-bail prepare:clangd",
"prepare": "pnpm -s build",
"prepare:clangd": "cd build && compiledb make -f binding.Makefile -n || true",
"prepare:types": "pnpm -s dlx tsx scripts/inferFieldMetadata.ts && pnpm -s dlx tsx scripts/generateTypes.ts && pnpm -s format",
"prepare:tests": "pnpm -s dlx tsx scripts/generateTests.ts",
"prepublishOnly": "pnpm -s build",
"install": "[ ! -d .git ] && prebuild-install --runtime napi || true",
"ci:prebuild": "prebuild --runtime napi --target 8 --strip --verbose",
"format": "biome format --write package.json src/lib/*.ts test/*.ts scripts/*.ts",
Expand Down

0 comments on commit ff81113

Please sign in to comment.