Skip to content

Commit

Permalink
chore: run "test" script in "build" script
Browse files Browse the repository at this point in the history
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
  • Loading branch information
kiprasmel committed May 8, 2022
1 parent 0532ed8 commit ad6744a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
"git-stacked-rebase": "./dist/git-stacked-rebase.js"
},
"scripts": {
"prebuild": "node ./script/prebuild.js",
"prebuild:lean": "node ./script/prebuild.js",
"test": "ts-node-dev ./test/run.ts",
"build": "yarn tsc -b",
"postbuild": "node ./script/postbuild.js",
"build": "yarn test && yarn build:lean",
"build:lean": "yarn tsc -b",
"postbuild:lean": "node ./script/postbuild.js",
"prepack": "yarn build"
},
"devDependencies": {
Expand Down

0 comments on commit ad6744a

Please sign in to comment.