Skip to content

Commit 874b12b

Browse files
committed
chore: run "test" script in "build" script
Signed-off-by: Kipras Melnikovas <[email protected]>
1 parent 25902f7 commit 874b12b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
"git-stacked-rebase": "./dist/git-stacked-rebase.js"
1010
},
1111
"scripts": {
12-
"prebuild": "node ./script/prebuild.js",
12+
"prebuild:lean": "node ./script/prebuild.js",
1313
"test": "ts-node-dev ./test/run.ts",
14-
"build": "yarn tsc -b",
15-
"postbuild": "node ./script/postbuild.js",
14+
"build": "yarn test && yarn build:lean",
15+
"build:lean": "yarn tsc -b",
16+
"postbuild:lean": "node ./script/postbuild.js",
1617
"prepack": "yarn build"
1718
},
1819
"devDependencies": {

0 commit comments

Comments
 (0)