cool-admin-midway/package.json
2025-01-15 20:48:15 +08:00

85 lines
2.4 KiB
JSON

{
"name": "cool-admin",
"version": "8.0.0",
"description": "一个很酷的Ai快速开发框架",
"private": true,
"dependencies": {
"@cool-midway/core": "file:/Users/ap/Documents/src/admin/midway-packages/core",
"@midwayjs/bootstrap": "^3.19.3",
"@midwayjs/cache-manager": "^3.19.3",
"@midwayjs/core": "^3.19.0",
"@midwayjs/cron": "^3.19.2",
"@midwayjs/cross-domain": "^3.19.3",
"@midwayjs/info": "^3.19.2",
"@midwayjs/koa": "^3.19.2",
"@midwayjs/logger": "^3.4.2",
"@midwayjs/static-file": "^3.19.3",
"@midwayjs/typeorm": "^3.19.2",
"@midwayjs/upload": "^3.19.3",
"@midwayjs/validate": "^3.19.2",
"@midwayjs/view-ejs": "^3.19.2",
"axios": "^1.7.9",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"moment": "^2.30.1",
"mysql2": "^3.12.0",
"sharp": "0.32.6",
"svg-captcha": "^1.4.0",
"typeorm": "^0.3.20",
"uuid": "^11.0.5",
"ws": "^8.18.0"
},
"devDependencies": {
"@midwayjs/bundle-helper": "^1.3.0",
"@midwayjs/mock": "^3.19.2",
"@types/jest": "^29.5.14",
"@types/node": "22",
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"mwts": "^1.3.0",
"mwtsc": "^1.15.1",
"pkg": "^5.8.1",
"rimraf": "^5.0.5",
"ts-jest": "^29.2.5",
"typescript": "~5.7.3"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"start": "NODE_ENV=production node ./bootstrap.js",
"dev": "rimraf src/index.ts && cool check entity && cross-env NODE_ENV=local mwtsc --cleanOutDir --watch --run @midwayjs/mock/app.js",
"test": "cross-env NODE_ENV=unittest jest",
"cov": "jest --coverage",
"lint": "mwts check",
"lint:fix": "mwts fix",
"ci": "npm run cov",
"build": "cool entity && bundle && mwtsc --cleanOutDir",
"build:obfuscate": "cool entity && bundle && mwtsc --cleanOutDir && cool obfuscate",
"pkg": "rimraf build && mkdir build && npm run build && pkg . -d > build/pkg.log",
"pm2:start": "pm2 start ./bootstrap.js -i 1 --name cool-admin",
"pm2:stop": "pm2 stop cool-admin & pm2 delete cool-admin"
},
"bin": "./bootstrap.js",
"pkg": {
"scripts": "dist/**/*",
"assets": [
"public/**/*",
"typings/**/*",
"cool/**/*"
],
"targets": [
"node18-macos-x64",
"node18-win-x64"
],
"outputPath": "build"
},
"repository": {
"type": "git",
"url": "https://cool-js.com"
},
"author": "COOL",
"license": "MIT"
}