2023-04-16 20:00:55 +00:00
|
|
|
{
|
|
|
|
"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/.bin/jest --runInBand",
|
|
|
|
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@nestjs/common": "^9.0.0",
|
|
|
|
"@nestjs/core": "^9.0.5",
|
2023-04-18 12:56:35 +00:00
|
|
|
"@nestjs/mongoose": "^9.2.2",
|
2023-04-16 20:00:55 +00:00
|
|
|
"@nestjs/platform-express": "^9.0.0",
|
2023-04-18 07:56:09 +00:00
|
|
|
"axios": "^1.3.5",
|
2023-04-18 12:56:35 +00:00
|
|
|
"mongoose": "^7.0.4",
|
2023-04-17 16:45:40 +00:00
|
|
|
"puppeteer": "^19.9.1",
|
2023-04-16 20:00:55 +00:00
|
|
|
"reflect-metadata": "^0.1.13",
|
|
|
|
"rxjs": "^7.5.5"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@nestjs/cli": "^9.0.0",
|
|
|
|
"@nestjs/schematics": "^9.0.0",
|
|
|
|
"@nestjs/testing": "^9.0.0",
|
|
|
|
"@types/express": "^4.17.13",
|
|
|
|
"@types/jest": "^28.1.4",
|
|
|
|
"@types/node": "^18.0.3",
|
|
|
|
"@types/supertest": "^2.0.12",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
|
|
"@typescript-eslint/parser": "^5.30.5",
|
|
|
|
"eslint": "^8.19.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
|
"jest": "^28.1.2",
|
|
|
|
"prettier": "^2.7.1",
|
|
|
|
"source-map-support": "^0.5.21",
|
|
|
|
"supertest": "^6.2.4",
|
|
|
|
"ts-jest": "^28.0.5",
|
|
|
|
"ts-loader": "^9.3.1",
|
|
|
|
"ts-node": "^10.8.2",
|
|
|
|
"tsconfig-paths": "^4.0.0",
|
|
|
|
"typescript": "^4.7.4"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": "src",
|
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
|
|
},
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"**/*.(t|j)s"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "../coverage",
|
|
|
|
"testEnvironment": "node"
|
|
|
|
}
|
|
|
|
}
|