fix: npm script

This commit is contained in:
linonetwo 2023-06-16 11:37:51 +08:00
parent 00625ef88e
commit b4602ff355

View file

@ -5,10 +5,10 @@
"version": "0.8.0-prerelease12",
"license": "MPL 2.0",
"scripts": {
"start": "npm run clean && npm run start-without-clean",
"start": "npm run clean && npm run start:without-clean",
"start:without-clean": "cross-env NODE_ENV=development electron-forge start",
"start:without-clean:debug-worker": "cross-env NODE_ENV=development DEBUG_WORKER=true electron-forge start",
"test": "npm run clean && cross-env NODE_ENV=test npm run package && npm run test-without-package",
"test": "npm run clean && cross-env NODE_ENV=test npm run package && npm run test:without-package",
"test:without-package": "mkdir -p logs && cross-env NODE_ENV=test cucumber-js",
"package": "npm run init:git-submodule && electron-forge package",
"make:mac-x64": "npm run init:git-submodule && cross-env NODE_ENV=production electron-forge make --platform=darwin --arch=x64",