@brandondunc/typescript-rest
Version:
A Library to create RESTFul APIs with Typescript, forked from typscript-rest
98 lines (97 loc) • 2.63 kB
JSON
{
"name": "@brandondunc/typescript-rest",
"version": "3.0.7",
"description": "A Library to create RESTFul APIs with Typescript, forked from typscript-rest",
"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.5",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^5.0.0",
"@types/multer": "1.4.12",
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.7",
"express": "^5.0.1",
"fs-extra": "^11.2.0",
"lodash": "^4.17.21",
"multer": "^1.4.5-lts.1",
"reflect-metadata": "^0.2.2",
"require-glob": "^4.1.0"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/fs-extra": "11.0.4",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.13",
"@types/node": "^22.9.0",
"@types/request": "^2.48.12",
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"request": "^2.88.0",
"rimraf": "^6.0.1",
"test-wait": "^1.1.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.17.0",
"typescript": "^5.6.3"
},
"repository": {
"type": "git",
"url": "https://github.com/brandonduncan/typescript-rest.git"
},
"bugs": {
"url": "https://github.com/brandonduncan/typescript-rest/issues"
},
"directories": {
"lib": "dist",
"doc": "doc"
},
"engines": {
"node": ">=6.0.0"
},
"engineStrict": true
}