From 1af458b57e1d119d1319195a9b03f19a687686dc Mon Sep 17 00:00:00 2001 From: "Zhuohuan LI (CARPE DIEM)" Date: Wed, 26 Oct 2016 16:41:53 +0800 Subject: [PATCH] fix sloc directorys --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c530b802..ef59f8dd 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint": "eslint \"{bin,example,src,test}/**/*.js\"", "tslint": "tslint \"{bin,example,src,test}/**/*.ts\" && tsc --noEmit", "pretest": "npm run lint && npm run clean && npm run build", - "sloc": "sloc . --details --format cli-table --keys total,source,comment --exclude \"\\.\\.[\\/]|dist[\\/]|doc[\\/]|node_modules[\\/]\" && sloc ./ --exclude \"\\.\\.[\\/]|dist[\\/]|doc[\\/]|node_modules[\\/]\"", + "sloc": "sloc {bin,example,script,src,test,index.ts} --details --format cli-table --keys total,source,comment && sloc {bin,example,script,src,test,index.ts}", "test": "npm run test:chrome", "posttest": "npm run clean && npm run sloc", "test:phantomjs": "cross-env LC_ALL=C WECHATY_LOG=info WECHATY_HEAD=phantomjs ava --timeout=10m \"dist/test/*.spec.js\"", -- GitLab