package.json 5.2 KB
Newer Older
1
{
2
  "name": "wechaty",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
3
  "version": "0.19.152",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
4
  "description": "Wechaty is a Bot SDK for Wechat Personal Account",
Huan (李卓桓)'s avatar
wip...  
Huan (李卓桓) 已提交
5
  "main": "dist/src/index.js",
6
  "typings": "dist/src/index.d.ts",
7
  "wechaty": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
8
    "DEFAULT_HEAD": 0,
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
9
    "DEFAULT_PORT": 8080,
10
    "DEFAULT_PROTOCOL": "io|0.0.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
11
    "DEFAULT_TOKEN": "WECHATY_IO_TOKEN",
12
    "DEFAULT_APIHOST": "api.chatie.io"
13
  },
14
  "scripts": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
15
    "clean": "shx rm -fr dist/*",
16
    "dist": "npm run clean && tsc",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
17
    "pack": "npm pack",
18
    "doc": "bash -x scripts/generate-docs.sh",
19
    "coverage": "nyc report --reporter=text-lcov | coveralls",
20
    "changelog": "github_changelog_generator -u chatie -p wechaty && sed -i'.bak' /greenkeeper/d CHANGELOG.md && sed -i'.bak' '/An in-range update of/d' CHANGELOG.md && ts-node scripts/sort-contributiveness.ts < CHANGELOG.md > CHANGELOG.new.md 2>/dev/null && cat CHANGELOG.md >> CHANGELOG.new.md && mv CHANGELOG.new.md CHANGELOG.md",
21
    "doctor": "npm run check-node-version && ts-node bin/doctor",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
22
    "check-node-version": "check-node-version --node \">= 10\"",
23
    "lint": "npm run check-node-version && npm run lint:ts && npm run lint:sh",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
24
    "lint:md": "markdownlint README.md",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
25
    "lint:ts": "tslint --project tsconfig.json && tsc --noEmit",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
26
    "lint:sh": "bash -n bin/*.sh",
27
    "puppet-install": "ts-node bin/puppet-install.ts",
28
    "sloc": "sloc bin examples scripts src tests --details --format cli-table --keys total,source,comment && sloc bin examples scripts src tests",
29
    "ts-node": "ts-node",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
30
    "test": "npm run lint && npm run test:unit && npm run test:shell && npm run sloc",
31
    "test:pack": "bash -x scripts/npm-pack-testing.sh",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
32
    "test:shell": "shellcheck bin/*.sh",
33 34
    "test:unit": "blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"",
    "test:unit:retry": "ts-node scripts/retry-unit-tests",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
35
    "test:debug": "blue-tape -r ts-node/register src/puppet-web/bridge.spec.ts",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
36
    "typedoc": "bash scripts/typedoc.sh",
37 38
    "io-client": "ts-node bin/io-client",
    "demo": "ts-node examples/ding-dong-bot.ts",
39
    "start": "npm run demo"
40 41 42
  },
  "repository": {
    "type": "git",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
43
    "url": "git+https://github.com/chatie/wechaty.git"
44
  },
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
45
  "bin": {
46
    "wechaty-doctor": "dist/bin/doctor.js",
47 48
    "wechaty-io-client": "dist/bin/io-client.js",
    "wechaty-puppet-install": "dist/bin/puppet-install.js",
49
    "wechaty-version": "dist/bin/version.js"
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
50
  },
51 52 53 54 55 56 57 58 59
  "keywords": [
    "wechat",
    "微信",
    "weixin",
    "personal",
    "bot",
    "robot",
    "chatbot",
    "framework",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
60
    "sdk",
61
    "wechaty",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
62
    "chatie",
63 64
    "微信控"
  ],
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
65
  "author": {
66
    "name": "Huan LI",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
67
    "email": "zixia@zixia.net",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
68
    "url": "https://www.zixia.net"
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
69
  },
70
  "license": "Apache-2.0",
71
  "bugs": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
72
    "url": "https://github.com/chatie/wechaty/issues"
73
  },
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
74
  "homepage": "https://chatie.io/wechaty/",
75
  "engines": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
76
    "node": ">= 10"
77 78
  },
  "dependencies": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
79
    "brolog": "^1.8.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
80
    "clone-class": "^0.6.11",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
81
    "cuid": "^2.1.1",
82
    "file-box": "^0.8.23",
83
    "hot-import": "^0.2.1",
84
    "memory-card": "^0.6.9",
85
    "npm-programmatic": "0.0.11",
86
    "pkg-dir": "^3.0.0",
87
    "promise-retry": "^1.1.1",
88
    "qr-image": "^3.2.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
89
    "raven": "^2.6.2",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
90
    "read-pkg-up": "^4.0.0",
91
    "state-switch": "^0.6.2",
92
    "watchdog": "^0.8.1",
93
    "wechaty-puppet": "^0.13.14",
94
    "ws": "^6.0.0"
95 96
  },
  "devDependencies": {
97 98 99
    "@babel/core": "^7.0.0-beta.51",
    "@babel/node": "^7.0.0-beta.51",
    "@babel/preset-env": "^7.0.0-beta.51",
100
    "@types/blessed": "^0.1.10",
101
    "@types/blue-tape": "^0.1.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
102
    "@types/cuid": "^1.3.0",
103
    "@types/fluent-ffmpeg": "^2.1.0",
104
    "@types/fs-extra": "^5.0.3",
105 106
    "@types/glob": "^5.0.0p",
    "@types/mime": "^2.0.0",
107
    "@types/node": "^10.3.0",
108
    "@types/pkg-dir": "^2.0.0",
109
    "@types/promise-retry": "^1.1.1",
110
    "@types/qr-image": "^3.2.1",
111
    "@types/raven": "^2.1.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
112
    "@types/read-pkg-up": "^3.0.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
113
    "@types/request": "^2.47.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
114
    "@types/semver": "^5.5.0",
115
    "@types/sinon": "^5.0.0",
116
    "@types/ws": "^5.1.0",
117
    "apiai": "^4.0.0",
118 119
    "blessed": "^0.1.81",
    "blessed-contrib": "^4.8.5",
120
    "blue-tape": "^1.0.0",
121
    "check-node-version": "^3.0.0",
122
    "coveralls": "^3.0.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
123
    "cross-env": "^5.1.6",
124
    "finis": "^0.4.1",
125
    "fluent-ffmpeg": "^2.1.0",
126
    "git-scripts": "git+https://github.com/nkzawa/git-scripts.git",
127
    "gl-matrix": "^2.6.1",
128
    "glob": "^7.1.0",
129
    "jsdoc-to-markdown": "^4.0.0",
130
    "markdownlint-cli": "^0.12.0",
131
    "nyc": "^12.0.1",
132
    "qrcode-terminal": "^0.12.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
133
    "request": "^2.87.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
134
    "semver": "^5.5.0",
135
    "shx": "^0.3.0",
136
    "sinon": "^6.0.0",
137
    "sloc": "^0.2.0",
138
    "ts-node": "^7.0.0",
139
    "tslint": "^5.11.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
140
    "tslint-config-standard": "^7.0.0",
141
    "tuling123-client": "^0.0.2",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
142
    "typedoc": "^0.11.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
143
    "typescript": "^3.1.0-dev.20180731",
144
    "wechaty-puppet-mock": "^0.8.6"
145 146 147 148 149
  },
  "files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955",
  "files": [
    "CHANGELOG",
    "LICENSE",
150 151
    "README.md",
    "package.json",
152
    "bin",
153 154
    "dist/bin",
    "dist/index.*",
155 156
    "dist/src",
    "src"
157
  ],
158 159 160 161 162
  "git": {
    "scripts": {
      "pre-push": "./scripts/pre-push.sh"
    }
  },
163
  "publishConfig": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
164
    "access": "public",
165
    "tag": "latest"
166
  }
Huan (李卓桓)'s avatar
0.7.58  
Huan (李卓桓) 已提交
167
}