koa-accesscontrol
Version:
Accesss control middleware for koa
57 lines (56 loc) • 1.56 kB
JSON
{
"name": "koa-accesscontrol",
"version": "1.0.0",
"description": "Accesss control middleware for koa",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"test": "mocha -t 10000 --require espower-typescript/guess test/**/*.spec.ts",
"test-watch": "mocha -w -t 10000 --require espower-typescript/guess test/**/*.spec.ts",
"prebuild": "rm -rf lib",
"build": "tsc --noEmitOnError",
"lint": "tslint src/**/*.ts test/**/*.ts",
"prepublish": "npm run build",
"pub": "np --no-cleanup"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cernicc/koa-accesscontrol.git"
},
"keywords": [
"accesscontrol",
"koa"
],
"author": "cernicc <rok.cernic@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/cernicc/koa-accesscontrol/issues"
},
"homepage": "https://github.com/cernicc/koa-accesscontrol#readme",
"engines": {
"node": ">=8.0.0"
},
"dependencies": {
"accesscontrol": "^2.2.1",
"koa": "^2.5.2"
},
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/koa": "^2.0.46",
"@types/koa-bodyparser": "^5.0.1",
"@types/koa-router": "^7.0.31",
"@types/mocha": "^5.2.5",
"@types/node": "^10.5.7",
"@types/supertest": "^2.0.5",
"chai": "^4.1.2",
"espower-typescript": "^9.0.0",
"koa-bodyparser": "^4.2.1",
"koa-router": "^7.4.0",
"mocha": "^5.2.0",
"np": "^3.0.4",
"power-assert": "^1.6.0",
"supertest": "^3.1.0",
"tslint": "^5.11.0",
"typescript": "^3.0.1"
}
}