forked from wechaty/wechaty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
151 lines (151 loc) · 4.78 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
{
"name": "wechaty",
"version": "0.69.12",
"description": "Wechaty is a RPA SDK for Chatbot Makers.",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/src/mod.js",
"require": "./dist/cjs/src/mod.js"
}
},
"typings": "./dist/esm/src/mod.d.ts",
"engines": {
"node": ">= 14"
},
"wechaty": {
"DEFAULT_PORT": 8080,
"DEFAULT_PROTOCOL": "io|0.0.1",
"DEFAULT_APIHOST": "api.chatie.io"
},
"scripts": {
"dist": "npm-run-all clean build fixup",
"build": "tsc && tsc -p tsconfig.cjs.json",
"fixup": "shx echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"clean": "shx rm -fr dist/*",
"docs": "bash -x scripts/generate-docs.sh",
"coverage": "nyc report --reporter=lcov",
"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",
"doctor": "npm run check-node-version && ts-node bin/doctor",
"check-node-version": "check-node-version --node \">= 14\"",
"lint": "npm-run-all check-node-version lint:es lint:ts lint:sh lint:md",
"lint:es": "eslint --ignore-pattern node_modules/ --ignore-pattern fixtures/ \"{bin,examples,src,scripts,tests}/**/*.ts\"",
"lint:md": "markdownlint README.md",
"lint:ts": "tsc --noEmit",
"lint:sh": "bash -n bin/*.sh",
"puppet-install": "ts-node bin/puppet-install.ts",
"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 && nyc npm run test:unit && npm run sloc",
"test:pack": "bash -x scripts/npm-pack-testing.sh",
"test:shell": "shellcheck bin/*.sh scripts/*.sh",
"test:unit": "tap --node-arg=--loader=ts-node/esm --node-arg=--no-warnings \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.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/wechaty/wechaty.git"
},
"bin": {
"wechaty-doctor": "dist/esm/bin/doctor.js",
"wechaty-io-client": "dist/esm/bin/io-client.js",
"wechaty-puppet-install": "dist/esm/bin/puppet-install.js",
"wechaty-version": "dist/esm/bin/version.js"
},
"keywords": [
"wechat",
"rpa",
"conversational",
"ai",
"微信",
"weixin",
"personal",
"bot",
"robot",
"chatbot",
"framework",
"sdk",
"wechaty",
"chatie",
"微信控"
],
"author": {
"name": "Huan LI (李卓桓)",
"email": "[email protected]",
"url": "https://linkedin.com/in/zixia/"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/wechaty/wechaty/issues"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/wechaty"
},
"homepage": "https://github.com/wechaty/",
"dependencies": {
"clone-class": "^0.9.5",
"cockatiel": "^2.0.2",
"cuid": "^2.1.8",
"dotenv": "^10.0.0",
"json-rpc-peer": "^0.17.0",
"npm-programmatic": "0.0.12",
"open-graph": "^0.2.6",
"raven": "^2.6.4",
"wechaty-puppet": "^0.43.8",
"wechaty-puppet-service": "^0.30.2",
"ws": "^7.2.0"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@babel/preset-env": "^7.15.0",
"@chatie/eslint-config": "^0.13.5",
"@chatie/git-scripts": "^0.6.2",
"@chatie/semver": "^0.4.7",
"@chatie/tsconfig": "^0.17.2",
"@types/cuid": "^1.3.1",
"@types/dotenv": "^8.2.0",
"@types/glob": "^7.1.4",
"@types/open-graph": "^0.2.2",
"@types/raven": "^2.5.4",
"@types/ws": "^7.4.7",
"check-node-version": "^4.1.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"glob": "^7.1.7",
"jsdoc-to-markdown": "^7.0.1",
"markdownlint-cli": "^0.28.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pkg-jq": "^0.2.11",
"qrcode-terminal": "^0.12.0",
"shx": "^0.3.3",
"sloc": "^0.2.1",
"tstest": "^0.5.16",
"typed-emitter": "^1.3.1",
"typedoc": "^1.0.0-dev.4 ",
"wechaty-puppet-mock": "^0.31.0"
},
"files": [
"bin/",
"dist/",
"src/"
],
"publishConfig": {
"access": "public",
"tag": "next"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/wechaty"
},
"git": {
"scripts": {
"pre-push": "npx git-scripts-pre-push"
}
}
}