Commit ec4d43ba1dfe31ec05219dd22f5e2a050f0d28fd
1 parent
b140204c
Exists in
master
add angular cil
Showing
2 changed files
with
79 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,66 @@ | @@ -0,0 +1,66 @@ | ||
| 1 | +{ | ||
| 2 | + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
| 3 | + "project": { | ||
| 4 | + "name": "demo-editer" | ||
| 5 | + }, | ||
| 6 | + "apps": [ | ||
| 7 | + { | ||
| 8 | + "root": "src", | ||
| 9 | + "outDir": "dist", | ||
| 10 | + "assets": [ | ||
| 11 | + "assets", | ||
| 12 | + "favicon.ico" | ||
| 13 | + ], | ||
| 14 | + "index": "index.html", | ||
| 15 | + "main": "main.ts", | ||
| 16 | + "polyfills": "polyfills.ts", | ||
| 17 | + "test": "test.ts", | ||
| 18 | + "tsconfig": "tsconfig.app.json", | ||
| 19 | + "testTsconfig": "tsconfig.spec.json", | ||
| 20 | + "prefix": "app", | ||
| 21 | + "styles": [ | ||
| 22 | + "styles.css", | ||
| 23 | + "../node_modules/froala-editor/css/froala_editor.pkgd.min.css", | ||
| 24 | + "../node_modules/froala-editor/css/froala_style.min.css", | ||
| 25 | + "../node_modules/font-awesome/css/font-awesome.css" | ||
| 26 | + ], | ||
| 27 | + "scripts": [ | ||
| 28 | + "../node_modules/jquery/dist/jquery.min.js", | ||
| 29 | + "../node_modules/froala-editor/js/froala_editor.pkgd.min.js" | ||
| 30 | + ], | ||
| 31 | + "environmentSource": "environments/environment.ts", | ||
| 32 | + "environments": { | ||
| 33 | + "dev": "environments/environment.ts", | ||
| 34 | + "prod": "environments/environment.prod.ts" | ||
| 35 | + } | ||
| 36 | + } | ||
| 37 | + ], | ||
| 38 | + "e2e": { | ||
| 39 | + "protractor": { | ||
| 40 | + "config": "./protractor.conf.js" | ||
| 41 | + } | ||
| 42 | + }, | ||
| 43 | + "lint": [ | ||
| 44 | + { | ||
| 45 | + "project": "src/tsconfig.app.json", | ||
| 46 | + "exclude": "**/node_modules/**" | ||
| 47 | + }, | ||
| 48 | + { | ||
| 49 | + "project": "src/tsconfig.spec.json", | ||
| 50 | + "exclude": "**/node_modules/**" | ||
| 51 | + }, | ||
| 52 | + { | ||
| 53 | + "project": "e2e/tsconfig.e2e.json", | ||
| 54 | + "exclude": "**/node_modules/**" | ||
| 55 | + } | ||
| 56 | + ], | ||
| 57 | + "test": { | ||
| 58 | + "karma": { | ||
| 59 | + "config": "./karma.conf.js" | ||
| 60 | + } | ||
| 61 | + }, | ||
| 62 | + "defaults": { | ||
| 63 | + "styleExt": "css", | ||
| 64 | + "component": {} | ||
| 65 | + } | ||
| 66 | +} |
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +# Editor configuration, see http://editorconfig.org | ||
| 2 | +root = true | ||
| 3 | + | ||
| 4 | +[*] | ||
| 5 | +charset = utf-8 | ||
| 6 | +indent_style = space | ||
| 7 | +indent_size = 2 | ||
| 8 | +insert_final_newline = true | ||
| 9 | +trim_trailing_whitespace = true | ||
| 10 | + | ||
| 11 | +[*.md] | ||
| 12 | +max_line_length = off | ||
| 13 | +trim_trailing_whitespace = false |