mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-10 16:12:50 +00:00
90 lines
2.5 KiB
JSON
90 lines
2.5 KiB
JSON
{
|
|
"name": "cool-admin",
|
|
"version": "8.0.0",
|
|
"description": "一个很酷的Ai快速开发框架",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@cool-midway/core": "8.0.0-beta.2",
|
|
"@cool-midway/rpc": "8.0.0-beta.2",
|
|
"@cool-midway/task": "8.0.0-beta.2",
|
|
"@midwayjs/bootstrap": "^3.20.0",
|
|
"@midwayjs/cache-manager": "^3.20.0",
|
|
"@midwayjs/core": "^3.20.0",
|
|
"@midwayjs/cron": "^3.20.0",
|
|
"@midwayjs/cross-domain": "^3.20.0",
|
|
"@midwayjs/info": "^3.20.0",
|
|
"@midwayjs/koa": "^3.20.0",
|
|
"@midwayjs/logger": "^3.4.2",
|
|
"@midwayjs/static-file": "^3.20.0",
|
|
"@midwayjs/typeorm": "^3.20.0",
|
|
"@midwayjs/upload": "^3.20.0",
|
|
"@midwayjs/validate": "^3.20.0",
|
|
"adm-zip": "^0.5.16",
|
|
"axios": "^1.7.9",
|
|
"cron": "^3.5.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"lodash": "^4.17.21",
|
|
"md5": "^2.3.0",
|
|
"moment": "^2.30.1",
|
|
"mysql2": "^3.12.0",
|
|
"svg-captcha": "^1.4.0",
|
|
"tslib": "^2.8.1",
|
|
"typeorm": "npm:@cool-midway/typeorm@8.0.0-beta.1",
|
|
"uuid": "^11.0.5",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@midwayjs/bundle-helper": "^1.3.0",
|
|
"@midwayjs/mock": "^3.20.0",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "22",
|
|
"@yao-pkg/pkg": "^6.2.0",
|
|
"cross-env": "^7.0.3",
|
|
"jest": "^29.7.0",
|
|
"mwts": "^1.3.0",
|
|
"mwtsc": "^1.15.1",
|
|
"rimraf": "^6.0.1",
|
|
"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 && 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/**/*",
|
|
"node_modules/axios/dist/node/*"
|
|
],
|
|
"assets": [
|
|
"public/**/*",
|
|
"typings/**/*",
|
|
"src/locales/**/*"
|
|
],
|
|
"targets": [
|
|
"node20-win-x64"
|
|
],
|
|
"outputPath": "build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://cool-js.com"
|
|
},
|
|
"author": "COOL",
|
|
"license": "MIT"
|
|
}
|