101 lines
3.4 KiB
JSON
101 lines
3.4 KiB
JSON
{
|
|
"name": "ticket-booking-be",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"author": "",
|
|
"private": true,
|
|
"license": "UNLICENSED",
|
|
"scripts": {
|
|
"build": "node script-util.js config.local.json config.json && nest build",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"start": "node script-util.js config.local.json config.json && nest start",
|
|
"start:local": "node script-util.js config.local.json config.json && nest start --watch",
|
|
"start:debug": "node script-util.js config.local.json config.json && nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"build:dev": "node script-util.js config.dev.json config.json && nest build && cp package.json dist/package.json && cp -r config dist/",
|
|
"build:prod": "node script-util.js config.prod.json config.json && nest build && cp package.json dist/package.json && cp -r config dist/",
|
|
"build:test": "node script-util.js config.test.json config.json && nest build && cp package.json dist/package.json && cp -r config dist/",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/axios": "^4.0.0",
|
|
"@nestjs/common": "^10.4.15",
|
|
"@nestjs/config": "^3.3.0",
|
|
"@nestjs/core": "^10.4.15",
|
|
"@nestjs/jwt": "^11.0.0",
|
|
"@nestjs/passport": "^11.0.5",
|
|
"@nestjs/platform-express": "^10.0.0",
|
|
"@nestjs/swagger": "^8.1.1",
|
|
"@nestjs/typeorm": "^10.0.1",
|
|
"@nestjs/websockets": "^10.4.15",
|
|
"dotenv": "^16.3.1",
|
|
"handlebars": "^4.7.8",
|
|
"ioredis": "^5.6.0",
|
|
"moment": "^2.30.1",
|
|
"nodemailer": "^6.9.9",
|
|
"otp-generator": "^4.0.1",
|
|
"passport-jwt": "^4.0.1",
|
|
"pg": "^8.14.1",
|
|
"reflect-metadata": "^0.1.14",
|
|
"rxjs": "^7.8.1",
|
|
"sequelize": "^6.35.2",
|
|
"sequelize-typescript": "^2.1.6",
|
|
"socket.io": "^4.8.1",
|
|
"typeorm": "^0.3.17",
|
|
"web-push": "^3.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.0.0",
|
|
"@nestjs/schematics": "^10.2.3",
|
|
"@nestjs/testing": "^10.0.0",
|
|
"@types/express": "^4.17.17",
|
|
"@types/jest": "^29.5.2",
|
|
"@types/multer": "^1.4.11",
|
|
"@types/node": "^20.10.6",
|
|
"@types/nodemailer": "^6.4.14",
|
|
"@types/passport": "^1.0.17",
|
|
"@types/passport-jwt": "^4.0.1",
|
|
"@types/supertest": "^2.0.12",
|
|
"@types/validator": "^13.11.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"jest": "^29.5.0",
|
|
"nodemon": "^3.0.2",
|
|
"prettier": "^3.0.0",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "^29.1.0",
|
|
"ts-loader": "^9.5.2",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"typescript": "^5.1.3",
|
|
"webpack": "^5.98.0",
|
|
"webpack-cli": "^6.0.1"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|