UNPKG

5.37 kBJSONView Raw
1{
2 "name": "wechaty",
3 "version": "0.62.3",
4 "description": "Wechaty is a RPA SDK for Chatbot Makers.",
5 "main": "dist/src/mod.js",
6 "typings": "dist/src/mod.d.ts",
7 "engines": {
8 "node": ">= 12"
9 },
10 "wechaty": {
11 "DEFAULT_PORT": 8080,
12 "DEFAULT_PROTOCOL": "io|0.0.1",
13 "DEFAULT_APIHOST": "api.chatie.io"
14 },
15 "scripts": {
16 "build": "tsc",
17 "clean": "shx rm -fr dist/*",
18 "dist": "npm-run-all clean build",
19 "pack": "npm pack",
20 "docs": "bash -x scripts/generate-docs.sh",
21 "coverage": "nyc report --reporter=text-lcov | coveralls",
22 "changelog": "docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v \"$(pwd)\":/usr/local/src/your-app ferrarimarco/github-changelog-generator -u wechaty -p wechaty && sed -i'.bak' /greenkeeper/d CHANGELOG.md && sed -i'.bak' /Snyk/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",
23 "doctor": "npm run check-node-version && ts-node bin/doctor",
24 "check-node-version": "check-node-version --node \">= 12\"",
25 "lint": "npm-run-all check-node-version lint:es lint:ts lint:sh lint:md",
26 "lint:es": "eslint --ignore-pattern node_modules/ --ignore-pattern fixtures/ \"{bin,examples,src,scripts,tests}/**/*.ts\"",
27 "lint:md": "markdownlint README.md",
28 "lint:ts": "tsc --noEmit",
29 "lint:sh": "bash -n bin/*.sh",
30 "puppet-install": "ts-node bin/puppet-install.ts",
31 "sloc": "sloc bin examples scripts src tests --details --format cli-table --keys total,source,comment && sloc bin examples scripts src tests",
32 "ts-node": "ts-node",
33 "test": "npm run lint && nyc npm run test:unit && npm run sloc",
34 "test:pack": "bash -x scripts/npm-pack-testing.sh",
35 "test:shell": "shellcheck bin/*.sh scripts/*.sh",
36 "test:unit": "blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"",
37 "test:debug": "blue-tape -r ts-node/register src/puppet-web/bridge.spec.ts",
38 "typedoc": "bash scripts/typedoc.sh",
39 "io-client": "ts-node bin/io-client",
40 "demo": "ts-node examples/ding-dong-bot.ts",
41 "start": "npm run demo",
42 "postinstall": "opencollective-postinstall"
43 },
44 "repository": {
45 "type": "git",
46 "url": "git+https://github.com/wechaty/wechaty.git"
47 },
48 "bin": {
49 "wechaty-doctor": "dist/bin/doctor.js",
50 "wechaty-io-client": "dist/bin/io-client.js",
51 "wechaty-puppet-install": "dist/bin/puppet-install.js",
52 "wechaty-version": "dist/bin/version.js"
53 },
54 "keywords": [
55 "wechat",
56 "rpa",
57 "conversational",
58 "ai",
59 "微信",
60 "weixin",
61 "personal",
62 "bot",
63 "robot",
64 "chatbot",
65 "framework",
66 "sdk",
67 "wechaty",
68 "chatie",
69 "微信控"
70 ],
71 "author": {
72 "name": "Huan LI (李卓桓)",
73 "email": "zixia@zixia.net",
74 "url": "https://linkedin.com/in/zixia/"
75 },
76 "license": "Apache-2.0",
77 "bugs": {
78 "url": "https://github.com/wechaty/wechaty/issues"
79 },
80 "funding": {
81 "type": "opencollective",
82 "url": "https://opencollective.com/wechaty"
83 },
84 "homepage": "https://github.com/wechaty/",
85 "dependencies": {
86 "brolog": "^1.12.4",
87 "clone-class": "^0.7.3",
88 "cuid": "^2.1.8",
89 "dotenv": "^10.0.0",
90 "in-gfw": "^1.2.0",
91 "json-rpc-peer": "^0.17.0",
92 "npm-programmatic": "0.0.12",
93 "open-graph": "^0.2.4",
94 "opencollective": "^1.0.3",
95 "opencollective-postinstall": "^2.0.3",
96 "pkg-dir": "^5.0.0",
97 "portfinder": "^1.0.28",
98 "promise-retry": "^2.0.1",
99 "raven": "^2.6.4",
100 "read-pkg-up": "^7.0.1",
101 "typed-emitter": "^1.3.1",
102 "watchdog": "^0.8.17",
103 "wechaty-puppet": "^0.41.1",
104 "wechaty-puppet-service": "^0.21.8",
105 "ws": "^7.4.6"
106 },
107 "devDependencies": {
108 "@babel/core": "^7.14.3",
109 "@babel/node": "^7.14.2",
110 "@babel/preset-env": "^7.14.4",
111 "@chatie/eslint-config": "^0.12.4",
112 "@chatie/git-scripts": "^0.6.2",
113 "@chatie/semver": "^0.4.7",
114 "@chatie/tsconfig": "^0.17.2",
115 "@types/cuid": "^1.3.1",
116 "@types/dotenv": "^8.2.0",
117 "@types/glob": "^7.1.3",
118 "@types/open-graph": "^0.2.1",
119 "@types/promise-retry": "^1.1.3",
120 "@types/raven": "^2.5.3",
121 "@types/retry": "^0.12.0",
122 "@types/ws": "^7.4.4",
123 "apiai": "^4.0.3",
124 "check-node-version": "^4.1.0",
125 "coveralls": "^3.1.0",
126 "cross-env": "^7.0.3",
127 "finis": "^0.4.4",
128 "glob": "^7.1.7",
129 "jsdoc-to-markdown": "^7.0.1",
130 "markdownlint-cli": "^0.27.1",
131 "npm-run-all": "^4.1.5",
132 "nyc": "^15.1.0",
133 "pkg-jq": "^0.2.11",
134 "qrcode-terminal": "^0.12.0",
135 "shx": "^0.3.3",
136 "sloc": "^0.2.1",
137 "tstest": "^0.4.10",
138 "typedoc": "^1.0.0-dev.4 ",
139 "typescript": "^4.3",
140 "wechaty-puppet-mock": "^0.29.6"
141 },
142 "files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955",
143 "files": [
144 "CHANGELOG",
145 "LICENSE",
146 "README.md",
147 "package.json",
148 "bin",
149 "dist/bin",
150 "dist/index.*",
151 "dist/src",
152 "src"
153 ],
154 "publishConfig": {
155 "access": "public",
156 "tag": "latest"
157 },
158 "collective": {
159 "type": "opencollective",
160 "url": "https://opencollective.com/wechaty"
161 },
162 "git": {
163 "scripts": {
164 "pre-push": "npx git-scripts-pre-push"
165 }
166 }
167}
\No newline at end of file