Created
September 20, 2018 17:13
-
-
Save 1nv1n/63ec946ee7b125799350b506c8281012 to your computer and use it in GitHub Desktop.
Angular6MonacoAngularJSON
This file contains hidden or 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": { | |
"angular-material-electron": { | |
"root": "", | |
"sourceRoot": "src", | |
"projectType": "application", | |
"architect": { | |
"build": { | |
"builder": "@angular-devkit/build-angular:browser", | |
"options": { | |
"outputPath": "dist", | |
"index": "src/index.html", | |
"main": "src/main.ts", | |
"tsConfig": "src/tsconfig.app.json", | |
"polyfills": "src/polyfills.ts", | |
"assets": [ | |
"src/assets", | |
"src/assets/favicon/favicon.ico", | |
"src/assets/favicon/favicon.png", | |
"src/assets/favicon/favicon.icns", | |
"src/assets/favicon/favicon.256x256.png", | |
"src/assets/favicon/favicon.512x512.png", | |
{ "glob": "**/*", "input": "../node_modules/ngx-monaco-editor/assets/monaco", "output": "./assets/monaco/" } | |
], | |
"styles": ["src/styles.scss", "src/theme.scss"], | |
"scripts": [] | |
}, | |
"configurations": { | |
"dev": { | |
"optimization": false, | |
"outputHashing": "all", | |
"sourceMap": true, | |
"extractCss": true, | |
"namedChunks": false, | |
"aot": false, | |
"extractLicenses": true, | |
"vendorChunk": false, | |
"buildOptimizer": false, | |
"fileReplacements": [ | |
{ | |
"replace": "src/environments/environment.ts", | |
"with": "src/environments/environment.dev.ts" | |
} | |
] | |
}, | |
"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": "angular-material-electron:build" | |
}, | |
"configurations": { | |
"dev": { | |
"browserTarget": "angular-material-electron:build:dev" | |
}, | |
"production": { | |
"browserTarget": "angular-material-electron:build:production" | |
} | |
} | |
}, | |
"extract-i18n": { | |
"builder": "@angular-devkit/build-angular:extract-i18n", | |
"options": { | |
"browserTarget": "angular-material-electron:build" | |
} | |
}, | |
"test": { | |
"builder": "@angular-devkit/build-angular:karma", | |
"options": { | |
"main": "src/test.ts", | |
"polyfills": "src/polyfills-test.ts", | |
"tsConfig": "src/tsconfig.spec.json", | |
"karmaConfig": "src/karma.conf.js", | |
"scripts": [], | |
"styles": ["src/styles.scss"], | |
"assets": [ | |
"src/assets", | |
"src/assets/favicon/favicon.ico", | |
"src/assets/favicon/favicon.png", | |
"src/assets/favicon/favicon.icns", | |
"src/assets/favicon/favicon.256x256.png", | |
"src/assets/favicon/favicon.512x512.png" | |
] | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"], | |
"exclude": ["**/node_modules/**"] | |
} | |
} | |
} | |
}, | |
"angular-material-electron-e2e": { | |
"root": "e2e", | |
"projectType": "application", | |
"architect": { | |
"e2e": { | |
"builder": "@angular-devkit/build-angular:protractor", | |
"options": { | |
"protractorConfig": "e2e/protractor.conf.js", | |
"devServerTarget": "angular-material-electron:serve" | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": ["e2e/tsconfig.e2e.json"], | |
"exclude": ["**/node_modules/**"] | |
} | |
} | |
} | |
} | |
}, | |
"defaultProject": "angular-material-electron", | |
"schematics": { | |
"@schematics/angular:component": { | |
"prefix": "app", | |
"styleext": "scss" | |
}, | |
"@schematics/angular:directive": { | |
"prefix": "app" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment