From ec4d43ba1dfe31ec05219dd22f5e2a050f0d28fd Mon Sep 17 00:00:00 2001 From: Anan Sangtongtum Date: Tue, 4 Sep 2018 09:54:26 +0700 Subject: [PATCH] add angular cil --- .angular-cli.json | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .editorconfig | 13 +++++++++++++ 2 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 .angular-cli.json create mode 100644 .editorconfig diff --git a/.angular-cli.json b/.angular-cli.json new file mode 100644 index 0000000..0b7c9e4 --- /dev/null +++ b/.angular-cli.json @@ -0,0 +1,66 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "project": { + "name": "demo-editer" + }, + "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": [ + "styles.css", + "../node_modules/froala-editor/css/froala_editor.pkgd.min.css", + "../node_modules/froala-editor/css/froala_style.min.css", + "../node_modules/font-awesome/css/font-awesome.css" + ], + "scripts": [ + "../node_modules/jquery/dist/jquery.min.js", + "../node_modules/froala-editor/js/froala_editor.pkgd.min.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", + "exclude": "**/node_modules/**" + }, + { + "project": "src/tsconfig.spec.json", + "exclude": "**/node_modules/**" + }, + { + "project": "e2e/tsconfig.e2e.json", + "exclude": "**/node_modules/**" + } + ], + "test": { + "karma": { + "config": "./karma.conf.js" + } + }, + "defaults": { + "styleExt": "css", + "component": {} + } +} diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6e87a00 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# Editor configuration, see http://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +max_line_length = off +trim_trailing_whitespace = false -- libgit2 0.21.2