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