272 lines
8.5 KiB
JSON
272 lines
8.5 KiB
JSON
{
|
|
"version": 1,
|
|
"projects": {
|
|
"contact-model": {
|
|
"root": "libs/contact-model",
|
|
"sourceRoot": "libs/contact-model/src",
|
|
"projectType": "library",
|
|
"schematics": {},
|
|
"architect": {
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"libs/contact-model/tsconfig.lib.json",
|
|
"libs/contact-model/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**", "!libs/contact-model/**"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "libs/contact-model/jest.config.js",
|
|
"tsConfig": "libs/contact-model/tsconfig.spec.json",
|
|
"setupFile": "libs/contact-model/src/test-setup.ts"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parent-form": {
|
|
"projectType": "application",
|
|
"schematics": {},
|
|
"root": "apps/parent-form",
|
|
"sourceRoot": "apps/parent-form/src",
|
|
"prefix": "nested-forms",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/apps/parent-form",
|
|
"index": "apps/parent-form/src/index.html",
|
|
"main": "apps/parent-form/src/main.ts",
|
|
"polyfills": "apps/parent-form/src/polyfills.ts",
|
|
"tsConfig": "apps/parent-form/tsconfig.app.json",
|
|
"aot": false,
|
|
"assets": [
|
|
"apps/parent-form/src/favicon.ico",
|
|
"apps/parent-form/src/assets"
|
|
],
|
|
"styles": ["apps/parent-form/src/styles.css"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/parent-form/src/environments/environment.ts",
|
|
"with": "apps/parent-form/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "parent-form:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "parent-form:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "parent-form:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"apps/parent-form/tsconfig.app.json",
|
|
"apps/parent-form/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**", "!apps/parent-form/**"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "apps/parent-form/jest.config.js",
|
|
"tsConfig": "apps/parent-form/tsconfig.spec.json",
|
|
"setupFile": "apps/parent-form/src/test-setup.ts"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parent-form-e2e": {
|
|
"root": "apps/parent-form-e2e",
|
|
"sourceRoot": "apps/parent-form-e2e/src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@nrwl/cypress:cypress",
|
|
"options": {
|
|
"cypressConfig": "apps/parent-form-e2e/cypress.json",
|
|
"tsConfig": "apps/parent-form-e2e/tsconfig.e2e.json",
|
|
"devServerTarget": "parent-form:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "parent-form:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["apps/parent-form-e2e/tsconfig.e2e.json"],
|
|
"exclude": ["**/node_modules/**", "!apps/parent-form-e2e/**"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"global-form": {
|
|
"projectType": "application",
|
|
"schematics": {},
|
|
"root": "apps/global-form",
|
|
"sourceRoot": "apps/global-form/src",
|
|
"prefix": "nested-forms",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/apps/global-form",
|
|
"index": "apps/global-form/src/index.html",
|
|
"main": "apps/global-form/src/main.ts",
|
|
"polyfills": "apps/global-form/src/polyfills.ts",
|
|
"tsConfig": "apps/global-form/tsconfig.app.json",
|
|
"aot": false,
|
|
"assets": [
|
|
"apps/global-form/src/favicon.ico",
|
|
"apps/global-form/src/assets"
|
|
],
|
|
"styles": ["apps/global-form/src/styles.css"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/global-form/src/environments/environment.ts",
|
|
"with": "apps/global-form/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"extractCss": true,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "global-form:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "global-form:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "global-form:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"apps/global-form/tsconfig.app.json",
|
|
"apps/global-form/tsconfig.spec.json"
|
|
],
|
|
"exclude": ["**/node_modules/**", "!apps/global-form/**"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "apps/global-form/jest.config.js",
|
|
"tsConfig": "apps/global-form/tsconfig.spec.json",
|
|
"setupFile": "apps/global-form/src/test-setup.ts"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"global-form-e2e": {
|
|
"root": "apps/global-form-e2e",
|
|
"sourceRoot": "apps/global-form-e2e/src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@nrwl/cypress:cypress",
|
|
"options": {
|
|
"cypressConfig": "apps/global-form-e2e/cypress.json",
|
|
"tsConfig": "apps/global-form-e2e/tsconfig.e2e.json",
|
|
"devServerTarget": "global-form:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "global-form:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["apps/global-form-e2e/tsconfig.e2e.json"],
|
|
"exclude": ["**/node_modules/**", "!apps/global-form-e2e/**"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"defaultCollection": "@nrwl/angular"
|
|
},
|
|
"schematics": {
|
|
"@nrwl/angular:application": {
|
|
"unitTestRunner": "jest",
|
|
"e2eTestRunner": "cypress"
|
|
},
|
|
"@nrwl/angular:library": {
|
|
"unitTestRunner": "jest"
|
|
}
|
|
}
|
|
}
|