From 8bc2446f23c5f5f9620aa94a28006acce210dba8 Mon Sep 17 00:00:00 2001 From: Philipe Navarro Date: Wed, 24 Jun 2020 15:18:27 -0700 Subject: [PATCH 1/3] chore: cleanup test scripts leif asserted state --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a727971..b566938 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", + "posttest": "yarn lint", "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" + "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" } } From 6a11f93bda7e613d3e17966ecb4dec753d46053a Mon Sep 17 00:00:00 2001 From: Philipe Navarro Date: Wed, 24 Jun 2020 15:55:34 -0700 Subject: [PATCH 2/3] chore: cleanup test scripts leif asserted state --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b566938..1b26d34 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,6 @@ "version": "oclif-dev readme && git add README.md", "lint": "eslint . --ext .ts --config .eslintrc", "build": "rm -rf lib && tsc", - "pretest": "yarn build --noEmit" + "pretest": "yarn build --noEmit && tsc -p test --noEmit" } } From ed6c3386a126eaa3eb35a745c4b00f7683b646f6 Mon Sep 17 00:00:00 2001 From: RasPhilCo Date: Thu, 25 Jun 2020 14:20:09 -0700 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1b26d34..11b9830 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "scripts": { "postpack": "rm -f oclif.manifest.json", "posttest": "yarn lint", - "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme", + "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",