package.json 3.7 KB
Newer Older
S
SilveryStar 已提交
1
{
2
  "name": "adachi-bot",
爱与奇迹的物语's avatar
v1.5.4  
爱与奇迹的物语 已提交
3
  "version": "1.5.4",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
4
  "description": "腾讯 QQ 中的原神机器人",
5 6 7
  "repository": "https://github.com/Arondight/Adachi-BOT.git",
  "homepage": "https://github.com/Arondight/Adachi-BOT",
  "bugs": "https://github.com/Arondight/Adachi-BOT/issues",
8
  "author": "Qin Fandong",
9
  "license": "MIT",
10 11
  "type": "module",
  "exports": "./app.js",
12 13 14 15 16 17 18
  "keywords": [
    "bot",
    "qq",
    "genshin",
    "genshin-impact"
  ],
  "engines": {
19
    "node": ">16.6.0"
20
  },
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
21
  "imports": {
22 23
    "#bot/*": "./src/bot/*.js",
    "#jobs/*": "./src/jobs/*.js",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
24
    "#plugins/*": "./src/plugins/*.js",
25 26
    "#utils/*": "./src/utils/*.js",
    "#views/*": "./src/views/*.js"
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
27
  },
S
SilveryStar 已提交
28
  "scripts": {
29
    "init": "node --pending-deprecation --trace-warnings --max-http-header-size=2097152 ./app.js",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
30
    "start": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 start ./.pm2.json && npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 save",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
31 32 33 34 35 36 37 38
    "restart": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 restart ./.pm2.json",
    "stop": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 stop ./.pm2.json",
    "startup": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 startup",
    "unstartup": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 unstartup",
    "log": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 log --lines 200 bot",
    "list": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 list bot",
    "info": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 info bot",
    "monit": "npx cross-env-shell PM2_HOME=$INIT_CWD/bot.pm2/ pm2 monit bot",
39 40
    "code-check": "npx eslint --config ./.eslintrc.json ./.github/ ./*.js ./src/ ./tools/ ./config_defaults/ ./resources/",
    "code-format": "npx prettier --config ./.prettierrc.json -uw ./*.js ./*.md ./.*.json ./*.json ./src/ ./tools/ ./docs/ ./resources/",
41
    "tool-db": "node ./tools/db.js",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
42
    "tool-material": "node ./tools/material.js",
43
    "tool-resize": "node ./tools/resize.js",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
44
    "tool-resources": "node ./tools/resources.js",
45 46
    "tool-status": "node ./tools/status.js",
    "tool-view": "node ./tools/view.js",
47
    "tool-webp": "node ./tools/webp.js",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
48
    "install-dev": "npm run install-prod && npx cross-env-shell npm_config_sharp_binary_host='https://npmmirror.com/mirrors/sharp' npm_config_sharp_libvips_binary_host='https://npmmirror.com/mirrors/sharp-libvips' npm install --include dev",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
49
    "install-prod": "npm install --omit dev",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
50
    "update": "git pull && npm run install-prod",
51
    "update-modules": "npx ncu -u && npm update"
S
SilveryStar 已提交
52 53
  },
  "dependencies": {
54
    "cross-env": "7.0.3",
G
github-actions 已提交
55
    "express": "4.18.2",
G
github-actions 已提交
56
    "fastest-levenshtein": "1.0.16",
G
github-actions 已提交
57
    "figlet": "1.6.0",
58
    "fnv-plus": "1.3.1",
59
    "iconv-lite": "0.6.3",
G
github-actions 已提交
60
    "icqq": "0.3.15",
61
    "js-yaml": "4.1.0",
62
    "kind-of": "6.0.3",
63
    "lodash": "4.17.21",
G
github-actions 已提交
64
    "lowdb": "6.0.1",
65
    "md5": "2.3.0",
G
github-actions 已提交
66
    "moment": "2.29.4",
G
github-actions 已提交
67
    "moment-timezone": "0.5.43",
G
github-actions 已提交
68
    "node-fetch": "3.3.1",
G
github-actions 已提交
69
    "node-schedule": "2.1.1",
70
    "p-limit": "4.0.0",
G
github-actions 已提交
71
    "patch-package": "7.0.0",
G
github-actions 已提交
72
    "pm2": "5.3.0",
G
github-actions 已提交
73
    "pretty-bytes": "6.1.0",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
74
    "process": "0.11.10",
G
github-actions 已提交
75
    "puppeteer": "20.7.2",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
76
    "random-float": "3.0.0",
G
github-actions 已提交
77
    "semver": "7.5.2",
G
github-actions 已提交
78
    "systeminformation": "5.18.3",
G
github-actions 已提交
79
    "yargs": "17.7.2"
S
SilveryStar 已提交
80 81
  },
  "devDependencies": {
G
github-actions 已提交
82
    "@trivago/prettier-plugin-sort-imports": "4.1.1",
G
github-actions 已提交
83
    "eslint": "8.43.0",
G
github-actions 已提交
84
    "eslint-plugin-check-json-value": "2.1.2",
G
github-actions 已提交
85
    "eslint-plugin-import": "2.27.5",
爱与奇迹的物语's avatar
爱与奇迹的物语 已提交
86
    "eslint-plugin-node": "11.1.0",
G
github-actions 已提交
87
    "eslint-plugin-promise": "6.1.1",
G
github-actions 已提交
88
    "eslint-plugin-sort-exports": "0.8.0",
G
github-actions 已提交
89
    "eslint-plugin-vue": "9.15.0",
G
github-actions 已提交
90
    "eslint-plugin-yml": "1.8.0",
G
github-actions 已提交
91
    "npm-check-updates": "16.10.12",
G
github-actions 已提交
92
    "postcss": "^8.4.24",
G
github-actions 已提交
93
    "prettier": "2.8.8",
G
github-actions 已提交
94
    "prettier-plugin-css-order": "^1.3.1",
G
github-actions 已提交
95
    "sharp": "0.32.1"
S
SilveryStar 已提交
96 97
  }
}