From 5f37f3ee541f79d1a5dbcf2bf9a122bffac50685 Mon Sep 17 00:00:00 2001 From: cookfront Date: Fri, 10 Feb 2017 16:53:17 +0800 Subject: [PATCH] build add eslint --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 793bdeee6..447de6783 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "bootstrap": "npm i --registry=http://registry.npm.qima-inc.com", "build:file": "node build/bin/build-entry.js", - "build": "npm run clean && npm run build:file && npm run concat:dev && npm run concat:prod", + "build": "npm run clean && npm run lint && npm run build:file && npm run concat:dev && npm run concat:prod", "dev": "npm run bootstrap && npm run build:file", "builddocs": "webpack --progress --hide-modules --config build/webpack.config.js && set NODE_ENV=production webpack --progress --hide-modules --config build/webpack.config.js", "docs": "npm run dev && webpack-dev-server --inline --hot --config build/webpack.config.js",