From c93ce3ae7d39079eb8a2b13bea747e5c4636242d Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Tue, 19 Dec 2017 23:04:42 +0800
Subject: [PATCH] updates
---
package.json | 30 +++++++++++++++++++++++-------
1 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/package.json b/package.json
index bc25aac..cdfaf25 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",
--
Gitblit v1.8.0