mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
223 lines
6.7 KiB
JSON
223 lines
6.7 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"app": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/app",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
"polyfills": "src/polyfills.ts",
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"src/app/ui"
|
|
]
|
|
},
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon-96x96.png",
|
|
"src/app.config.json",
|
|
"src/versions.json",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/adf-core/prebuilt-themes",
|
|
"output": "/assets/prebuilt-themes"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/adf-core/bundles/assets",
|
|
"output": "/assets"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/adf-content-services/bundles/assets",
|
|
"output": "/assets"
|
|
},
|
|
{
|
|
"glob": "pdf.worker.min.js",
|
|
"input": "node_modules/pdfjs-dist/build",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/monaco-editor/min",
|
|
"output": "./assets/monaco"
|
|
},
|
|
{
|
|
"glob": "**/*.js",
|
|
"input": "node_modules/@ngstack/code-editor/workers",
|
|
"output": "./assets/workers"
|
|
},
|
|
{
|
|
"glob": "dev.tools.json",
|
|
"input": "node_modules/@denysvuika/aca-dev-tools/assets",
|
|
"output": "./assets/plugins"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/assets/fonts/material-icons/material-icons.css",
|
|
"src/assets/fonts/muli/muli.css",
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": [
|
|
"node_modules/pdfjs-dist/build/pdf.js",
|
|
"node_modules/pdfjs-dist/web/pdf_viewer.js",
|
|
"node_modules/moment/min/moment.min.js"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "app:build",
|
|
"port": 4200,
|
|
"host": "0.0.0.0",
|
|
"proxyConfig": "proxy.conf.js"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "app:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "app:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"karmaConfig": "./karma.conf.js",
|
|
"sourceMap": true,
|
|
"polyfills": "src/polyfills.ts",
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"src/app/ui"
|
|
]
|
|
},
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
"scripts": [
|
|
"node_modules/pdfjs-dist/build/pdf.js",
|
|
"node_modules/pdfjs-dist/web/pdf_viewer.js",
|
|
"node_modules/moment/min/moment.min.js"
|
|
],
|
|
"styles": [
|
|
"src/assets/fonts/material-icons/material-icons.css",
|
|
"src/assets/fonts/muli/muli.css",
|
|
"src/styles.scss"
|
|
],
|
|
"assets": [
|
|
"src/assets",
|
|
"src/favicon-96x96.png",
|
|
"src/app.config.json",
|
|
"src/versions.json",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/adf-core/prebuilt-themes",
|
|
"output": "/assets/prebuilt-themes"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/adf-core/bundles/assets",
|
|
"output": "/assets"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@alfresco/adf-content-services/bundles/assets",
|
|
"output": "/assets"
|
|
},
|
|
{
|
|
"glob": "pdf.worker.min.js",
|
|
"input": "node_modules/pdfjs-dist/build",
|
|
"output": "/"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"src/tsconfig.app.json",
|
|
"src/tsconfig.spec.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"app-e2e": {
|
|
"root": "e2e",
|
|
"sourceRoot": "e2e",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "./protractor.conf.js",
|
|
"devServerTarget": "app:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "app:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"e2e/tsconfig.e2e.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "app",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"prefix": "aca",
|
|
"styleext": "scss"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"prefix": "aca"
|
|
}
|
|
}
|
|
}
|