mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
use generic app name in angular config
This commit is contained in:
+7
-7
@@ -3,7 +3,7 @@
|
||||
"version": 1,
|
||||
"newProjectRoot": "projects",
|
||||
"projects": {
|
||||
"alfresco-content-app": {
|
||||
"app": {
|
||||
"root": "",
|
||||
"sourceRoot": "src",
|
||||
"projectType": "application",
|
||||
@@ -92,21 +92,21 @@
|
||||
"serve": {
|
||||
"builder": "@angular-devkit/build-angular:dev-server",
|
||||
"options": {
|
||||
"browserTarget": "alfresco-content-app:build",
|
||||
"browserTarget": "app:build",
|
||||
"port": 4200,
|
||||
"host": "0.0.0.0",
|
||||
"proxyConfig": "proxy.conf.js"
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"browserTarget": "alfresco-content-app:build:production"
|
||||
"browserTarget": "app:build:production"
|
||||
}
|
||||
}
|
||||
},
|
||||
"extract-i18n": {
|
||||
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"browserTarget": "alfresco-content-app:build"
|
||||
"browserTarget": "app:build"
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
@@ -175,7 +175,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"alfresco-content-app-e2e": {
|
||||
"app-e2e": {
|
||||
"root": "e2e",
|
||||
"sourceRoot": "e2e",
|
||||
"projectType": "application",
|
||||
@@ -184,7 +184,7 @@
|
||||
"builder": "@angular-devkit/build-angular:protractor",
|
||||
"options": {
|
||||
"protractorConfig": "./protractor.conf.js",
|
||||
"devServerTarget": "alfresco-content-app:serve"
|
||||
"devServerTarget": "app:serve"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
@@ -281,7 +281,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "alfresco-content-app",
|
||||
"defaultProject": "app",
|
||||
"schematics": {
|
||||
"@schematics/angular:component": {
|
||||
"prefix": "aca",
|
||||
|
||||
+3
-3
@@ -10,8 +10,8 @@
|
||||
"build.libs.prod": "ng build adf-extensions --prod && ng build aca-dev-tools --prod",
|
||||
"build": "npm run server-versions && npm run build.libs.prod && ng build --prod",
|
||||
"build:dev": "npm run server-versions && npm run build.libs.dev && ng build",
|
||||
"test": "npm run build.libs.dev && ng test alfresco-content-app --code-coverage",
|
||||
"test:ci": "npm run build.libs.dev && ng test alfresco-content-app --code-coverage --watch=false && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage",
|
||||
"test": "npm run build.libs.dev && ng test app --code-coverage",
|
||||
"test:ci": "npm run build.libs.dev && ng test app --code-coverage --watch=false && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage",
|
||||
"lint": "ng lint",
|
||||
"server-versions": "rimraf ./src/versions.json && npm list --depth=0 --json=true --prod=true > ./src/versions.json || exit 0",
|
||||
"_e2e": "ng e2e",
|
||||
@@ -21,7 +21,7 @@
|
||||
"stop:docker": "docker-compose stop",
|
||||
"e2e:docker": "npm run start:docker && npm run e2e && npm run stop:docker",
|
||||
"spellcheck": "cspell 'src/**/*.ts' 'e2e/**/*.ts' 'projects/**/*.ts'",
|
||||
"inspect.bundle": "ng build alfresco-content-app --prod --stats-json && npx webpack-bundle-analyzer dist/app/stats.json"
|
||||
"inspect.bundle": "ng build app --prod --stats-json && npx webpack-bundle-analyzer dist/app/stats.json"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user