UNPKG

ts-router

Version:

koa router middleware, typescript fully supported, jersey like coding

58 lines (57 loc) 1.61 kB
{ "name": "ts-router", "version": "0.2.6", "description": "koa router middleware, typescript fully supported, jersey like coding", "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "test": "rm -rf test-dist;tsc -p tsconfig.test.json;mocha test-dist/test/*.js --require source-map-support/register", "coverage": "rm -rf test-dist;tsc -p tsconfig.test.json;istanbul cover _mocha test-dist/test/*.js", "build": "./node_modules/.bin/tsc -p tsconfig.json", "lint": "./node_modules/.bin/tslint -c tslint.json ./src/**/*.ts" }, "dependencies": { "@types/chai": "^3.4.29", "@types/koa": "^2.0.29", "@types/lodash": "0.0.28", "@types/mocha": "^2.2.28", "@types/path-to-regexp": "^1.0.28", "@types/supertest": "^1.1.27", "co-body": "^4.2.0", "formidable": "^1.0.17", "koa": "^2.0.0", "lodash": "^4.13.1", "path-to-regexp": "^1.5.3", "reflect-metadata": "^0.1.3" }, "devDependencies": { "chai": "^3.5.0", "istanbul": "^0.4.4", "mocha": "^2.5.3", "source-map-support": "^0.4.2", "supertest": "^1.2.0", "tslint": "^3.14.0", "typescript": "^2.1.0-dev.20160721" }, "engines": { "node": ">=6.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/joesonw/ts-router.git" }, "keywords": [ "koa", "ts", "typescript", "jersey", "router", "middleware" ], "author": "Qiaosen Huang", "license": "MIT", "bugs": { "url": "https://github.com/joesonw/ts-router/issues" }, "homepage": "https://github.com/joesonw/ts-router#readme" }