UNPKG

koa-safe-redirect

Version:
48 lines (47 loc) 1.03 kB
{ "name": "koa-safe-redirect", "version": "1.0.10", "description": "safe redirect middleware for koa 2.x", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/forthedamn/koa-safe-redirect.git" }, "scripts": { "test": "NODE_CONFIG_DIR='./test/config' jest", "ci": "npm run test -- --coverage", "cov": "npm run ci && codecov" }, "keywords": [ "safe", "redirect", "koa" ], "author": "forthedamn <zhoguoxin@126.com>", "license": "ISC", "devDependencies": { "codecov": "^3.0.0", "eslint": "^4.13.1", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.8.0", "jest": "^21.2.1", "koa": "^2.0.0", "supertest": "^3.0.0" }, "dependencies": { "config": "^1.28.1", "typeis": "1.1.1" }, "jest": { "testMatch": [ "**/test/**/*.test.js" ], "coverageReporters": [ "text-summary", "lcov" ], "bail": true, "forceExit": true, "testEnvironment": "node" } }