Skip to content

Commit 7e01602

Browse files
committed
use prepack
1 parent 132e8d9 commit 7e01602

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"scripts": {
2424
"clean": "rimraf dist",
2525
"build": "npm run clean && tsdown",
26-
"prepublishOnly": "npm run build",
26+
"prepack": "npm run build",
2727
"test": "vitest run"
2828
},
2929
"files": [

packages/token/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"scripts": {
2424
"clean": "rimraf dist",
2525
"build": "npm run clean && tsc && tsc-alias -p tsconfig.json --resolve-full-paths",
26-
"prepublishOnly": "npm run build",
26+
"prepack": "npm run build",
2727
"test": "echo 'No tests for @chonkiejs/token yet'"
2828
},
2929
"files": [

0 commit comments

Comments
 (0)