Add explicit 'node' to scripts

Otherwise they just get run with the windows scripting host
on Windows which does not go so well.
This commit is contained in:
David Baker 2019-12-10 14:33:41 +00:00
parent 056f33db37
commit e361292b96

View File

@ -13,8 +13,8 @@
"files": [], "files": [],
"scripts": { "scripts": {
"mkdirs": "mkdir -p packages && mkdir -p deploys", "mkdirs": "mkdir -p packages && mkdir -p deploys",
"fetch": "yarn run mkdirs && scripts/fetch-package.js", "fetch": "yarn run mkdirs && node scripts/fetch-package.js",
"check": "scripts/check-webapp.js", "check": "node scripts/check-webapp.js",
"start": "yarn run check && yarn install:electron && electron .", "start": "yarn run check && yarn install:electron && electron .",
"install:electron": "electron-builder install-app-deps", "install:electron": "electron-builder install-app-deps",
"lint": "eslint src/", "lint": "eslint src/",