1 Star 0 Fork 0

2547409617/nest-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 4.31 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "nest-admin",
"version": "0.0.1",
"description": "simple and efficient authority management system with separation of front and backends",
"author": "buqiyuan",
"private": true,
"license": "MIT",
"scripts": {
"build": "nest build",
"start": "cross-env NODE_ENV=development nest start",
"dev": "cross-env NODE_ENV=development nest start --watch",
"start:debug": "cross-env NODE_ENV=development nest start --debug --watch",
"start:prod": "cross-env NODE_ENV=production node dist/main.js",
"pm2:prod": "pm2 start ecosystem.config.js --env production",
"pm2:dev": "pm2 start ecosystem.config.js --env development",
"pm2:test": "pm2 start ecosystem.config.js --env test",
"migration:create": "npx typeorm-ts-node-commonjs migration:create ./src/migrations/create-table",
"migration:generate": "node ./scripts/migration-generate.js",
"migration:run": "npm run build&&npx typeorm-ts-node-commonjs migration:run -d ./src/config/data-source.ts",
"migration:revert": "npx typeorm-ts-node-commonjs migration:revert -d ./src/config/data-source.ts",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"cleanlog": "rimraf logs",
"docker:rmi": "docker compose --env-file .env.production stop nest-admin-server && docker container rm nest-admin-server && docker rmi nest-admin-server",
"docker:build:dev": "docker compose --env-file .env.development up --build",
"docker:build": "docker compose --env-file .env.production up --build",
"docker:up": "docker compose --env-file .env.production up -d --no-build",
"docker:down": "docker compose --env-file .env.production down",
"docker:logs": "docker compose --env-file .env.production logs -f",
"prebuild": "rimraf dist",
"prepare": "husky install"
},
"dependencies": {
"@fastify/static": "^6.5.1",
"@fastify/swagger": "^8.2.0",
"@nestjs/axios": "^1.0.0",
"@nestjs/bull": "^0.6.2",
"@nestjs/common": "^9.2.0",
"@nestjs/config": "^2.2.0",
"@nestjs/core": "^9.2.0",
"@nestjs/jwt": "^9.0.0",
"@nestjs/platform-fastify": "^9.2.0",
"@nestjs/platform-socket.io": "^9.2.0",
"@nestjs/swagger": "^6.1.3",
"@nestjs/typeorm": "^9.0.1",
"@nestjs/websockets": "^9.2.0",
"bull": "^4.10.2",
"cache-manager": "^5.1.3",
"class-transformer": "0.5.1",
"class-validator": "^0.13.2",
"crypto-js": "^4.1.1",
"date-fns": "^2.29.3",
"ioredis": "^5.2.4",
"lodash": "^4.17.21",
"mysql2": "^2.3.3",
"nanoid": "^3.3.4",
"qiniu": "^7.8.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.7",
"svg-captcha": "^1.4.0",
"systeminformation": "^5.14.4",
"typeorm": "^0.3.10",
"ua-parser-js": "^1.0.32",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@nestjs/cli": "^9.1.5",
"@nestjs/schematics": "^9.0.3",
"@nestjs/testing": "^9.2.0",
"@types/bull": "^4.10.0",
"@types/cache-manager": "^4.0.2",
"@types/jest": "^29.2.3",
"@types/lodash": "^4.14.190",
"@types/node": "^18.11.9",
"@types/supertest": "^2.0.12",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"cross-env": "^7.0.3",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^13.0.4",
"prettier": "^2.8.0",
"supertest": "^6.3.1",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.9.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"engines": {
"node": ">=16"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/githubnet/nest-admin.git
git@gitee.com:githubnet/nest-admin.git
githubnet
nest-admin
nest-admin
main

搜索帮助