Skip to content

Instantly share code, notes, and snippets.

@wxs77577
Created June 24, 2020 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wxs77577/a4fe78312562caed31459e8fc8fc3e0a to your computer and use it in GitHub Desktop.
Save wxs77577/a4fe78312562caed31459e8fc8fc3e0a to your computer and use it in GitHub Desktop.

{ "name": "nest-test", "version": "0.0.1", "description": "", "author": "", "license": "MIT", "scripts": { "build": "tsc -p tsconfig.build.json", "format": "prettier --write "src//*.ts" "test//.ts" "libs/**/.ts"", "start": "ts-node -r tsconfig-paths/register src/main.ts", "start:dev": "concurrently --handle-input "wait-on dist/main.js && nodemon" "tsc -w -p tsconfig.build.json" ", "start:debug": "nodemon --config nodemon-debug.json", "prestart:prod": "rimraf dist && npm run build", "start:prod": "node dist/main.js", "lint": "tslint -p tsconfig.json -c tslint.json", "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": "^7.2.0", "@nestjs/config": "^0.5.0", "@nestjs/core": "^7.2.0", "@nestjs/mongoose": "^7.0.1", "@nestjs/platform-express": "^7.2.0", "@nestjs/schedule": "^0.4.0", "@nestjs/swagger": "^4.5.11", "@types/mongoose": "^5.5.8", "class-transformer": "^0.2.3", "class-validator": "^0.12.2", "config": "^3.3.1", "mongoose": "^5.6.4", "reflect-metadata": "^0.1.12", "rimraf": "^3.0.2", "rxjs": "^6.3.3", "swagger-ui-express": "^4.0.7" }, "devDependencies": { "@nestjs/testing": "^7.2.0", "@types/express": "^4.16.0", "@types/jest": "^26.0.2", "@types/node": "^14.0.14", "@types/supertest": "^2.0.7", "concurrently": "^5.2.0", "jest": "^26.1.0", "nodemon": "^2.0.4", "prettier": "^2.0.5", "supertest": "^4.0.2", "ts-jest": "26.1.1", "ts-node": "8.10.2", "tsconfig-paths": "3.9.0", "tslint": "6.1.2", "typescript": "3.9.5", "wait-on": "^5.0.1" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": ".", "testRegex": ".spec.ts$", "transform": { "^.+\.(t|j)s$": "ts-jest" }, "coverageDirectory": "./coverage", "testEnvironment": "node", "roots": [ "/src/", "/libs/" ], "moduleNameMapper": { "@app/common/(.*)": "/libs/common/src/$1", "@app/common": "/libs/common/src" } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment