From b0e569de0b00aa3f89a79e2c908b6d4a13a47a10 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 10 Jan 2018 13:04:41 +0800 Subject: [PATCH] bug修改 --- package.json | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a3f832f..cdfaf25 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,32 @@ { "name": "screen-frontend", "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