UNPKG

5.42 kBJSONView Raw
1{
2 "name": "wechaty",
3 "version": "0.57.19",
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": "^8.2.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 "state-switch": "^0.9.9",
102 "typed-emitter": "^1.3.1",
103 "watchdog": "^0.8.17",
104 "wechaty-puppet": "^0.35.1",
105 "wechaty-puppet-service": "^0.17.0",
106 "ws": "^7.4.4"
107 },
108 "devDependencies": {
109 "@babel/core": "^7.13.10",
110 "@babel/node": "^7.13.10",
111 "@babel/preset-env": "^7.13.10",
112 "@chatie/eslint-config": "^0.12.3",
113 "@chatie/git-scripts": "^0.6.2",
114 "@chatie/semver": "^0.4.7",
115 "@chatie/tsconfig": "^0.11.4",
116 "@types/cuid": "^1.3.1",
117 "@types/dotenv": "^8.2.0",
118 "@types/glob": "^7.1.3",
119 "@types/open-graph": "^0.2.1",
120 "@types/promise-retry": "^1.1.3",
121 "@types/raven": "^2.5.3",
122 "@types/retry": "^0.12.0",
123 "@types/ws": "^7.4.0",
124 "apiai": "^4.0.3",
125 "check-node-version": "^4.1.0",
126 "coveralls": "^3.1.0",
127 "cross-env": "^7.0.3",
128 "finis": "^0.4.4",
129 "glob": "^7.1.6",
130 "jsdoc-to-markdown": "^7.0.0",
131 "markdownlint-cli": "^0.27.1",
132 "npm-run-all": "^4.1.5",
133 "nyc": "^15.1.0",
134 "pkg-jq": "^0.2.11",
135 "qrcode-terminal": "^0.12.0",
136 "shx": "^0.3.3",
137 "sloc": "^0.2.1",
138 "tstest": "^0.4.10",
139 "typedoc": "^0.20.30",
140 "typescript": "3.9",
141 "wechaty-puppet-mock": "^0.28.3"
142 },
143 "files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955",
144 "files": [
145 "CHANGELOG",
146 "LICENSE",
147 "README.md",
148 "package.json",
149 "bin",
150 "dist/bin",
151 "dist/index.*",
152 "dist/src",
153 "src"
154 ],
155 "publishConfig": {
156 "access": "public",
157 "cache": "~/.npm",
158 "tag": "next"
159 },
160 "collective": {
161 "type": "opencollective",
162 "url": "https://opencollective.com/wechaty"
163 },
164 "git": {
165 "scripts": {
166 "pre-push": "npx git-scripts-pre-push"
167 }
168 }
169}
\No newline at end of file