-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.81 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
{
"name": "chatgpt-wechatbot",
"version": "1.0.0",
"description": "",
"main": "lib/bundle.cjs.js",
"module": "lib/bundle.esm.js",
"type": "module",
"scripts": {
"dev": "node --loader ts-node/esm --inspect ./src/index.ts",
"test": "node --loader ts-node/esm --inspect ./src/auth.ts",
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{ts,tsx}\" --fix",
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,md}\"",
"lint:lint-staged": "lint-staged",
"prepare": "husky install"
},
"keywords": [
"chatgpt",
"wechat",
"wechaty",
"微信机器人",
"微信助手"
],
"author": "Jin",
"license": "ISC",
"dependencies": {
"@types/node": "^18.11.11",
"chatgpt": "^4.1.1",
"p-timeout": "^6.0.0",
"qrcode-terminal": "^0.12.0",
"ts-node": "^10.9.1",
"tslib": "^2.4.1",
"typescript": "^4.9.3",
"wechaty": "^1.20.2",
"wechaty-puppet-wechat": "^1.18.4"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"commitizen": "^4.2.6",
"commitlint-config-cz": "^0.13.3",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1"
},
"volta": {
"node": "18.12.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"prettier --write--parser json"
],
"package.json": [
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}