Created
February 16, 2020 22:29
-
-
Save MehmetSert/2b9a26f3cfa386e5d960c6145068c9cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"version": 1, | |
"newProjectRoot": "projects", | |
"projects": { | |
"kodumunblogu": { | |
"root": "", | |
"sourceRoot": "src", | |
"projectType": "application", | |
"prefix": "app", | |
"schematics": { | |
"@schematics/angular:component": { | |
"styleext": "scss" | |
} | |
}, | |
"architect": { | |
"build": { | |
"builder": "@angular-devkit/build-angular:browser", | |
"options": { | |
"aot": true, | |
"outputPath": "dist/kodumunblogu/browser", | |
"index": "src/index.html", | |
"main": "src/main.ts", | |
"polyfills": "src/polyfills.ts", | |
"tsConfig": "tsconfig.app.json", | |
"assets": [ | |
"src/favicon.ico", | |
"src/assets", | |
"src/manifest.webmanifest" | |
], | |
"styles": [ | |
"src/assets/css/scss/site.scss" | |
], | |
"scripts": [ | |
"node_modules/jquery/dist/jquery.min.js", | |
"node_modules/bootstrap/dist/js/bootstrap.min.js", | |
"node_modules/quill/dist/quill.min.js", | |
"node_modules/chart.js/dist/Chart.min.js" | |
] | |
}, | |
"configurations": { | |
"production": { | |
"fileReplacements": [ | |
{ | |
"replace": "src/environments/environment.ts", | |
"with": "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" | |
}, | |
{ | |
"type": "anyComponentStyle", | |
"maximumWarning": "6kb" | |
} | |
], | |
"serviceWorker": true, | |
"ngswConfigPath": "ngsw-config.json" | |
} | |
} | |
}, | |
"serve": { | |
"builder": "@angular-devkit/build-angular:dev-server", | |
"options": { | |
"browserTarget": "kodumunblogu:build" | |
}, | |
"configurations": { | |
"production": { | |
"browserTarget": "kodumunblogu:build:production" | |
} | |
} | |
}, | |
"extract-i18n": { | |
"builder": "@angular-devkit/build-angular:extract-i18n", | |
"options": { | |
"browserTarget": "kodumunblogu:build" | |
} | |
}, | |
"test": { | |
"builder": "@angular-devkit/build-angular:karma", | |
"options": { | |
"main": "src/test.ts", | |
"polyfills": "src/polyfills.ts", | |
"tsConfig": "tsconfig.spec.json", | |
"karmaConfig": "src/karma.conf.js", | |
"styles": [ | |
"src/styles.scss" | |
], | |
"scripts": [], | |
"assets": [ | |
"src/favicon.ico", | |
"src/assets", | |
"src/manifest.webmanifest" | |
] | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": [ | |
"tsconfig.app.json", | |
"tsconfig.spec.json" | |
], | |
"exclude": [ | |
"**/node_modules/**" | |
] | |
} | |
}, | |
"server": { | |
"builder": "@angular-devkit/build-angular:server", | |
"options": { | |
"outputPath": "dist/kodumunblogu/server", | |
"main": "server.ts", | |
"tsConfig": "tsconfig.server.json" | |
}, | |
"configurations": { | |
"production": { | |
"fileReplacements": [ | |
{ | |
"replace": "src/environments/environment.ts", | |
"with": "src/environments/environment.prod.ts" | |
} | |
], | |
"optimization": true | |
} | |
} | |
}, | |
"serve-ssr": { | |
"builder": "@nguniversal/builders:ssr-dev-server", | |
"options": { | |
"browserTarget": "kodumunblogu:build", | |
"serverTarget": "kodumunblogu:server" | |
}, | |
"configurations": { | |
"production": { | |
"browserTarget": "kodumunblogu:build:production", | |
"serverTarget": "kodumunblogu:server:production" | |
} | |
} | |
}, | |
"prerender": { | |
"builder": "@nguniversal/builders:prerender", | |
"options": { | |
"browserTarget": "kodumunblogu:build:production", | |
"serverTarget": "kodumunblogu:server:production", | |
"routes": [ | |
"/" | |
] | |
}, | |
"configurations": { | |
"production": {} | |
} | |
} | |
} | |
}, | |
"kodumunblogu-e2e": { | |
"root": "e2e/", | |
"projectType": "application", | |
"prefix": "", | |
"architect": { | |
"e2e": { | |
"builder": "@angular-devkit/build-angular:protractor", | |
"options": { | |
"protractorConfig": "e2e/protractor.conf.js", | |
"devServerTarget": "kodumunblogu:serve" | |
}, | |
"configurations": { | |
"production": { | |
"devServerTarget": "kodumunblogu:serve:production" | |
} | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": "e2e/tsconfig.e2e.json", | |
"exclude": [ | |
"**/node_modules/**" | |
] | |
} | |
} | |
} | |
} | |
}, | |
"defaultProject": "kodumunblogu", | |
"cli": { | |
"analytics": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment