Created
May 18, 2017 11:08
-
-
Save dmastag/db73d7390237cd39f1a55a817abb5338 to your computer and use it in GitHub Desktop.
Example of adding scripts and styles
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", | |
"project": { | |
"name": "app-web" | |
}, | |
"apps": [ | |
{ | |
"root": "src", | |
"outDir": "dist", | |
"assets": [ | |
"assets", | |
"favicon.ico" | |
], | |
"index": "index.html", | |
"main": "main.ts", | |
"polyfills": "polyfills.ts", | |
"test": "test.ts", | |
"tsconfig": "tsconfig.app.json", | |
"testTsconfig": "tsconfig.spec.json", | |
"prefix": "app", | |
"styles": [ | |
"../node_modules/bootstrap/dist/css/bootstrap.css", | |
"../node_modules/sweetalert2/dist/sweetalert2.css", | |
"styles.scss" | |
], | |
"scripts": [ | |
"../node_modules/jquery/dist/jquery.js", | |
"../node_modules/tether/dist/js/tether.js", | |
"../node_modules/bootstrap/dist/js/bootstrap.js" | |
], | |
"environmentSource": "environments/environment.ts", | |
"environments": { | |
"dev": "environments/environment.ts", | |
"prod": "environments/environment.prod.ts" | |
} | |
} | |
], | |
"e2e": { | |
"protractor": { | |
"config": "./protractor.conf.js" | |
} | |
}, | |
"lint": [ | |
{ | |
"project": "src/tsconfig.app.json" | |
}, | |
{ | |
"project": "src/tsconfig.spec.json" | |
}, | |
{ | |
"project": "e2e/tsconfig.e2e.json" | |
} | |
], | |
"test": { | |
"karma": { | |
"config": "./karma.conf.js" | |
} | |
}, | |
"defaults": { | |
"styleExt": "scss", | |
"component": {} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment