1 Star 0 Fork 3

XiaoSongJiang/nest-template

forked from buqiyuan/nest-template 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 3.17 KB
一键复制 编辑 原始数据 按行查看 历史
buqiyuan 提交于 2020-05-20 21:25 . first commit
{
"name": "nest-sequelize-typescript",
"version": "0.0.1",
"description": "Nest + sequelize-typescript + JWT + Jest + Swagger",
"keywords": [
"nest",
"nestjs",
"nest.js",
"sequelize",
"sequelize-typescript",
"orm",
"nodejs",
"node.js",
"node",
"typescript",
"jwt",
"jsonwebtoken",
"passport",
"swagger",
"jest"
],
"author": "bqy",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"db:migrate": "ts-node node_modules/.bin/sequelize db:migrate",
"db:drop": "ts-node node_modules/.bin/sequelize db:drop",
"db:create": "ts-node node_modules/.bin/sequelize db:create",
"db:seed-dev": "ts-node node_modules/.bin/sequelize db:seed:all",
"db:seed-prod": "ts-node node_modules/.bin/sequelize db:seed:all --seeders-path db/seeders-prod",
"db:reset": "npm run db:drop && npm run db:create && npm run db:migrate && npm run db:seed-dev && npm run db:seed-prod",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && npm run build",
"start:prod": "node dist/src/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^7.0.1",
"@nestjs/core": "^7.0.1",
"@nestjs/passport": "^7.0.0",
"@nestjs/platform-express": "^7.0.1",
"@nestjs/swagger": "^4.4.0",
"bcrypt": "^4.0.1",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.0",
"jsonwebtoken": "^8.5.1",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"pg": "^7.18.2",
"mysql2": "^2.1.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.4",
"sequelize": "^5.21.5",
"sequelize-cli": "^5.5.1",
"sequelize-typescript": "^1.1.0",
"swagger-ui-express": "^4.1.3"
},
"devDependencies": {
"@nestjs/testing": "^7.0.1",
"@types/express": "^4.17.3",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.1",
"@types/sequelize": "^4.28.8",
"@types/supertest": "^2.0.8",
"@types/bcrypt": "^3.0.0",
"@types/jsonwebtoken": "^8.3.8",
"@types/passport": "^1.0.3",
"@types/passport-jwt": "^3.0.3",
"jest": "^25.1.0",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"supertest": "^4.0.2",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"tslint": "6.1.0",
"typescript": "^3.8.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/XiaoSongJiang/nest-template.git
git@gitee.com:XiaoSongJiang/nest-template.git
XiaoSongJiang
nest-template
nest-template
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385