improve war file generation

This commit is contained in:
Denys Vuika 2018-09-21 09:29:03 +01:00
parent 3084d1a33d
commit dba0cac71d

View File

@ -8,7 +8,7 @@
"start:prod": "npm run server-versions && ng serve --prod --open",
"build": "npm run server-versions && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app --prod",
"build:dev": "npm run server-versions && ng build",
"build:war": "mkdir -p dist/tomcat && jar -cvf dist/tomcat/alfresco-content-app.war -C dist/app/ .",
"build:war": "npm run build -- --base-href ./ && mkdir -p dist/tomcat && jar -cvf dist/tomcat/alfresco-content-app.war -C dist/app/ .",
"test": "ng test app --code-coverage",
"test:ci": "ng test app --code-coverage --watch=false",
"lint": "ng lint",