UNPKG

@travi/hapi-html-request-router

Version:

hapi plugin to direct html requests to a single route

69 lines (68 loc) 1.85 kB
{ "name": "@travi/hapi-html-request-router", "license": "MIT", "description": "hapi plugin to direct html requests to a single route", "version": "3.0.1", "main": "lib/plugin.cjs.js", "module": "lib/plugin.es.js", "scripts": { "lint:md": "markdownlint *.md", "lint:js": "eslint .", "lint:peer": "npm ls >/dev/null", "tests:unit": "mocha --recursive test/unit/", "test": "run-s lint:* tests:*", "build": "rollup -c", "preversion": "npm test", "commitmsg": "commitlint -e", "precommit": "npm test", "prepack": "npm run build" }, "repository": { "type": "git", "url": "https://github.com/travi/hapi-html-request-router.git" }, "publishConfig": { "access": "public" }, "keywords": [ "hapi", "html", "content-negotiation" ], "author": "Matt Travi <npm@travi.org> (https://matt.travi.org/)", "bugs": { "url": "https://github.com/travi/hapi-html-request-router/issues" }, "homepage": "https://github.com/travi/hapi-html-request-router#readme", "devDependencies": { "@babel/register": "^7.5.5", "@commitlint/cli": "^8.1.0", "@hapi/hapi": "^19.0.0", "@travi/any": "2.0.7", "@travi/babel-preset": "^3.0.0", "@travi/eslint-config-travi": "^1.8.4", "chai": "^4.2.0", "commitlint-config-travi": "1.3.6", "cz-conventional-changelog": "3.1.0", "greenkeeper-lockfile": "1.15.1", "husky": "^4.0.2", "markdownlint-cli": "0.21.0", "mocha": "7.0.1", "npm-run-all": "4.1.5", "proxyquire": "2.1.3", "rollup": "^1.20.2", "rollup-plugin-babel": "^4.3.3", "sinon": "^8.0.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "peerDependencies": { "@hapi/hapi": "^18.0.0 || ^19.0.0" }, "dependencies": { "negotiator": "0.6.2" } }