From a145a3ec32725bbfc135ff5d9a28533380fad177 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Thu, 14 Jan 2016 16:47:01 +0800 Subject: [PATCH] chore: update package.json --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1de69345a4..3eae53fd8c 100644 --- a/package.json +++ b/package.json @@ -122,8 +122,9 @@ "site": "npm run clean && webpack --config webpack.deploy.config.js && webpack --config webpack.antd.config.js && NODE_ENV=PRODUCTION nico build", "deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy", "just-deploy": "npm run site && node scripts/deploy.js", - "lint": "eslint components test index.js --ext '.js,.jsx' && npm run mdlint && npm run lesshint", - "mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0'", + "lint": "npm run srclint && npm run mdlint && npm run lesshint", + "srclint": "eslint --fix components test index.js --ext '.js,.jsx'", + "mdlint": "eslint --fix components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0'", "lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'", "test": "npm run lint && webpack && npm run jest", "jest": "jest",