merge
Showing
package.json
100644 → 100755
... | ... | @@ -15,12 +15,14 @@ |
"CMD_CHROMIUM": "/wechaty/bin/xvfb-chromium" | ||
}, | ||
"scripts": { | ||
"ava": "ava --verbose --extension ts", | ||
"ts-node": "ts-node", | ||
"dist": "npm run clean && tsc && shx cp package.json dist/ && shx cp src/puppet-web/*.js dist/src/puppet-web/", | ||
"coverage": "nyc report --reporter=text-lcov | coveralls", | ||
"doctor": "check-node-version --node '>= 6.9' && ts-node bin/doctor", | ||
"doctor": "npm run check-node-version && ts-node bin/doctor", | ||
"clean": "shx rm -fr dist/*", | ||
"lint": "check-node-version --node '>= 6.9' && npm run eslint && npm run tslint", | ||
"check-node-version": "check-node-version --node \">= 6.9\"", | ||
"lint": "npm run check-node-version && npm run eslint && npm run tslint", | ||
"nycava": "WECHATY_HEAD=chrome nyc ava --serial --fail-fast --verbose --timeout=3m \"dist/{src,test}/**/*.spec.js\"", | ||
"eslint": "eslint \"{bin,example,src,test}/**/*.js\" --ignore-pattern=\"test/fixture/**\"", | ||
"tslint": "tslint \"{bin,example,src,test}/**/*.ts\" --exclude=\"test/fixture/**\" --exclude=\"dist/\" && tsc --noEmit", | ||
... | ... | @@ -34,7 +36,6 @@ |
"test:chrome:fast": "cross-env LC_ALL=C WECHATY_HEAD=chrome ava --fail-fast --timeout=3m \"dist/{src,test}/**/*.spec.js\"", | ||
"testdev": "cross-env LC_ALL=C WECHATY_LOG=silly ava --ext ts --serial --verbose --fail-fast --timeout=2m", | ||
"testdist": "cross-env WECHATY_LOG=SILLY WECHATY_HEAD=chrome ava --ext ts --verbose --fail-fast --timeout=2m", | ||
"ava": "ava --extension ts", | ||
"io-client": "ts-node bin/io-client", | ||
"dev": "ts-node dev.ts", | ||
"demo": "ts-node example/ding-dong-bot.ts", | ||
... | ... | @@ -107,7 +108,7 @@ |
"is-ci": "1.0.9", | ||
"is-docker": "1.1.0", | ||
"moment": "2.17.0", | ||
"ps-tree": "1.0.1", | ||
"ps-tree": "^1.1.0", | ||
"retry-promise": "1.0.0", | ||
"selenium-webdriver": "3.0.0", | ||
"socket.io": "1.4.8", | ||
... | ... | @@ -119,7 +120,7 @@ |
"@types/fluent-ffmpeg": "0.0.2", | ||
"@types/mime": "0.0.29", | ||
"@types/node": "6.0.54", | ||
"@types/request": "0.0.36", | ||
"@types/request": "0.0.37", | ||
"@types/sinon": "1.16.33", | ||
"@types/ws": "0.0.37", | ||
"apiai": "3.0.3", | ||
... | ... | @@ -139,7 +140,7 @@ |
"shx": "0.2.1", | ||
"sinon": "1.17.5", | ||
"sloc": "0.1.11", | ||
"ts-node": "1.4.1", | ||
"ts-node": "1.7.3", | ||
"tslint": "4.1.1", | ||
"tuling123-client": "0.0.1", | ||
"typescript": "2.1.4", | ||
... | ... |
想要评论请 注册 或 登录