diff --git a/package.json b/package.json index c530b8024d5d0e1ce4e2e01a7cc2602f34908a0c..ef59f8dd39227cb892c79422aa5ced618af4ec06 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\"",