-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created configuration file that is loaded during run time with app initializer and provides url for API
- Loading branch information
1 parent
55437f8
commit 5fc308a
Showing
6 changed files
with
275 additions
and
203 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,175 +1,176 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"unipollApp": { | ||
"projectType": "application", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"style": "scss" | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"unipollApp": { | ||
"projectType": "application", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"style": "scss" | ||
} | ||
}, | ||
"root": "", | ||
"sourceRoot": "src", | ||
"prefix": "app", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"outputPath": "dist/unipoll-app", | ||
"index": "src/index.html", | ||
"main": "src/main.ts", | ||
"polyfills": [ | ||
"zone.js" | ||
], | ||
"tsConfig": "tsconfig.app.json", | ||
"inlineStyleLanguage": "scss", | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets", | ||
"src/config.json" | ||
], | ||
"styles": [ | ||
"@angular/material/prebuilt-themes/deeppurple-amber.css", | ||
"src/styles.scss", | ||
"node_modules/prismjs/themes/prism-okaidia.css", | ||
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css", | ||
"node_modules/prismjs/plugins/command-line/prism-command-line.css", | ||
"node_modules/katex/dist/katex.min.css" | ||
], | ||
"scripts": [ | ||
"node_modules/marked/marked.min.js", | ||
"node_modules/prismjs/prism.js", | ||
"node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js", | ||
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js", | ||
"node_modules/prismjs/plugins/command-line/prism-command-line.js", | ||
"node_modules/prismjs/components/prism-css.min.js", | ||
"node_modules/prismjs/components/prism-bash.min.js", | ||
"node_modules/prismjs/components/prism-c.min.js", | ||
"node_modules/prismjs/components/prism-cpp.min.js", | ||
"node_modules/prismjs/components/prism-diff.min.js", | ||
"node_modules/prismjs/components/prism-javascript.min.js", | ||
"node_modules/prismjs/components/prism-latex.min.js", | ||
"node_modules/prismjs/components/prism-markup.min.js", | ||
"node_modules/prismjs/components/prism-markdown.min.js", | ||
"node_modules/prismjs/components/prism-python.min.js", | ||
"node_modules/prismjs/components/prism-typescript.min.js", | ||
"node_modules/emoji-toolkit/lib/js/joypixels.min.js", | ||
"node_modules/katex/dist/katex.min.js", | ||
"node_modules/katex/dist/contrib/auto-render.min.js", | ||
"node_modules/mermaid/dist/mermaid.min.js", | ||
"node_modules/clipboard/dist/clipboard.min.js" | ||
] | ||
}, | ||
"configurations": { | ||
"production": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "src/environments/environment.ts", | ||
"with": "src/environments/environment.production.ts" | ||
} | ||
}, | ||
"root": "", | ||
"sourceRoot": "src", | ||
"prefix": "app", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"outputPath": "dist/unipoll-app", | ||
"index": "src/index.html", | ||
"main": "src/main.ts", | ||
"polyfills": [ | ||
"zone.js" | ||
], | ||
"tsConfig": "tsconfig.app.json", | ||
"inlineStyleLanguage": "scss", | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets" | ||
], | ||
"styles": [ | ||
"@angular/material/prebuilt-themes/deeppurple-amber.css", | ||
"src/styles.scss", | ||
"node_modules/prismjs/themes/prism-okaidia.css", | ||
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css", | ||
"node_modules/prismjs/plugins/command-line/prism-command-line.css", | ||
"node_modules/katex/dist/katex.min.css" | ||
], | ||
"scripts": [ | ||
"node_modules/marked/marked.min.js", | ||
"node_modules/prismjs/prism.js", | ||
"node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js", | ||
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js", | ||
"node_modules/prismjs/plugins/command-line/prism-command-line.js", | ||
"node_modules/prismjs/components/prism-css.min.js", | ||
"node_modules/prismjs/components/prism-bash.min.js", | ||
"node_modules/prismjs/components/prism-c.min.js", | ||
"node_modules/prismjs/components/prism-cpp.min.js", | ||
"node_modules/prismjs/components/prism-diff.min.js", | ||
"node_modules/prismjs/components/prism-javascript.min.js", | ||
"node_modules/prismjs/components/prism-latex.min.js", | ||
"node_modules/prismjs/components/prism-markup.min.js", | ||
"node_modules/prismjs/components/prism-markdown.min.js", | ||
"node_modules/prismjs/components/prism-python.min.js", | ||
"node_modules/prismjs/components/prism-typescript.min.js", | ||
"node_modules/emoji-toolkit/lib/js/joypixels.min.js", | ||
"node_modules/katex/dist/katex.min.js", | ||
"node_modules/katex/dist/contrib/auto-render.min.js", | ||
"node_modules/mermaid/dist/mermaid.min.js", | ||
"node_modules/clipboard/dist/clipboard.min.js" | ||
] | ||
}, | ||
"configurations": { | ||
"production": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "src/environments/environment.ts", | ||
"with": "src/environments/environment.production.ts" | ||
} | ||
], | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "10mb", | ||
"maximumError": "20mb" | ||
}, | ||
{ | ||
"type": "anyComponentStyle", | ||
"maximumWarning": "8kb", | ||
"maximumError": "10kb" | ||
} | ||
], | ||
"outputHashing": "all" | ||
}, | ||
"development": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "src/environments/environment.ts", | ||
"with": "src/environments/environment.development.ts" | ||
} | ||
], | ||
"buildOptimizer": false, | ||
"optimization": false, | ||
"vendorChunk": true, | ||
"extractLicenses": false, | ||
"sourceMap": true, | ||
"namedChunks": true | ||
} | ||
}, | ||
"defaultConfiguration": "production" | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "unipollApp:build:production" | ||
}, | ||
"development": { | ||
"browserTarget": "unipollApp:build:development" | ||
} | ||
}, | ||
"defaultConfiguration": "development" | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"browserTarget": "unipollApp:build" | ||
} | ||
], | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "10mb", | ||
"maximumError": "20mb" | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"polyfills": [ | ||
"zone.js", | ||
"zone.js/testing" | ||
], | ||
"tsConfig": "tsconfig.spec.json", | ||
"inlineStyleLanguage": "scss", | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets" | ||
], | ||
"styles": [ | ||
"@angular/material/prebuilt-themes/deeppurple-amber.css", | ||
"src/styles.scss", | ||
"node_modules/prismjs/themes/prism-okaidia.css", | ||
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css", | ||
"node_modules/prismjs/plugins/command-line/prism-command-line.css", | ||
"node_modules/katex/dist/katex.min.css" | ||
], | ||
"scripts": [ | ||
"node_modules/marked/marked.min.js", | ||
"node_modules/prismjs/prism.js", | ||
"node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js", | ||
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js", | ||
"node_modules/prismjs/plugins/command-line/prism-command-line.js", | ||
"node_modules/prismjs/plugins/autoloader/prism-autoloader.min.js", | ||
"node_modules/prismjs/components/prism-css.min.js", | ||
"node_modules/prismjs/components/prism-bash.min.js", | ||
"node_modules/prismjs/components/prism-c.min.js", | ||
"node_modules/prismjs/components/prism-cpp.min.js", | ||
"node_modules/prismjs/components/prism-diff.min.js", | ||
"node_modules/prismjs/components/prism-javascript.min.js", | ||
"node_modules/prismjs/components/prism-latex.min.js", | ||
"node_modules/prismjs/components/prism-markup.min.js", | ||
"node_modules/prismjs/components/prism-markdown.min.js", | ||
"node_modules/prismjs/components/prism-python.min.js", | ||
"node_modules/prismjs/components/prism-typescript.min.js", | ||
"node_modules/emoji-toolkit/lib/js/joypixels.min.js", | ||
"node_modules/katex/dist/katex.min.js", | ||
"node_modules/katex/dist/contrib/auto-render.min.js", | ||
"node_modules/mermaid/dist/mermaid.min.js", | ||
"node_modules/clipboard/dist/clipboard.min.js" | ||
], | ||
"karmaConfig": "karma.conf.js" | ||
} | ||
{ | ||
"type": "anyComponentStyle", | ||
"maximumWarning": "8kb", | ||
"maximumError": "10kb" | ||
} | ||
], | ||
"outputHashing": "all" | ||
}, | ||
"development": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "src/environments/environment.ts", | ||
"with": "src/environments/environment.development.ts" | ||
} | ||
], | ||
"buildOptimizer": false, | ||
"optimization": false, | ||
"vendorChunk": true, | ||
"extractLicenses": false, | ||
"sourceMap": true, | ||
"namedChunks": true | ||
} | ||
}, | ||
"defaultConfiguration": "production" | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "unipollApp:build:production" | ||
}, | ||
"development": { | ||
"browserTarget": "unipollApp:build:development" | ||
} | ||
}, | ||
"defaultConfiguration": "development" | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"browserTarget": "unipollApp:build" | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"polyfills": [ | ||
"zone.js", | ||
"zone.js/testing" | ||
], | ||
"tsConfig": "tsconfig.spec.json", | ||
"inlineStyleLanguage": "scss", | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets" | ||
], | ||
"styles": [ | ||
"@angular/material/prebuilt-themes/deeppurple-amber.css", | ||
"src/styles.scss", | ||
"node_modules/prismjs/themes/prism-okaidia.css", | ||
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css", | ||
"node_modules/prismjs/plugins/command-line/prism-command-line.css", | ||
"node_modules/katex/dist/katex.min.css" | ||
], | ||
"scripts": [ | ||
"node_modules/marked/marked.min.js", | ||
"node_modules/prismjs/prism.js", | ||
"node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js", | ||
"node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js", | ||
"node_modules/prismjs/plugins/command-line/prism-command-line.js", | ||
"node_modules/prismjs/plugins/autoloader/prism-autoloader.min.js", | ||
"node_modules/prismjs/components/prism-css.min.js", | ||
"node_modules/prismjs/components/prism-bash.min.js", | ||
"node_modules/prismjs/components/prism-c.min.js", | ||
"node_modules/prismjs/components/prism-cpp.min.js", | ||
"node_modules/prismjs/components/prism-diff.min.js", | ||
"node_modules/prismjs/components/prism-javascript.min.js", | ||
"node_modules/prismjs/components/prism-latex.min.js", | ||
"node_modules/prismjs/components/prism-markup.min.js", | ||
"node_modules/prismjs/components/prism-markdown.min.js", | ||
"node_modules/prismjs/components/prism-python.min.js", | ||
"node_modules/prismjs/components/prism-typescript.min.js", | ||
"node_modules/emoji-toolkit/lib/js/joypixels.min.js", | ||
"node_modules/katex/dist/katex.min.js", | ||
"node_modules/katex/dist/contrib/auto-render.min.js", | ||
"node_modules/mermaid/dist/mermaid.min.js", | ||
"node_modules/clipboard/dist/clipboard.min.js" | ||
], | ||
"karmaConfig": "karma.conf.js" | ||
} | ||
} | ||
}, | ||
"cli": { | ||
"analytics": false | ||
} | ||
} | ||
} | ||
}, | ||
"cli": { | ||
"analytics": false | ||
} | ||
} |
Oops, something went wrong.