Using cross-env instead of pure environment variable specification to make it work on windows.

This commit is contained in:
mike12345567 2021-02-24 10:13:16 +00:00
parent 92035e982b
commit 90f9be36dd
2 changed files with 927 additions and 7 deletions

View File

@ -36,7 +36,7 @@
"test:integration": "jest routes --runInBand", "test:integration": "jest routes --runInBand",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"run:docker": "node src/index", "run:docker": "node src/index",
"dev:builder": "PORT=4001 nodemon src/index.js", "dev:builder": "cross-env PORT=4001 nodemon src/index.js",
"electron": "electron src/electron.js", "electron": "electron src/electron.js",
"build:electron": "electron-builder --dir", "build:electron": "electron-builder --dir",
"publish:electron": "electron-builder -mwl --publish always", "publish:electron": "electron-builder -mwl --publish always",
@ -106,6 +106,7 @@
}, },
"devDependencies": { "devDependencies": {
"@jest/test-sequencer": "^24.8.0", "@jest/test-sequencer": "^24.8.0",
"cross-env": "^7.0.3",
"electron": "10.1.3", "electron": "10.1.3",
"electron-builder": "^22.9.1", "electron-builder": "^22.9.1",
"electron-builder-notarize": "^1.1.2", "electron-builder-notarize": "^1.1.2",

File diff suppressed because it is too large Load Diff