UNPKG

kratos-router

Version:

Router middleware for Kratos based on Koa-Router

61 lines (60 loc) 1.64 kB
{ "name": "kratos-router", "version": "1.3.2", "description": "Router middleware for Kratos based on Koa-Router", "homepage": "https://github.com/kratos/router", "main": "dist/index.js", "files": [ "dist" ], "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test:coverage": "istanbul cover _mocha -- --reporter dot --check-leaks test/", "test:travis": "istanbul cover _mocha --report lcovonly -- --reporter spec --check-leaks test/", "clean": "rimraf dist", "prebuild": "npm run clean -s", "build": "babel src --optional=runtime --whitelist=es6.modules,strict --out-dir dist", "develop": "npm run build -- --watch", "patch": "npm version patch && npm publish", "minor": "npm version minor && npm publish", "major": "npm version major && npm publish", "prepublish": "npm run build -s", "postpublish": "git push origin develop --follow-tags" }, "engines": { "iojs": ">= 1.0.0", "node": ">= 0.12.0" }, "repository": "kratos/router", "keywords": [ "kratos", "middleware", "router", "route", "es6" ], "author": { "name": "Viarcore", "email": "support@viracore.com", "url": "https://www.viracore.com" }, "contributors": [ { "name": "Josh Manders", "email": "josh@joshmanders.com", "url": "https://certifiedweb.ninja" } ], "license": "MIT", "dependencies": { "koa-router": "5.1.2" }, "devDependencies": { "babel": "5.8.23", "babel-runtime": "5.8.24", "chai": "3.2.0", "istanbul": "0.3.20", "mocha": "2.3.2", "standard": "5.2.2" } }