85 lines
2.4 KiB
JSON
85 lines
2.4 KiB
JSON
{
|
|
"name": "nest-typescript-starter",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "Nest TypeScript starter repository",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.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/jest/bin/jest --runInBand",
|
|
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
},
|
|
"engines": {
|
|
"npm": ">=8.0.0",
|
|
"node": ">=16.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/common": "^10.3.2",
|
|
"@nestjs/core": "^10.4.4",
|
|
"@nestjs/platform-express": "^10.4.4",
|
|
"reflect-metadata": "^0.2.1",
|
|
"rxjs": "^7.8.1",
|
|
"@nestjs/sequelize": "^10.0.1",
|
|
"sequelize": "^6.37.5",
|
|
"sequelize-typescript": "^2.1.6",
|
|
"pg": "^8.13.1",
|
|
"@nestjs/swagger": "^8.0.7",
|
|
"swagger-ui-express": "^5.0.1",
|
|
"class-validator": "^0.14.1",
|
|
"class-transformer": "^0.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.4.5",
|
|
"@nestjs/schematics": "^10.1.0",
|
|
"@nestjs/testing": "^10.3.2",
|
|
"@swc/cli": "^0.3.9",
|
|
"@swc/core": "^1.4.0",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^20.11.16",
|
|
"@types/supertest": "^6.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^3.2.5",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^6.3.4",
|
|
"ts-jest": "^29.1.2",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^5.3.3",
|
|
"@types/sequelize": "^4.28.20",
|
|
"sequelize-cli": "^6.6.2"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|