generated from atorber/puppet-xp
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
119 lines (119 loc) · 5.85 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
{
"name": "wechaty-puppet-bridge",
"version": "0.16.0",
"description": "Puppet Bridge for Wechaty",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/src/mod.js",
"require": "./dist/cjs/src/mod.js"
}
},
"typings": "./dist/esm/src/mod.d.ts",
"engines": {
"node": ">=16",
"npm": ">=7"
},
"scripts": {
"clean": "shx rm -fr dist/*",
"dist": "npm-run-all clean build dist:copy dist:commonjs",
"build": "tsc && tsc -p tsconfig.cjs.json",
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
"dist:copy": "npm-run-all copy:esm copy:cjs",
"copy:esm": "shx cp -R commonjs/ dist/esm/ && shx cp -R src/assets/ dist/esm/src/assets/",
"copy:cjs": "shx cp -R commonjs/ dist/cjs/ && shx cp -R src/assets/ dist/cjs/src/assets/",
"start": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ding-dong-bot.ts",
"start:quick:ts": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/quick-start.ts",
"start:quick:js": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/quick-start.js",
"start:ripe": "cross-env WECHATY_LOG=verbose NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty-3090223.ts",
"start:ripe:info": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty-3090223.ts",
"start:ripe:demo": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/demo.ts",
"start:raw-bridge-jwping-wxbot:info": "cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-bridge-jwping-wxbot.ts",
"start:ripe-bridge-jwping-wxbot:info": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty-jwping-wxbot-3090825.ts",
"start:raw-bridge-ttttupup-wxhelper:info": "cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-bridge-ttttupup-wxhelper.ts",
"start:ripe-bridge-ttttupup-wxhelper:info": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty-ttttupup-wxhelper-3090581.ts",
"start:raw-bridge-atorber-fused:info": "cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-bridge-atorber-fused.ts",
"start:ripe-wechaty-atorber-fused:info": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty-atorber-fused-3090825.ts",
"start:raw-bridge-ttttupup-wxhelper-3091019:info": "cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-bridge-ttttupup-wxhelper-3091019.ts",
"start:ripe-bridge-ttttupup-wxhelper-3091019:info": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-bridge-ttttupup-wxhelper-3091019.ts",
"start:ripe-puppet-bridge-lich0821-WeChatFerry-3091027:info": "cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty-lich0821-WeChatFerry-3091027.ts",
"start:wcf": "cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/wcf.ts",
"test:wxhelper": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/wxhelper.ts",
"gewe:client": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node src/agents/Devo919-Gewechat/client/test.ts",
"gewe:bridge": "cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node src/agents/Devo919-Gewechat/bridge/test.ts",
"gewe:ripe": "cross-env BROLOG_LEVEL=verbose NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty-Devo919-Gewechat.ts",
"lint": "npm run lint:es && npm run lint:ts && npm run lint:md",
"lint:md": "markdownlint README.md",
"lint:ts": "tsc --isolatedModules --noEmit",
"lint:es": "eslint --fix \"src/**/*.ts\" \"tests/**/*.spec.ts\" --ignore-pattern tests/fixtures/",
"lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.spec.ts\"",
"test": "npm run lint && npm run test:unit",
"test:pack": "bash -x scripts/npm-pack-testing.sh",
"test:unit": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" tap \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/atorber/puppet-bridge.git"
},
"keywords": [
"chatie",
"wechaty",
"chatbot",
"bot",
"wechat",
"sdk",
"puppet",
"mock"
],
"author": "Chao Lu <atorber@163.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/atorber/puppet-bridge/issues"
},
"homepage": "https://github.com/atorber/puppet-bridge#readme",
"devDependencies": {
"@chatie/eslint-config": "^1.0.4",
"@chatie/git-scripts": "^0.7.7",
"@chatie/semver": "^0.4.7",
"@chatie/tsconfig": "^4.5.3",
"@types/axios": "^0.14.0",
"@types/cuid": "^2.0.1",
"@types/faker": "^5.5.9",
"@types/node": "^20.11.5",
"@types/qrcode-terminal": "^0.12.2",
"@types/ws": "^8.5.10",
"@types/xml2js": "^0.4.9",
"husky": "^7.0.4",
"qrcode-terminal": "^0.12.0",
"tstest": "^1.0.1",
"typed-emitter": "^1.4.0",
"typescript": "^4.9.5",
"wechaty": "^1.20.2"
},
"peerDependencies": {
"wechaty-puppet": "^1.10.2"
},
"dependencies": {
"@zippybee/wechatcore": "^2.1.13",
"axios": "^1.6.5",
"cuid": "^2.1.8",
"dotenv": "^16.4.5",
"qrcode-terminal": "^0.12.0",
"sudo-prompt": "^9.2.1",
"ws": "^8.16.0",
"xml2js": "^0.4.23",
"xmlreader": "^0.2.3"
},
"files": [
"bin/",
"dist/",
"src/"
],
"tap": {
"check-coverage": false
},
"publishConfig": {
"access": "public",
"tag": "latest"
}
}