{ "name": "napcat", "private": true, "type": "module", "version": "4.9.21", "scripts": { "build:universal": "npm run build:webui && npm run dev:universal || exit 1", "build:framework": "npm run build:webui && npm run dev:framework || exit 1", "build:shell": "npm run build:webui && npm run dev:shell || exit 1", "build:webui": "cd napcat.webui && npm run build", "dev:universal": "vite build --mode universal", "dev:framework": "vite build --mode framework", "dev:shell": "vite build --mode shell", "dev:shell-analysis": "vite build --mode shell-analysis", "dev:webui": "cd napcat.webui && npm run dev", "tsc": "npm run tsc:webui && npm run tsc:core", "tsc:core": "tsc --noEmit", "tsc:webui": "cd napcat.webui && tsc --noEmit", "lint": "npm run lint:core && npm run lint:webui", "lint:fix": "npm run lint:fix:core && npm run lint:fix:webui", "lint:core": "eslint src/**/*", "lint:fix:core": "eslint --fix src/**/*", "lint:webui": "cd napcat.webui && eslint src/**/*", "lint:fix:webui": "cd napcat.webui && eslint --fix src/**/*", "depend": "cd dist && npm install --omit=dev", "dev:depend": "npm i && cd napcat.webui && npm i" }, "devDependencies": { "@babel/core": "^7.28.0", "@babel/generator": "^7.28.0", "@babel/parser": "^7.28.0", "@babel/preset-typescript": "^7.24.7", "@babel/traverse": "^7.28.0", "@babel/types": "^7.28.2", "@homebridge/node-pty-prebuilt-multiarch": "^0.12.0-beta.5", "@log4js-node/log4js-api": "^1.0.2", "@napneko/nap-proto-core": "^0.0.4", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-typescript": "^12.1.4", "@sinclair/typebox": "^0.34.38", "@types/cors": "^2.8.17", "@types/express": "^5.0.0", "@types/multer": "^1.4.12", "@types/node": "^22.0.1", "@types/on-finished": "^2.3.4", "@types/qrcode-terminal": "^0.12.2", "@types/react-color": "^3.0.13", "@types/type-is": "^1.6.7", "@types/ws": "^8.5.12", "ajv": "^8.13.0", "async-mutex": "^0.5.0", "commander": "^13.0.0", "compressing": "^1.10.1", "cors": "^2.8.5", "esbuild": "0.25.8", "eslint": "^9.14.0", "express-rate-limit": "^7.5.0", "fast-xml-parser": "^4.3.6", "file-type": "^21.0.0", "json5": "^2.2.3", "multer": "^2.0.1", "napcat.protobuf": "^1.1.4", "neostandard": "^0.12.2", "typescript": "^5.3.3", "typescript-eslint": "^8.35.1", "vite": "^7.1.1", "vite-plugin-cp": "^6.0.0", "vite-tsconfig-paths": "^5.1.0", "winston": "^3.17.0" }, "dependencies": { "express": "^5.0.0", "silk-wasm": "^3.6.1", "ws": "^8.18.3" } }