Add automation to root postinstall script

This commit is contained in:
Jason Ginchereau 2019-09-09 09:30:34 -07:00
parent 883bf518a9
commit 3d08742789
2 changed files with 2 additions and 2 deletions

View file

@ -70,6 +70,7 @@ runtime "${runtime}"`;
}
yarnInstall(`build`); // node modules required for build
yarnInstall('test/automation'); // node modules required for smoketest
yarnInstall('test/smoke'); // node modules required for smoketest
yarnInstallBuildDependencies(); // node modules for watching, specific to host node version, not electron

View file

@ -3,9 +3,8 @@
"version": "0.1.0",
"main": "./src/main.js",
"scripts": {
"preinstall": "yarn --cwd ../automation",
"postinstall": "npm run compile",
"compile": "tsc",
"compile": "yarn --cwd ../automation compile && tsc",
"watch": "concurrently \"yarn --cwd ../automation watch --preserveWatchOutput\" \"tsc --watch --preserveWatchOutput\"",
"mocha": "mocha"
},