diff --git a/packages/concerto-linter/package.json b/packages/concerto-linter/package.json index 5f26aa3fac..3556d156f6 100644 --- a/packages/concerto-linter/package.json +++ b/packages/concerto-linter/package.json @@ -13,7 +13,7 @@ "clean": "rimraf dist", "prebuild": "npm-run-all clean && cd ./default-ruleset && npm run build", "build": "tsc -p tsconfig.build.json", - "pretest": "npm-run-all lint", + "pretest": "npm run prebuild && npm-run-all lint", "lint": "eslint .", "lint:fix": "eslint . --fix", "test": "jest",