UNPKG

typescript-rest

Version:
113 lines (112 loc) 3.1 kB
{ "name": "typescript-rest", "version": "3.0.4", "description": "A Library to create RESTFul APIs with Typescript", "author": "Thiago da Rosa de Bustamante <thiago@cruxframework.org>", "keywords": [ "API", "REST", "RESTFul", "service", "microservice", "typescript", "node server" ], "main": "./dist/typescript-rest.js", "typings": "./dist/typescript-rest.d.ts", "license": "MIT", "scripts": { "start": "tsc -w", "build": "npm run clean && tsc", "clean": "rimraf dist", "prepare": "rimraf dist && tsc", "lint": "tslint ./src/**/*.ts ./test/**/*.ts", "lint:fix": "tslint --fix ./src/**/*.ts ./test/**/*.ts -t verbose", "pretest": "cross-env NODE_ENV=test npm run build && npm run lint", "test": "cross-env NODE_ENV=test jest --config ./test/jest.config.js --coverage --runInBand", "test:unit": "cross-env NODE_ENV=test jest --config ./test/jest.config-unit.js", "test:integration": "cross-env NODE_ENV=test jest --config ./test/jest.config-integration.js --runInBand", "tsc": "tsc" }, "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "require": [ "ts-node/register" ], "reporter": [ "text-summary", "json", "html" ], "report-dir": "./reports/coverage", "sourceMap": true, "instrument": true }, "dependencies": { "@types/body-parser": "1.19.0", "@types/cookie-parser": "^1.4.2", "@types/express": "^4.17.12", "@types/multer": "1.4.5", "@types/passport": "^1.0.6", "@types/serve-static": "^1.13.9", "body-parser": "^1.19.0", "cookie-parser": "^1.4.5", "express": "^4.17.1", "fs-extra": "^10.0.0", "lodash": "^4.17.21", "multer": "^1.4.2", "passport": "^0.4.1", "path": "^0.12.7", "reflect-metadata": "^0.1.13", "require-glob": "^4.0.0", "swagger-ui-express": "^4.1.6", "yamljs": "^0.3.0" }, "devDependencies": { "@types/debug": "^4.1.5", "@types/express-serve-static-core": "^4.17.18", "@types/fs-extra": "9.0.11", "@types/jest": "^26.0.23", "@types/jsonwebtoken": "^8.5.1", "@types/lodash": "^4.14.149", "@types/passport-jwt": "^3.0.3", "@types/proxyquire": "^1.3.28", "@types/request": "^2.48.4", "@types/yamljs": "^0.2.30", "cross-env": "^7.0.3", "jest": "^27.0.4", "jsonwebtoken": "^8.5.1", "passport-jwt": "^4.0.0", "request": "^2.88.0", "rimraf": "^3.0.2", "source-map-support": "^0.5.16", "test-wait": "^1.1.3", "ts-jest": "^27.0.3", "ts-node": "^10.0.0", "tslint": "^6.1.3", "tslint-config-prettier": "^1.17.0", "typescript": "^4.1.3", "typescript-ioc": "^3.0.3", "typescript-rest-ioc": "^1.0.0" }, "repository": { "type": "git", "url": "https://github.com/thiagobustamante/typescript-rest.git" }, "bugs": { "url": "https://github.com/thiagobustamante/typescript-rest/issues" }, "directories": { "lib": "dist", "doc": "doc" }, "engines": { "node": ">=6.0.0" }, "engineStrict": true }