192 lines
5.7 KiB
JSON
192 lines
5.7 KiB
JSON
{
|
|
"$schema": "node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"cli": {
|
|
"defaultCollection": "@nrwl/angular",
|
|
"analytics": false,
|
|
"packageManager": "yarn"
|
|
},
|
|
"defaultProject": "red-ui",
|
|
"schematics": {
|
|
"@nrwl/angular:application": {
|
|
"unitTestRunner": "jest",
|
|
"e2eTestRunner": "cypress"
|
|
},
|
|
"@nrwl/angular:library": {
|
|
"unitTestRunner": "jest"
|
|
}
|
|
},
|
|
"projects": {
|
|
"red-ui": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "apps/red-ui",
|
|
"sourceRoot": "apps/red-ui/src",
|
|
"prefix": "redaction",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/apps/red-ui",
|
|
"index": "apps/red-ui/src/index.html",
|
|
"main": "apps/red-ui/src/main.ts",
|
|
"polyfills": "apps/red-ui/src/polyfills.ts",
|
|
"tsConfig": "apps/red-ui/tsconfig.app.json",
|
|
"assets": [
|
|
"apps/red-ui/src/favicon.ico",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@pdftron/webviewer/public/",
|
|
"output": "/assets/wv-resources/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "apps/red-ui/src/assets/",
|
|
"output": "/assets/"
|
|
},
|
|
"apps/red-ui/src/manifest.webmanifest"
|
|
],
|
|
"styles": ["apps/red-ui/src/styles.scss"],
|
|
"scripts": ["node_modules/@pdftron/webviewer/webviewer.min.js"],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/red-ui/src/environments/environment.ts",
|
|
"with": "apps/red-ui/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
],
|
|
"serviceWorker": true,
|
|
"ngswConfigPath": "apps/red-ui/ngsw-config.json"
|
|
}
|
|
},
|
|
"outputs": ["{options.outputPath}"]
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "red-ui:build",
|
|
"proxyConfig": "proxy.config.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "red-ui:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "red-ui:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/red-ui/src/**/*.ts", "apps/red-ui/src/**/*.html"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "apps/red-ui/jest.config.js",
|
|
"passWithNoTests": true
|
|
},
|
|
"outputs": ["coverage/apps/red-ui"]
|
|
}
|
|
}
|
|
},
|
|
"red-ui-http": {
|
|
"projectType": "library",
|
|
"root": "libs/red-ui-http",
|
|
"sourceRoot": "libs/red-ui-http/src",
|
|
"prefix": "redaction",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
"options": {
|
|
"tsConfig": "libs/red-ui-http/tsconfig.lib.json",
|
|
"project": "libs/red-ui-http/ng-package.json"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["libs/red-ui-http/src/**/*.ts", "libs/red-ui-http/src/**/*.html"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "libs/red-ui-http/jest.config.js",
|
|
"passWithNoTests": true
|
|
},
|
|
"outputs": ["coverage/libs/red-ui-http"]
|
|
}
|
|
},
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
}
|
|
},
|
|
"red-cache": {
|
|
"projectType": "library",
|
|
"root": "libs/red-cache",
|
|
"sourceRoot": "libs/red-cache/src",
|
|
"prefix": "redaction",
|
|
"architect": {
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["libs/red-cache/src/**/*.ts", "libs/red-cache/src/**/*.html"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "libs/red-cache/jest.config.js",
|
|
"passWithNoTests": true
|
|
},
|
|
"outputs": ["coverage/libs/red-cache"]
|
|
}
|
|
},
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|