From 9720e7d6a706d79f50778af6a39ce6fba79955ed Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Fri, 20 Jul 2018 09:26:29 +0800 Subject: Change the buiding tool to angular-cli Change-Id: Iacc77251238b9d8b2893dbbf311775f9fb7425d3 Issue-ID: HOLMES-111 Signed-off-by: GuangrongFu --- rulemgt-frontend/.angular-cli.json | 67 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 rulemgt-frontend/.angular-cli.json (limited to 'rulemgt-frontend/.angular-cli.json') diff --git a/rulemgt-frontend/.angular-cli.json b/rulemgt-frontend/.angular-cli.json new file mode 100644 index 0000000..67cb647 --- /dev/null +++ b/rulemgt-frontend/.angular-cli.json @@ -0,0 +1,67 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "project": { + "name": "holmes" + }, + "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", + "./assets/common/css/fileupload.css", + "./assets/common/css/popModal.css", + "./assets/framework/browser/css/open-ostyle.css", + "./assets/framework/browser/thirdparty/css/bootstrap.min.css", + "./assets/framework/browser/thirdparty/css/magic-check.css" + ], + "scripts": [ + "../node_modules/jquery/dist/jquery.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": {} + } +} -- cgit 1.2.3-korg