Tweak package.json for easier development

This commit is contained in:
phil 2024-12-22 02:43:07 +01:00
parent 5e8a6ab7db
commit 1f16faf060

View file

@ -12,12 +12,12 @@
"angular-cli": {}, "angular-cli": {},
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng serve --proxy-config proxy.conf.json --watch", "start": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng serve --proxy-config proxy.conf.json --host 0.0.0.0 --watch",
"build": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build", "build": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e", "e2e": "ng e2e",
"openapi-ts": "openapi-ts -i http://127.0.0.1:5000/openapi.json -o src/app/openapi --client angular", "openapi-ts": "openapi-ts -i http://127.0.0.1:5080/openapi.json -o src/app/openapi --client angular",
"source-map-explorer": "source-map-explorer dist/*.js", "source-map-explorer": "source-map-explorer dist/*.js",
"version": "echo \"{\\\"version\\\":\\\"$(git describe --tags --dirty --always)\\\"}\" > src/version.json" "version": "echo \"{\\\"version\\\":\\\"$(git describe --tags --dirty --always)\\\"}\" > src/version.json"
}, },