UNPKG

1.85 kBJSONView Raw
1{
2 "name": "koa-router",
3 "description": "Router middleware for koa. Maintained by Forward Email and Lad.",
4 "version": "12.0.1",
5 "author": "Alex Mingoia <talk@alexmingoia.com>",
6 "bugs": {
7 "url": "https://github.com/koajs/router/issues",
8 "email": "niftylettuce@gmail.com"
9 },
10 "contributors": [
11 "Alex Mingoia <talk@alexmingoia.com>",
12 "@koajs"
13 ],
14 "dependencies": {
15 "debug": "^4.3.4",
16 "http-errors": "^2.0.0",
17 "koa-compose": "^4.1.0",
18 "methods": "^1.1.2",
19 "path-to-regexp": "^6.2.1"
20 },
21 "devDependencies": {
22 "@commitlint/cli": "^17.7.2",
23 "@commitlint/config-conventional": "^17.7.0",
24 "@ladjs/env": "^4.0.0",
25 "ava": "^5.3.1",
26 "cross-env": "^7.0.3",
27 "eslint": "8.39.0",
28 "eslint-config-xo-lass": "^2.0.1",
29 "expect.js": "^0.3.1",
30 "fixpack": "^4.0.0",
31 "husky": "^8.0.3",
32 "jsdoc-to-markdown": "^8.0.0",
33 "koa": "^2.14.2",
34 "lint-staged": "^14.0.1",
35 "mocha": "^10.2.0",
36 "nyc": "^15.1.0",
37 "remark-cli": "11",
38 "remark-preset-github": "^4.0.4",
39 "should": "^13.2.3",
40 "supertest": "^6.3.3",
41 "wrk": "^1.2.1",
42 "xo": "0.53.1"
43 },
44 "engines": {
45 "node": ">= 12"
46 },
47 "files": [
48 "lib"
49 ],
50 "homepage": "https://github.com/koajs/router",
51 "keywords": [
52 "koa",
53 "middleware",
54 "route",
55 "router"
56 ],
57 "license": "MIT",
58 "main": "lib/router.js",
59 "repository": {
60 "type": "git",
61 "url": "https://github.com/koajs/router.git"
62 },
63 "scripts": {
64 "bench": "make -C bench",
65 "coverage": "nyc npm run test",
66 "docs": "NODE_ENV=test jsdoc2md -t ./lib/API_tpl.hbs --src ./lib/*.js >| API.md",
67 "lint": "xo --fix && remark . -qfo && fixpack",
68 "prepare": "husky install",
69 "pretest": "npm run lint",
70 "test": "mocha test/**/*.js",
71 "test:watch": "mocha test/**/*.js --watch"
72 }
73}