From 31b12ff843f263b8c0bbb3ea0818c562c51fc496 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Thu, 12 Jul 2018 11:55:39 +0800
Subject: [PATCH] updates

---
 package.json |   34 +++++++++++++++++++++++++---------
 1 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/package.json b/package.json
index bc25aac..a51175e 100644
--- a/package.json
+++ b/package.json
@@ -1,16 +1,32 @@
 {
   "name": "screen-frontend",
-  "version": "0.0.0",
+  "version": "1.0.0",
+  "description": "ng-zorro-antd admin panel front-end framework",
+  "author": "cipchk",
+  "homepage": "https://cipchk.github.io/ng-alain/",
+  "bugs": {
+    "url": "https://github.com/cipchk/ng-alain/issues"
+  },
+  "engines": {
+    "node": ">= 4.2.1",
+    "npm": ">= 3"
+  },
   "license": "MIT",
   "scripts": {
+    "precommit": "npm run lint-staged",
     "ng": "ng",
-    "start": "ng serve",
-    "build": "ng build",
-    "test": "ng test",
-    "lint": "ng lint",
-    "e2e": "ng e2e"
+    "start": "ng serve -o",
+    "serve:hmr": "ng serve -o --hmr -e=hmr",
+    "build": "ng build --prod --build-optimizer",
+    "analyze": "ng build --prod --build-optimizer --stats-json",
+    "lint": "run-s lint:ts lint:style",
+    "lint:ts": "ng lint",
+    "lint:style": "stylelint \"{src}/**/*.less\" --syntax less",
+    "lint-staged": "lint-staged",
+    "e2e": "ng e2e",
+    "test": "ng test -sr",
+    "test-coverage": "ng test -sr -cc"
   },
-  "private": true,
   "dependencies": {
     "@angular/animations": "^5.0.0",
     "@angular/common": "^5.0.0",
@@ -22,8 +38,8 @@
     "@angular/platform-browser-dynamic": "^5.0.0",
     "@angular/router": "^5.0.0",
     "@antv/data-set": "^0.7.0",
-    "@antv/g2": "^3.0.1",
-    "@antv/g2-plugin-slider": "^2.0.0",
+    "@antv/g2": "^3.2.2",
+    "@antv/g2-plugin-slider": "^2.0.3",
     "@delon/abc": "^0.3.0-rc.1",
     "@delon/acl": "^0.3.0-rc.1",
     "@delon/theme": "^0.3.0-rc.1",

--
Gitblit v1.8.0