TSK-977: Add linting to build pipeline

This commit is contained in:
BVier 2019-12-09 16:25:52 +01:00 committed by Mustapha Zorgati
parent 22b0b2170b
commit e2e7acacc6
2 changed files with 7 additions and 6 deletions

View File

@ -27,6 +27,7 @@ function main() {
WEB)
set -x
(cd $REL/../web && npm install --silent)
(cd $REL/../web && npm run lint)
(cd $REL/../web && npm run build)
;;
LIB)

View File

@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"admin": {
"taskana-web": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
@ -53,18 +53,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "admin:build"
"browserTarget": "taskana-web:build"
},
"configurations": {
"production": {
"browserTarget": "admin:build:production"
"browserTarget": "taskana-web:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "admin:build"
"browserTarget": "taskana-web:build"
}
},
"test": {
@ -100,13 +100,13 @@
}
}
},
"admin-e2e": {
"taskana-web-e2e": {
"root": "",
"sourceRoot": "e2e",
"projectType": "application"
}
},
"defaultProject": "admin",
"defaultProject": "taskana-web",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",