Modify some configuration for build
modify config, i18n package.json tsconfig.json files content deleted typing.json file
Issue-ID:CLIENT-164
Change-Id: Ifcaa9a53692ed79d58da84553ad4ccd1bb590d1b
Signed-off-by: YILI <li.yi101@zte.com.cn>
diff --git a/alarm-analysis/src/main/webapp/package.json b/alarm-analysis/src/main/webapp/package.json
index 9ba38e8..d426d54 100644
--- a/alarm-analysis/src/main/webapp/package.json
+++ b/alarm-analysis/src/main/webapp/package.json
@@ -3,10 +3,10 @@
"version": "1.0.0",
"description": "alarm-analysis",
"scripts": {
- "start": "webpack-dev-server --inline --progress",
- "test": "karma start",
- "build": "rimraf dist && webpack --config config/webpack.prod.js --progress --profile --bail",
- "postinstall": "typings install"
+ "build": " rimraf dist && webpack --config config/webpack.prod.js --progress --profile --bail",
+ "start": "webpack-dev-server",
+ "tslint": "tslint",
+ "lint": "npm run tslint \"src/**/*.ts\" "
},
"licenses": [
{
@@ -14,55 +14,56 @@
"url": "https://github.com/angular/angular.io/blob/master/LICENSE"
}
],
- "dependencies": {
- "@angular/common": "~2.0.1",
- "@angular/compiler": "~2.0.1",
- "@angular/core": "~2.0.1",
- "@angular/forms": "~2.0.1",
- "@angular/http": "~2.0.1",
- "@angular/platform-browser": "~2.0.1",
- "@angular/platform-browser-dynamic": "~2.0.1",
+ "dependencies": {
+ "@angular/common": "~2.3.1",
+ "@angular/compiler": "~2.3.1",
+ "@angular/core": "~2.3.1",
+ "@angular/forms": "~2.3.1",
+ "@angular/http": "~2.3.1",
+ "@angular/platform-browser": "~2.3.1",
+ "@angular/platform-browser-dynamic": "~2.3.1",
"@angular/router": "~3.0.1",
- "@angular/upgrade": "~2.0.1",
+ "@angular/upgrade": "~2.3.1",
+ "@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.20",
"angular-in-memory-web-api": "~0.1.1",
+ "angular2-router-loader": "^0.3.4",
+ "angular2-template-loader": "^0.6.0",
+ "awesome-typescript-loader": "^3.0.0-beta.18",
"bootstrap": "^3.3.7",
"core-js": "^2.4.1",
- "ng2-bs3-modal": "^0.10.4",
- "ng2-translate": "^4.2.0",
+ "ie-shim": "^0.1.0",
+ "json-load": "^1.0.1",
+ "ng2-translate": "^5.0.0",
+ "primeng": "^2.0.0-rc.1",
"reflect-metadata": "^0.1.8",
"rxjs": "5.0.0-beta.12",
- "systemjs": "0.19.39",
- "zone.js": "^0.6.25"
+ "to-string-loader": "^1.1.5",
+ "tslint-eslint-rules": "^3.4.0",
+ "webpack-dev-server": "^1.16.2",
+ "zone.js": "^0.6.26"
},
"devDependencies": {
- "angular2-template-loader": "^0.4.0",
- "awesome-typescript-loader": "^2.2.4",
- "css-loader": "^0.23.1",
- "extract-text-webpack-plugin": "^1.0.1",
- "file-loader": "^0.8.5",
- "file-saver": "^1.3.3",
- "html-loader": "^0.4.3",
- "html-webpack-plugin": "^2.15.0",
- "html2canvas": "^0.5.0-beta4",
- "jasmine-core": "^2.4.1",
- "jquery": "^3.1.1",
- "jqueryui": "^1.11.1",
- "karma": "^1.2.0",
- "karma-jasmine": "^1.0.2",
- "karma-sourcemap-loader": "^0.3.7",
- "karma-webpack": "^1.8.0",
- "ng2-bootstrap": "^1.3.0",
- "ng2-bs3-modal": "^0.10.4",
- "null-loader": "^0.1.1",
+ "@ngtools/webpack": "1.1.4",
+ "@types/core-js": "0.9.35",
+ "@types/jasmine": "2.5.40",
+ "@types/node": "6.0.60",
+ "codelyzer": "~2.0.0-beta.4",
+ "concurrently": "^3.0.0",
+ "copy-webpack-plugin": "^4.0.1",
+ "css-loader": "^0.25.0",
+ "extract-text-webpack-plugin": "~2.0.0-rc.3",
+ "file-loader": "^0.10.1",
+ "html-loader": "0.4.4",
+ "html-webpack-plugin": "2.24.1",
"raw-loader": "^0.5.1",
- "restify": "^4.1.1",
- "rimraf": "^2.5.2",
- "style-loader": "^0.13.1",
- "typescript": "2.0.10",
- "typings": "^1.3.2",
- "util": "^0.10.3",
- "webpack": "^1.13.0",
- "webpack-dev-server": "^1.14.1",
- "webpack-merge": "^0.14.0"
+ "style-loader": "^0.13.2",
+ "tslint": "~4.4.2",
+ "tslint-loader": "^3.3.0",
+ "typescript": "^2.0.8",
+ "vrsource-tslint-rules": "^4.0.1",
+ "webpack": "~2.2.1",
+ "webpack-dev-server": "^1.16.2",
+ "webpack-merge": "^0.15.0"
}
}
+
\ No newline at end of file