nest_scaffold/package.json

100 lines
3.2 KiB
JSON
Raw Normal View History

2023-02-24 15:25:06 +07:00
{
"name": "nest_scaffold",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"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/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"migration:create": "ts-node database/migrate create --name",
"migration:up": "ts-node database/migrate up",
"migration:up:tests": "NODE_ENV=test ts-node database/migrate up",
"migration:down": "ts-node database/migrate down",
"migration:down:tests": "NODE_ENV=test ts-node database/migrate down",
"migration:executed": "ts-node database/migrate executed",
"migration:executed:tests": "NODE_ENV=test ts-node database/migrate executed",
"migration:pending": "ts-node database/migrate pending",
"migration:pending:tests": "NODE_ENV=test ts-node database/migrate pending",
"seed:up": "ts-node database/seed"
},
"dependencies": {
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
2023-02-26 16:08:28 +07:00
"@nestjs/cqrs": "^9.0.3",
2023-02-24 15:25:06 +07:00
"@nestjs/event-emitter": "^1.4.1",
2023-02-26 16:08:28 +07:00
"@nestjs/microservices": "^9.3.9",
2023-02-24 15:25:06 +07:00
"@nestjs/platform-express": "^9.0.0",
"@slonik/migrator": "^0.11.3",
"cache-manager": "^5.1.6",
"cache-manager-redis-store": "^3.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"dotenv": "^16.0.3",
"env-var": "^7.3.0",
"ioredis": "^5.3.1",
"nestjs-request-context": "^2.1.0",
"nestjs-slonik": "^9.0.0",
"oxide.ts": "^1.1.0",
"redis": "^3.1.2",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.2.0",
"slonik": "31.2.4"
},
"devDependencies": {
"@nestjs/cli": "^9.0.0",
"@nestjs/schematics": "^9.0.0",
"@nestjs/testing": "^9.0.0",
"@types/express": "^4.17.13",
"@types/jest": "29.2.4",
"@types/node": "18.11.18",
"@types/supertest": "^2.0.11",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "29.3.1",
"prettier": "^2.3.2",
2023-02-26 16:08:28 +07:00
"run-script-webpack-plugin": "^0.1.1",
2023-02-24 15:25:06 +07:00
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "29.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "4.1.1",
2023-02-26 16:08:28 +07:00
"typescript": "^4.7.4",
"webpack": "^5.75.0",
"webpack-node-externals": "^3.0.0"
2023-02-24 15:25:06 +07:00
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}