fix: remove opening browser for yarn start (#605)
This commit is contained in:
Родитель
7c4848c3a7
Коммит
f6c4dc3585
|
@ -2,4 +2,5 @@
|
|||
# relative to index.html
|
||||
# without it, you'll see error like this
|
||||
# Failed to load resource: net::ERR_FILE_NOT_FOUND /favicon.ico:1
|
||||
PUBLIC_URL=
|
||||
PUBLIC_URL=
|
||||
BROWSER=none
|
|
@ -50,7 +50,7 @@
|
|||
"yarn": "^1.22.4"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "nf start -p 3000",
|
||||
"start": "env-cmd -f .env.electron nf start -p 3000",
|
||||
"compile": "tsc",
|
||||
"build": "react-scripts build",
|
||||
"react-start": "react-scripts start",
|
||||
|
@ -63,7 +63,7 @@
|
|||
"electron:start:dev": "yarn electron-start",
|
||||
"electron:start:prod": "yarn webpack:prod && yarn electron-start",
|
||||
"electron-start": "node src/electron/start",
|
||||
"release": "env-cmd -f .env.release yarn build && yarn webpack:prod && yarn electron-builder",
|
||||
"release": "env-cmd -f .env.electron yarn build && yarn webpack:prod && yarn electron-builder",
|
||||
"tslint": "./node_modules/.bin/tslint 'src/**/*.ts*'",
|
||||
"tslintfix": "./node_modules/.bin/tslint 'src/**/*.ts*' --fix"
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче