Fix npm scripts for use on Windows

This commit is contained in:
William Brawner 2021-07-07 18:59:59 -06:00
parent 193faeb800
commit 3e70e402ea

View file

@ -2,15 +2,15 @@
"name": "budget", "name": "budget",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"ng": "node_modules/@angular/cli/bin/ng", "ng": "ng",
"start": "node_modules/@angular/cli/bin/ng serve --host '0.0.0.0'", "start": "ng serve --host '0.0.0.0'",
"code-server": "node_modules/@angular/cli/bin/ng serve --configuration=codeserver --host \"0.0.0.0\" --disable-host-check --poll=2000", "code-server": "ng serve --configuration=codeserver --host \"0.0.0.0\" --disable-host-check --poll=2000",
"build": "node_modules/@angular/cli/bin/ng build", "build": "ng build",
"package": "node_modules/@angular/cli/bin/ng build --prod --service-worker", "package": "ng build --prod --service-worker",
"publish": "node_modules/@angular/cli/bin/ng build --prod --service-worker && firebase deploy", "publish": "ng build --prod --service-worker && firebase deploy",
"test": "node_modules/@angular/cli/bin/ng test", "test": "ng test",
"lint": "node_modules/@angular/cli/bin/ng lint", "lint": "ng lint",
"e2e": "node_modules/@angular/cli/bin/ng e2e" "e2e": "ng e2e"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {