Skip to content

Instantly share code, notes, and snippets.

@olegkorol
Created October 1, 2016 18:37
Show Gist options
  • Save olegkorol/d77951e3ba3a5ff2c798e96c807c1a02 to your computer and use it in GitHub Desktop.
Save olegkorol/d77951e3ba3a5ff2c798e96c807c1a02 to your computer and use it in GitHub Desktop.
Example Angular 2 config file
{
"project": {
"version": "vestion",
"name": "project_name"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": "assets",
"index": "index.html",
"main": "main.ts",
"test": "test.ts",
"tsconfig": "tsconfig.json",
"prefix": "app",
"mobile": false,
"styles": [
"styles.css",
"assets/semantic/dist/semantic.min.css"
],
"scripts": [
"assets/semantic/dist/semantic.min.js"
],
"environments": {
"source": "environments/environment.ts",
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"addons": [],
"packages": [],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"prefixInterfaces": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment