diff --git a/package.json b/package.json index 40fb150..991e9bf 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "private": true, "license": "UNLICENSED", "scripts": { - "build": "npx nest build", + "build": "npm run test && npx nest build", "format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"", - "start": "node dist/main", - "start:dev": "npx nest start --watch", - "start:debug": "npx nest start --debug --watch", - "start:prod": "node dist/main", + "start": "npm run test && node dist/main", + "start:dev": "npm run test && npx nest start --watch", + "start:debug": "npm run test && npx nest start --debug --watch", + "start:prod": "npm run test && node dist/main", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest --config jest.config.js", "test:watch": "jest --watch --config jest.config.js",