UNPKG

5.27 kBJSONView Raw
1{
2 "name": "wechaty",
3 "version": "0.65.9",
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": "tap --node-arg=--require=ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"",
37 "test:debug": "tap --node-arg=--require=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 },
43 "repository": {
44 "type": "git",
45 "url": "git+https://github.com/wechaty/wechaty.git"
46 },
47 "bin": {
48 "wechaty-doctor": "dist/bin/doctor.js",
49 "wechaty-io-client": "dist/bin/io-client.js",
50 "wechaty-puppet-install": "dist/bin/puppet-install.js",
51 "wechaty-version": "dist/bin/version.js"
52 },
53 "keywords": [
54 "wechat",
55 "rpa",
56 "conversational",
57 "ai",
58 "微信",
59 "weixin",
60 "personal",
61 "bot",
62 "robot",
63 "chatbot",
64 "framework",
65 "sdk",
66 "wechaty",
67 "chatie",
68 "微信控"
69 ],
70 "author": {
71 "name": "Huan LI (李卓桓)",
72 "email": "zixia@zixia.net",
73 "url": "https://linkedin.com/in/zixia/"
74 },
75 "license": "Apache-2.0",
76 "bugs": {
77 "url": "https://github.com/wechaty/wechaty/issues"
78 },
79 "funding": {
80 "type": "opencollective",
81 "url": "https://opencollective.com/wechaty"
82 },
83 "homepage": "https://github.com/wechaty/",
84 "dependencies": {
85 "clone-class": "^0.7.3",
86 "cuid": "^2.1.8",
87 "dotenv": "^10.0.0",
88 "in-gfw": "^1.2.0",
89 "json-rpc-peer": "^0.17.0",
90 "npm-programmatic": "0.0.12",
91 "open-graph": "^0.2.4",
92 "pkg-dir": "^5.0.0",
93 "promise-retry": "^2.0.1",
94 "raven": "^2.6.4",
95 "read-pkg-up": "^7.0.1",
96 "wechaty-puppet": "^0.41.1",
97 "wechaty-puppet-service": "^0.25.1",
98 "ws": "^7.4.6"
99 },
100 "devDependencies": {
101 "@babel/core": "^7.14.3",
102 "@babel/node": "^7.14.2",
103 "@babel/preset-env": "^7.14.4",
104 "@chatie/eslint-config": "^0.12.4",
105 "@chatie/git-scripts": "^0.6.2",
106 "@chatie/semver": "^0.4.7",
107 "@chatie/tsconfig": "^0.16.2",
108 "@types/cuid": "^1.3.1",
109 "@types/dotenv": "^8.2.0",
110 "@types/glob": "^7.1.3",
111 "@types/open-graph": "^0.2.1",
112 "@types/promise-retry": "^1.1.3",
113 "@types/raven": "^2.5.3",
114 "@types/retry": "^0.12.0",
115 "@types/tap": "^15.0.5",
116 "@types/ws": "^7.4.4",
117 "apiai": "^4.0.3",
118 "check-node-version": "^4.1.0",
119 "coveralls": "^3.1.0",
120 "cross-env": "^7.0.3",
121 "finis": "^0.4.4",
122 "glob": "^7.1.7",
123 "jsdoc-to-markdown": "^7.0.1",
124 "markdownlint-cli": "^0.27.1",
125 "npm-run-all": "^4.1.5",
126 "nyc": "^15.1.0",
127 "pkg-jq": "^0.2.11",
128 "qrcode-terminal": "^0.12.0",
129 "shx": "^0.3.3",
130 "sloc": "^0.2.1",
131 "tap": "^15.0.9",
132 "ts-node": "^10.1.0",
133 "tstest": "^0.4.10",
134 "typed-emitter": "^1.3.1",
135 "typedoc": "^1.0.0-dev.4 ",
136 "typescript": "^4.3.5",
137 "wechaty-puppet-mock": "^0.29.6"
138 },
139 "files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955",
140 "files": [
141 "CHANGELOG",
142 "LICENSE",
143 "README.md",
144 "package.json",
145 "bin",
146 "dist/bin",
147 "dist/index.*",
148 "dist/src",
149 "src"
150 ],
151 "publishConfig": {
152 "access": "public",
153 "tag": "next"
154 },
155 "collective": {
156 "type": "opencollective",
157 "url": "https://opencollective.com/wechaty"
158 },
159 "git": {
160 "scripts": {
161 "pre-push": "npx git-scripts-pre-push"
162 }
163 }
164}
\No newline at end of file