package.json 2.7 KB
Newer Older
1
{
2
  "name": "wechaty",
Huan (李卓桓)'s avatar
0.3.14  
Huan (李卓桓) 已提交
3
  "version": "0.3.14",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
4
  "description": "Wechat for Bot (Personal Account)",
5
  "main": "index.js",
6
  "wechaty": {
7 8
    "DEFAULT_HEAD": "chrome",
    "DEFAULT_PUPPET": "web",
9
    "DEFAULT_PROFILE": "default-profile-name",
10
    "DEFAULT_PORT": 18788,
11 12
    "DEFAULT_PUPPET_PORT": 28788,
    "BINARY_CHROMIUM": "/wechaty/bin/xvfb-chromium"
13
  },
14
  "scripts": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
15
    "lint": "npm run eslint && echo npm run tslint",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
16 17
    "eslint": "eslint \"{src,test}/**/*.js\"",
    "tslint": "tslint \"{src,test}/**/*.ts\"",
18
    "pretest": "npm run lint",
19
    "start": "node bin/io-bot",
20
    "demo": "node example/ding-dong-bot.js",
21
    "test": "cross-env LC_ALL=C WECHATY_LOG=info ava --timeout=10m \"{src,test}/**/*.spec.js\"",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
22
    "ava": "cross-env LC_ALL=C WECHATY_LOG=verbose ava \"{src,test}/**/*.spec.js\"",
23
    "testdev": "cross-env LC_ALL=C WECHATY_LOG=silly ava --serial --verbose --fail-fast --timeout=3m"
24 25 26 27 28
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zixia/wechaty.git"
  },
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
29
  "bin": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
30 31
    "io-bot": "bin/io-bot.js",
    "wechaty-version": "bin/version.js"
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
32
  },
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
  "keywords": [
    "wechat",
    "微信",
    "weixin",
    "personal",
    "bot",
    "robot",
    "chatbot",
    "framework",
    "wechaty",
    "微信控"
  ],
  "author": "Zhuohuan LI <zixia@zixia.net>",
  "license": "ISC",
  "bugs": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
48
    "url": "https://github.com/zixia/wechaty/issues"
49 50 51
  },
  "homepage": "https://github.com/zixia/wechaty#readme",
  "eslintConfig": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
52
    "env": {
53 54 55
      "browser": true,
      "node": true,
      "es6": true
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
56 57 58 59
    },
    "plugins": [
      "ava"
    ],
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
60 61 62 63 64 65 66 67 68
    "parser": "babel-eslint",
    "parserOptions": {
      "ecmaVersion": 7,
      "sourceType": "module",
      "ecmaFeatures": {
        "impliedStrict": true
      },
      "extends": "plugin:ava/recommended"
    }
69 70
  },
  "engines": {
71
    "node": ">= 6.0.0"
72 73
  },
  "dependencies": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
74
    "body-parser": "^1.15.2",
75
    "chromedriver": "^2.23.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
76 77 78 79
    "co": "^4.6.0",
    "eventemitter2": "^2.1.0",
    "express": "^4.13.4",
    "npmlog": "^4.0.0",
80
    "phantomjs-prebuilt": "^2.1.12",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
81 82 83 84 85
    "ps-tree": "^1.0.1",
    "retry-promise": "^1.0.0",
    "selenium-webdriver": "^3.0.0-beta-1",
    "socket.io": "^1.4.8",
    "ws": "^1.1.1"
86 87
  },
  "devDependencies": {
88
    "apiai": "^2.0.7",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
89
    "ava": "^0.16.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
90
    "babel-eslint": "^6.1.2",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
91 92
    "cookie-parser": "^1.4.3",
    "cross-env": "^2.0.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
93 94
    "eslint": "^3.4.0",
    "eslint-plugin-ava": "^3.0.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
95
    "qrcode-terminal": "^0.10.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
96
    "sinon": "^1.17.5",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
97 98 99
    "tslint": "^3.15.1",
    "tuling123-client": "0.0.1",
    "typescript": "^2.1.0-dev.20160830"
100 101 102 103 104 105 106 107 108
  },
  "files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955",
  "files": [
    "package.json",
    "README.md",
    "CHANGELOG",
    "LICENSE",
    "src/",
    "bin/"
109
  ]
110
}