115 lines
3.4 KiB
JSON
115 lines
3.4 KiB
JSON
{
|
|
"name": "template-nest",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"author": "",
|
|
"private": true,
|
|
"license": "UNLICENSED",
|
|
"scripts": {
|
|
"prebuild": "rimraf dist",
|
|
"nest:dev": "nest start --watch",
|
|
"dev": "nest build --webpack --webpackPath webpack.config.js --watch",
|
|
"build": "nest build --webpack --webpackPath webpack.config.js",
|
|
"nest: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",
|
|
"orm": "typeorm-ts-node-esm -d ./src/database/datasource/index.ts",
|
|
"g": "plop --plopfile scripts/template/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/axios": "^3.0.0",
|
|
"@nestjs/cache-manager": "^2.1.0",
|
|
"@nestjs/common": "^9.4.3",
|
|
"@nestjs/config": "^2.3.4",
|
|
"@nestjs/core": "^9.4.3",
|
|
"@nestjs/jwt": "^10.1.1",
|
|
"@nestjs/platform-express": "^9.4.3",
|
|
"@nestjs/serve-static": "^3.0.1",
|
|
"@nestjs/swagger": "^6.3.0",
|
|
"@nestjs/typeorm": "^9.0.1",
|
|
"axios": "^1.5.0",
|
|
"cache-manager": "^5.2.3",
|
|
"cache-manager-redis-store": "^3.0.1",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.0",
|
|
"dayjs": "^1.11.9",
|
|
"dotenv": "^16.3.1",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"mockjs": "^1.1.0",
|
|
"multer": "1.4.5-lts.1",
|
|
"mysql2": "^3.6.1",
|
|
"nodemailer": "^6.9.5",
|
|
"redis": "^4.6.8",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^3.0.2",
|
|
"rxjs": "^7.8.1",
|
|
"sqlite3": "^5.1.6",
|
|
"typeorm": "^0.3.17",
|
|
"typeorm-naming-strategies": "^4.1.0",
|
|
"ua-parser-js": "^1.0.36",
|
|
"uuid": "^9.0.1",
|
|
"winston": "^3.10.0",
|
|
"winston-daily-rotate-file": "^4.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^9.5.0",
|
|
"@nestjs/schematics": "^9.2.0",
|
|
"@nestjs/testing": "^9.4.3",
|
|
"@types/express": "^4.17.17",
|
|
"@types/jest": "28.1.4",
|
|
"@types/lodash": "^4.14.198",
|
|
"@types/lodash-es": "^4.17.9",
|
|
"@types/mockjs": "^1.0.7",
|
|
"@types/multer": "^1.4.7",
|
|
"@types/node": "^16.18.50",
|
|
"@types/nodemailer": "^6.4.10",
|
|
"@types/supertest": "^2.0.12",
|
|
"@types/uuid": "^9.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"eslint": "^8.49.0",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"jest": "28.1.2",
|
|
"plop": "^3.1.2",
|
|
"prettier": "^2.8.8",
|
|
"run-script-webpack-plugin": "^0.2.0",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "28.0.5",
|
|
"ts-loader": "^9.4.4",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "4.0.0",
|
|
"typescript": "^4.9.5",
|
|
"webpack": "^5.88.2",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"**/*.(t|j)s"
|
|
],
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|