From 8ad08b04f5edd5815f79c342c9467b0d6bf2d22c Mon Sep 17 00:00:00 2001 From: Alexandru Dima Date: Thu, 7 Jan 2021 16:46:58 +0100 Subject: [PATCH] Do not compile `/test/` and `/build/` scripts during postinstall, the scripts get compiled explicitly during CI --- build/package.json | 1 - test/automation/package.json | 1 - test/integration/browser/package.json | 1 - test/smoke/package.json | 1 - 4 files changed, 4 deletions(-) diff --git a/build/package.json b/build/package.json index 44660f4baff..9e30ee53ef3 100644 --- a/build/package.json +++ b/build/package.json @@ -45,7 +45,6 @@ "scripts": { "compile": "tsc -p tsconfig.build.json", "watch": "tsc -p tsconfig.build.json --watch", - "postinstall": "npm run compile", "npmCheckJs": "tsc --noEmit" }, "dependencies": {} diff --git a/test/automation/package.json b/test/automation/package.json index aab98104f71..78c3bce9f56 100644 --- a/test/automation/package.json +++ b/test/automation/package.json @@ -9,7 +9,6 @@ "main": "./out/index.js", "private": true, "scripts": { - "prepare": "npm run compile", "compile": "npm run copy-driver && npm run copy-driver-definition && tsc", "watch": "npm-run-all -lp watch-driver watch-driver-definition watch-tsc", "watch-tsc": "tsc --watch --preserveWatchOutput", diff --git a/test/integration/browser/package.json b/test/integration/browser/package.json index 5ae027e9bd0..1b56f4ae9c6 100644 --- a/test/integration/browser/package.json +++ b/test/integration/browser/package.json @@ -4,7 +4,6 @@ "license": "MIT", "main": "./index.js", "scripts": { - "postinstall": "tsc", "compile": "tsc" }, "devDependencies": { diff --git a/test/smoke/package.json b/test/smoke/package.json index debabba2919..cb37f8db321 100644 --- a/test/smoke/package.json +++ b/test/smoke/package.json @@ -4,7 +4,6 @@ "license": "MIT", "main": "./src/main.js", "scripts": { - "postinstall": "npm run compile", "compile": "yarn --cwd ../automation compile && tsc", "watch-automation": "yarn --cwd ../automation watch", "watch-smoke": "tsc --watch --preserveWatchOutput",