Do not compile /test/ and /build/ scripts during postinstall, the scripts get compiled explicitly during CI

This commit is contained in:
Alexandru Dima 2021-01-07 16:46:58 +01:00
parent fa701a373b
commit 8ad08b04f5
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
4 changed files with 0 additions and 4 deletions

View file

@ -45,7 +45,6 @@
"scripts": { "scripts": {
"compile": "tsc -p tsconfig.build.json", "compile": "tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json --watch", "watch": "tsc -p tsconfig.build.json --watch",
"postinstall": "npm run compile",
"npmCheckJs": "tsc --noEmit" "npmCheckJs": "tsc --noEmit"
}, },
"dependencies": {} "dependencies": {}

View file

@ -9,7 +9,6 @@
"main": "./out/index.js", "main": "./out/index.js",
"private": true, "private": true,
"scripts": { "scripts": {
"prepare": "npm run compile",
"compile": "npm run copy-driver && npm run copy-driver-definition && tsc", "compile": "npm run copy-driver && npm run copy-driver-definition && tsc",
"watch": "npm-run-all -lp watch-driver watch-driver-definition watch-tsc", "watch": "npm-run-all -lp watch-driver watch-driver-definition watch-tsc",
"watch-tsc": "tsc --watch --preserveWatchOutput", "watch-tsc": "tsc --watch --preserveWatchOutput",

View file

@ -4,7 +4,6 @@
"license": "MIT", "license": "MIT",
"main": "./index.js", "main": "./index.js",
"scripts": { "scripts": {
"postinstall": "tsc",
"compile": "tsc" "compile": "tsc"
}, },
"devDependencies": { "devDependencies": {

View file

@ -4,7 +4,6 @@
"license": "MIT", "license": "MIT",
"main": "./src/main.js", "main": "./src/main.js",
"scripts": { "scripts": {
"postinstall": "npm run compile",
"compile": "yarn --cwd ../automation compile && tsc", "compile": "yarn --cwd ../automation compile && tsc",
"watch-automation": "yarn --cwd ../automation watch", "watch-automation": "yarn --cwd ../automation watch",
"watch-smoke": "tsc --watch --preserveWatchOutput", "watch-smoke": "tsc --watch --preserveWatchOutput",