1 Star 1 Fork 1

TING/Ting-Admin-Serve-Nestjs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 3.05 KB
一键复制 编辑 原始数据 按行查看 历史
TING 提交于 2021-04-02 15:45 . 将CRUD封装为npm包并引用
{
"name": "admin",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"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 ./apps/admin/test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^7.6.13",
"@nestjs/core": "^7.6.13",
"@nestjs/jwt": "^7.2.0",
"@nestjs/passport": "^7.1.5",
"@nestjs/platform-express": "^7.6.13",
"@nestjs/swagger": "^4.7.15",
"@nestjs/typeorm": "^7.1.5",
"@types/passport": "^1.0.6",
"@types/passport-jwt": "^3.0.5",
"@types/passport-local": "^1.0.33",
"basic-auth": "^2.0.1",
"cookie-parser": "^1.4.5",
"express-session": "^1.17.1",
"jsonwebtoken": "^8.5.1",
"md5": "^2.3.0",
"mssql": "5.*",
"mysql2": "^2.2.5",
"nestjs-tyoeorm-crud": "^0.0.2",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.6.6",
"silly-datetime": "^0.1.2",
"svg-captcha": "^1.4.0",
"swagger-ui-express": "^4.1.6",
"typeorm": "^0.2.31"
},
"devDependencies": {
"@nestjs/cli": "^7.5.6",
"@nestjs/schematics": "^7.2.7",
"@nestjs/testing": "^7.6.13",
"@types/bcryptjs": "^2.4.2",
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.11",
"@types/express-session": "^1.17.3",
"@types/jest": "^26.0.20",
"@types/jimp": "^0.2.28",
"@types/node": "^14.14.31",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"bcryptjs": "^2.4.3",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"ts-jest": "^26.5.2",
"ts-loader": "^8.0.17",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.1.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/apps/",
"<rootDir>/libs/"
],
"moduleNameMapper": {
"@libs/db/(.*)": "<rootDir>/libs/db/src/$1",
"@libs/db": "<rootDir>/libs/db/src",
"@libs/common/(.*)": "<rootDir>/libs/common/src/$1",
"@libs/common": "<rootDir>/libs/common/src"
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ting-code/Ting-Admin-Serve-Nestjs.git
git@gitee.com:ting-code/Ting-Admin-Serve-Nestjs.git
ting-code
Ting-Admin-Serve-Nestjs
Ting-Admin-Serve-Nestjs
master

搜索帮助