From 5349737cd10fd2002fa0a99a347eedcfbb39915f Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Wed, 13 Sep 2017 16:14:41 +0800 Subject: [PATCH] clost #https://github.com/ant-design/test/issues/69 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7b5fd807..d397ccc8 100755 --- a/package.json +++ b/package.json @@ -2,12 +2,12 @@ "name": "ant-design-pro", "private": true, "scripts": { + "precommit": "npm run lint", "start": "roadhog server", "build": "roadhog build", + "site": "roadhog-api-doc static", "lint:style": "stylelint \"src/**/*.less\" --syntax less", "lint": "eslint --ext .js src mock tests && npm run lint:style", - "precommit": "npm run lint", - "site": "roadhog-api-doc static", "test": "jest", "test:all": "node ./tests/run-tests.js" }, -- GitLab