diff --git a/package.json b/package.json index a727971..11b9830 100644 --- a/package.json +++ b/package.json @@ -60,9 +60,12 @@ "repository": "oclif/plugin-interceptor", "scripts": { "postpack": "rm -f oclif.manifest.json", - "posttest": "eslint . --ext .ts --config .eslintrc", - "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme", - "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"", - "version": "oclif-dev readme && git add README.md" + "posttest": "yarn lint", + "prepack": "yarn build && oclif-dev manifest && oclif-dev readme", + "test": "mocha --forbid-only \"test/**/*.test.ts\"", + "version": "oclif-dev readme && git add README.md", + "lint": "eslint . --ext .ts --config .eslintrc", + "build": "rm -rf lib && tsc", + "pretest": "yarn build --noEmit && tsc -p test --noEmit" } }