mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
105 lines
3.2 KiB
JSON
105 lines
3.2 KiB
JSON
{
|
|
"$schema": "../node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": ".",
|
|
"projects": {
|
|
"angular-dev": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss",
|
|
"standalone": true,
|
|
"changeDetection": "OnPush"
|
|
}
|
|
},
|
|
"root": ".",
|
|
"sourceRoot": "src",
|
|
"prefix": "adev",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:application",
|
|
"options": {
|
|
"externalDependencies": [
|
|
"path"
|
|
],
|
|
"outputPath": "dist/angular-dev",
|
|
"index": "src/index.html",
|
|
"browser": "src/main.ts",
|
|
"server": "src/main.server.ts",
|
|
// TODO(josephperrott): enabled prerender
|
|
"prerender": false,
|
|
"polyfills": ["src/polyfills.ts", "zone.js"],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/robots.txt",
|
|
"src/assets"
|
|
],
|
|
"styles": ["@angular/docs/styles/global-styles.scss"],
|
|
"scripts": [],
|
|
"webWorkerTsConfig": "tsconfig.worker.json",
|
|
"optimization": {
|
|
"fonts": {
|
|
// TODO(josephperrott): enabled inline scripts
|
|
"inline": false
|
|
}
|
|
}
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "angular-dev:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "angular-dev:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development",
|
|
"options": {
|
|
"buildTarget": "web-ui:build",
|
|
"headers": {
|
|
"Cross-Origin-Opener-Policy": "same-origin",
|
|
"Cross-Origin-Embedder-Policy": "require-corp"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "angular-dev:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"polyfills": ["zone.js", "zone.js/testing"],
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"include": ["src/app"],
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
|
"styles": ["@angular/docs/styles/global-styles.scss"],
|
|
"scripts": [],
|
|
"webWorkerTsConfig": "tsconfig.worker.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": "dca119a9-da31-47f7-a6cb-b60541037021"
|
|
}
|
|
}
|