build: auto generate electron.d.ts in the spec runner if it is missing

This commit is contained in:
Samuel Attard
2019-03-10 16:24:27 -07:00
parent ca701bb9af
commit 3656d12cba
3 changed files with 26 additions and 11 deletions

View File

@@ -7,7 +7,6 @@
"postinstall": "node ../tools/run-if-exists.js node_modules/robotjs node-gyp rebuild"
},
"devDependencies": {
"abstract-socket": "github:nornagon/node-abstractsocket#v8-compat",
"basic-auth": "^2.0.1",
"bluebird": "^3.5.3",
"chai": "^4.2.0",
@@ -33,6 +32,7 @@
"yargs": "^12.0.5"
},
"optionalDependencies": {
"abstract-socket": "github:nornagon/node-abstractsocket#v8-compat",
"robotjs": "github:nornagon/robotjs#node-12"
}
}