2024-05-28 16:00:48 +00:00
|
|
|
{
|
|
|
|
"name": "napcat",
|
|
|
|
"private": true,
|
|
|
|
"type": "module",
|
2024-07-20 09:43:56 +00:00
|
|
|
"version": "1.6.7",
|
2024-05-28 16:00:48 +00:00
|
|
|
"scripts": {
|
|
|
|
"watch:dev": "vite --mode development",
|
|
|
|
"watch:prod": "vite --mode production",
|
|
|
|
"build:dev": "vite build --mode development",
|
|
|
|
"build:prod": "vite build --mode production",
|
|
|
|
"build": "npm run build:dev",
|
|
|
|
"build:core": "cd ./src/core && npm run build && cd ../.. && node ./script/copy-core.cjs",
|
|
|
|
"build:webui": "cd ./src/webui && vite build",
|
|
|
|
"watch": "npm run watch:dev",
|
|
|
|
"debug-win": "powershell dist/napcat.ps1",
|
|
|
|
"lint": "eslint --fix src/**/*.{js,ts}",
|
|
|
|
"release": "npm run build:prod",
|
|
|
|
"depend": "cd dist && npm install --omit=dev"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-06-18 14:49:06 +00:00
|
|
|
"@babel/core": "^7.24.7",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.24.7",
|
2024-07-22 02:24:55 +00:00
|
|
|
"@babel/preset-typescript": "^7.24.7",
|
2024-05-28 16:00:48 +00:00
|
|
|
"@log4js-node/log4js-api": "^1.0.2",
|
2024-06-03 18:59:35 +00:00
|
|
|
"@protobuf-ts/plugin": "^2.9.4",
|
2024-05-28 16:00:48 +00:00
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
|
|
"@types/cors": "^2.8.17",
|
|
|
|
"@types/express": "^4.17.21",
|
|
|
|
"@types/figlet": "^1.5.8",
|
|
|
|
"@types/fluent-ffmpeg": "^2.1.24",
|
2024-07-22 02:24:55 +00:00
|
|
|
"@types/jest": "^29.5.12",
|
2024-05-28 16:00:48 +00:00
|
|
|
"@types/node": "^20.11.30",
|
|
|
|
"@types/qrcode-terminal": "^0.12.2",
|
2024-06-24 08:14:47 +00:00
|
|
|
"@types/uuid": "^10.0.0",
|
2024-05-28 16:00:48 +00:00
|
|
|
"@types/ws": "^8.5.10",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
|
|
"@typescript-eslint/parser": "^7.4.0",
|
|
|
|
"eslint": "^8.57.0",
|
|
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
|
|
"eslint-plugin-import": "^2.29.1",
|
|
|
|
"i": "^0.3.7",
|
|
|
|
"javascript-obfuscator": "^4.1.0",
|
|
|
|
"rollup": "^4.13.2",
|
|
|
|
"rollup-plugin-dts": "^6.1.0",
|
|
|
|
"rollup-plugin-obfuscator": "^1.1.0",
|
|
|
|
"typescript": "^5.3.3",
|
|
|
|
"vite": "^5.2.6",
|
2024-07-22 02:24:55 +00:00
|
|
|
"vite-plugin-babel": "^1.2.0",
|
2024-05-28 16:00:48 +00:00
|
|
|
"vite-plugin-cp": "^4.0.8",
|
|
|
|
"vite-plugin-dts": "^3.8.2",
|
2024-06-03 18:59:35 +00:00
|
|
|
"vite-tsconfig-paths": "^4.3.2"
|
2024-05-28 16:00:48 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"ajv": "^8.13.0",
|
2024-06-03 18:59:35 +00:00
|
|
|
"chalk": "^5.3.0",
|
2024-05-28 16:00:48 +00:00
|
|
|
"commander": "^12.0.0",
|
|
|
|
"cors": "^2.8.5",
|
|
|
|
"express": "^5.0.0-beta.2",
|
|
|
|
"fast-xml-parser": "^4.3.6",
|
|
|
|
"file-type": "^19.0.0",
|
|
|
|
"fluent-ffmpeg": "^2.1.2",
|
|
|
|
"image-size": "^1.1.1",
|
|
|
|
"json-schema-to-ts": "^3.1.0",
|
|
|
|
"log4js": "^6.9.1",
|
|
|
|
"qrcode-terminal": "^0.12.0",
|
2024-07-10 17:44:17 +00:00
|
|
|
"silk-wasm": "^3.6.1",
|
2024-06-10 08:12:09 +00:00
|
|
|
"uuid": "^10.0.0",
|
2024-05-28 16:00:48 +00:00
|
|
|
"ws": "^8.16.0"
|
|
|
|
}
|
|
|
|
}
|