UNPKG

nestjs-api-tools

Version:

Wrappers for convenient API development including validation, logging and i18n wrappers

97 lines (96 loc) 2.47 kB
{ "name": "nestjs-api-tools", "version": "1.1.0", "description": "Wrappers for convenient API development including validation, logging and i18n wrappers", "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": "14.x || 16.x" }, "scripts": { "build": "npx tsc", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/jpyatachkov/nestjs-api-tools.git" }, "keywords": [ "nestjs", "cache", "discord", "pipe", "validation", "guard" ], "author": "jpyatachkov", "license": "MIT", "bugs": { "url": "https://github.com/jpyatachkov/nestjs-api-tools/issues" }, "homepage": "https://github.com/jpyatachkov/nestjs-api-tools#readme", "dependencies": { "@nestjs/common": "^8.3.1", "@nestjs/core": "^8.3.1", "@nestjs/swagger": "^5.2.0", "@nestjs/typeorm": "^8.0.3", "class-transformer": "^0.5.1", "class-validator": "^0.13.2", "discord.js": "^12.5.3", "ip-range-check": "^0.2.0", "lodash": "^4.17.21", "luxon": "^2.3.1", "nestjs-i18n": "^8.2.2", "node-cache": "^5.1.2", "reflect-metadata": "^0.1.13", "rxjs": "^7.5.4", "typeorm": "^0.2.44" }, "devDependencies": { "@babel/core": "^7.17.5", "@babel/plugin-proposal-optional-chaining": "^7.16.7", "@babel/preset-env": "^7.16.11", "@babel/preset-typescript": "^7.16.7", "@nestjs/testing": "^8.3.1", "@types/express": "^4.17.13", "@types/jest": "^27.4.1", "@types/lodash": "^4.14.179", "@types/luxon": "^2.0.9", "@types/node": "^17.0.21", "@typescript-eslint/eslint-plugin": "^5.12.1", "@typescript-eslint/parser": "^5.12.1", "babel-jest": "^27.5.1", "eslint": "^8.10.0", "eslint-plugin-import": "^2.25.4", "faker": "^5.5.3", "jest": "^27.5.1", "ts-jest": "^27.1.3", "typescript": "^4.5.5" }, "jest": { "preset": "ts-jest/presets/js-with-babel", "globals": { "ts-jest": { "tsconfig": "tsconfig.json", "babelConfig": true, "diagnostics": true } }, "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "src", "testRegex": ".spec.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "coverageDirectory": "../coverage", "testEnvironment": "node", "setupFiles": [ "./jest-setup.ts" ] } }