UNPKG

nestjs-mapped-exception

Version:
77 lines (76 loc) 2.56 kB
{ "name": "nestjs-mapped-exception", "version": "1.4.10", "description": "Mapped Exceptions for NestJS", "engines": { "node": ">=12.0.0" }, "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "jest", "test:e2e": "yarn copy && jest --config ./jest-e2e.json --detectOpenHandles", "build": "rimraf dist && tsc", "prepublish": "npm run build", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags", "start": "yarn copy && nest start", "start:dev": "yarn copy && nest start --watch", "migration:generate": "ts-node ./node_modules/typeorm/cli.js migration:generate -n migration -d src/app/migrations --config src/app/ormconfig.ts", "migration:create": "ts-node ./node_modules/typeorm/cli.js migration:create -n migration -d src/app/migrations --config src/app/ormconfig.ts", "migration:run": "ts-node ./node_modules/typeorm/cli.js migration:run --config src/app/ormconfig.ts", "migration:revert": "ts-node ./node_modules/typeorm/cli.js migration:revert --config src/app/ormconfig.ts", "copy": "copyfiles -u 1 src/**/*.proto dist/ " }, "keywords": [ "nestjs", "mapped", "exception" ], "author": "Jhow Rodrigues", "license": "MIT", "dependencies": { "@nestjs/common": "^7.3.2", "@nestjs/typeorm": "^7.1.0", "grpc": "^1.24.3", "rxjs": "^6.5.5", "typeorm": "^0.2.25" }, "devDependencies": { "@grpc/proto-loader": "^0.5.5", "@nestjs/config": "^0.5.0", "@nestjs/core": "^7.3.2", "@nestjs/graphql": "^7.5.5", "@nestjs/microservices": "^7.3.2", "@nestjs/platform-fastify": "^7.3.2", "@nestjs/testing": "^7.3.2", "@types/jest": "^25.2.3", "@types/node": "^14.0.4", "apollo-server-fastify": "^2.15.1", "class-transformer": "^0.3.1", "class-validator": "^0.12.2", "copyfiles": "^2.3.0", "dotenv": "^8.2.0", "graphql": "^15.3.0", "graphql-tools": "^6.0.14", "jest": "^26.0.1", "pg": "^8.3.0", "prettier": "^2.0.5", "rimraf": "^3.0.2", "ts-jest": "^26.0.0", "ts-node": "^8.10.2", "tslint": "^6.1.2", "tslint-config-airbnb": "^5.11.2", "typescript": "^3.9.3" }, "files": [ "dist/core/**/*", "dist/index.*" ], "repository": "https://github.com/clubpetro/nestjs-mapped-exception" }