UNPKG

typescript-rest

Version:
108 lines (107 loc) 2.86 kB
{ "name": "typescript-rest", "version": "1.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", "lint": "tslint ./src/**/*.ts ./test/**/*.ts", "format": "tsfmt -r", "prepublish": "npm run build && npm run doc", "deploy": "npm version patch && npm publish", "postversion": "git push origin master", "pretest": "cross-env NODE_ENV=test npm build && npm run lint", "test": "cross-env NODE_ENV=test mocha", "test:coverage": "nyc npm test", "tsc": "tsc", "doc": "typedoc --out ./doc/ --name 'Typescript-rest' --readme ./README.MD --module commonjs --target ES5 --includeDeclarations --excludePrivate --excludeExternals ./src" }, "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "require": [ "ts-node/register" ], "reporter": [ "text-summary", "html" ], "sourceMap": true, "instrument": true }, "dependencies": { "@types/body-parser": "0.0.33", "@types/cookie-parser": "^1.3.30", "@types/express": "^4.0.35", "@types/express-serve-static-core": "^4.0.44", "@types/multer": "0.0.32", "@types/serve-static": "^1.7.31", "body-parser": "^1.17.1", "cookie-parser": "^1.4.3", "cors": "^2.8.3", "express": "^4.15.2", "fs-extra": "^2.1.2", "lodash": "^4.17.4", "multer": "^1.3.0", "path": "^0.12.7", "reflect-metadata": "^0.1.10", "swagger-ui-express": "^1.0.7", "yamljs": "^0.2.10" }, "devDependencies": { "@types/chai": "^3.5.1", "@types/fs-extra": "0.0.37", "@types/lodash": "^4.14.62", "@types/mocha": "^2.2.41", "@types/request": "0.0.32", "@types/yamljs": "^0.2.30", "chai": "^3.5.0", "coveralls": "^2.13.1", "cross-env": "^4.0.0", "istanbul": "^0.4.5", "mocha": "^3.3.0", "nyc": "^10.2.0", "request": "^2.81.0", "rimraf": "^2.6.1", "source-map-support": "^0.4.14", "ts-node": "^3.0.2", "tslint": "^5.1.0", "typedoc": "^0.5.10", "typescript": "^2.3.2", "typescript-formatter": "^5.1.3", "typescript-ioc": "^0.4.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 }