提交 027badcc 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add typescript config

上级 3da1016f
......@@ -12,7 +12,9 @@
"BINARY_CHROMIUM": "/wechaty/bin/xvfb-chromium"
},
"scripts": {
"lint": "eslint src test || echo ok",
"lint": "echo skip lint - 'npm run eslint && npm run tslint'",
"eslint": "eslint \"{src,test}/**/*.js\"",
"tslint": "tslint \"{src,test}/**/*.ts\"",
"pretest": "npm run lint",
"start": "node bin/io-bot",
"demo": "node example/ding-dong-bot.js",
......@@ -78,7 +80,9 @@
"eslint": "^3.3.1",
"qrcode-terminal": "^0.10.0",
"sinon": "^1.17.5",
"tuling123-client": "0.0.1"
"tslint": "^3.15.1",
"tuling123-client": "0.0.1",
"typescript": "^2.1.0-dev.20160830"
},
"files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955",
"files": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册