generated from wechaty/puppet-mock
-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathpackage.json
108 lines (108 loc) · 4.01 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
{
"name": "wechaty-puppet-xp",
"version": "1.13.12",
"description": "Puppet XP 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:agent": "tsc src/init-agent-script.ts --outFile src/init-agent-script.js",
"frida": "tsc tests/frida.ts --outFile tests/frida.js && frida -n WeChat.exe -l tests/frida.js --debug",
"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 src/init-agent-script.js dist/esm/src",
"copy:cjs": "shx cp -R commonjs/ dist/cjs/ && shx cp src/init-agent-script.js dist/cjs/src",
"start": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ding-dong-bot.ts",
"quick-start": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/quick-start.ts",
"start:raw": "cross-env BROLOG_LEVEL=silly NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-sidecar.ts",
"start:raw:nobuild": "cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-sidecar.ts",
"start:raw:info": "npm run build:agent && cross-env BROLOG_LEVEL=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/raw-sidecar.ts",
"start:ripe": "cross-env WECHATY_LOG=verbose NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty.ts",
"start:ripe:info": "npm run build:agent && cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ripe-wechaty.ts",
"start:ripe:demo": "npm run build:agent && cross-env WECHATY_LOG=info NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/demo.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 \"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/wechaty/puppet-xp.git"
},
"keywords": [
"chatie",
"wechaty",
"chatbot",
"bot",
"wechat",
"sdk",
"puppet",
"mock"
],
"author": "Hua ZHANG <@cixingguangming55555> & Yuchao LU <@atorber>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/wechaty/puppet-xp/issues"
},
"homepage": "https://github.com/wechaty/puppet-xp#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/cuid": "^2.0.1",
"@types/faker": "^5.5.9",
"@types/frida-gum": "^18.5.1",
"@types/node": "^20.10.5",
"@types/qrcode-terminal": "^0.12.2",
"@types/xml2js": "^0.4.9",
"frida-compile": "^16.4.1",
"husky": "^7.0.4",
"qrcode-terminal": "^0.12.0",
"tstest": "^1.0.1",
"typed-emitter": "^1.4.0",
"wechaty": "^1.20.2"
},
"peerDependencies": {
"wechaty-puppet": "^1.10.2"
},
"dependencies": {
"cuid": "^2.1.8",
"sidecar": "^0.17.8",
"xml2js": "^0.4.23",
"xmlreader": "^0.2.3"
},
"files": [
"bin/",
"dist/",
"src/"
],
"tap": {
"check-coverage": false
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"git": {
"scripts": {
"pre-push": "npx git-scripts-pre-push"
}
}
}