Skip to content

Commit

Permalink
Merge pull request #27 from victorsoares96/fix/run-type-check-before-…
Browse files Browse the repository at this point in the history
…build

🩹 fix(build): run type-check script before build
  • Loading branch information
victorsoares96 authored Sep 5, 2022
2 parents 4226f84 + 30a6112 commit 75991ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"prod:migration:revert": "cross-env NODE_ENV=production typeorm-ts-node-commonjs migration:revert -d src/database/index.ts",
"typeorm": "typeorm-ts-node-commonjs",
"migration:generate": "cross-env NODE_ENV=development typeorm-ts-node-commonjs migration:generate -d src/database/index.ts",
"prebuild": "yarn type-check",
"build": "babel src --extensions \".js,.ts\" --out-dir dist --copy-files",
"postbuild": "npm set-script prepare '' && cp -R src/views dist/ && cp package*json dist/ && cp -R src/assets dist/ && npm set-script prepare 'husky install'",
"test": "cross-env NODE_ENV=test mocha",
Expand Down

0 comments on commit 75991ff

Please sign in to comment.