async-middleware
Version:
Wrap an asynchronous middleware (or handler) function for Express, Connect, router, etc.
53 lines (52 loc) • 1.48 kB
JSON
{
"name": "async-middleware",
"version": "1.2.1",
"description": "Wrap an asynchronous middleware (or handler) function for Express, Connect, router, etc.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist/",
"LICENSE"
],
"scripts": {
"lint": "tslint \"src/**/*.ts\" --project tsconfig.json --type-check",
"build": "rm -rf dist && tsc",
"test-spec": "blue-tape 'dist/**/*.spec.js' | tap-spec",
"test-cov": "istanbul cover -x '*.spec.js' node_modules/blue-tape/bin/blue-tape.js -- 'dist/**/*.spec.js' | tap-spec",
"test": "npm run build && npm run lint && npm run test-cov",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git://github.com/blakeembrey/async-middleware.git"
},
"keywords": [
"middleware",
"express",
"async",
"promise",
"handler"
],
"author": {
"name": "Blake Embrey",
"email": "hello@blakeembrey.com",
"url": "http://blakeembrey.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/blakeembrey/async-middleware/issues"
},
"homepage": "https://github.com/blakeembrey/async-middleware",
"devDependencies": {
"@types/blue-tape": "^0.1.31",
"@types/node": "^8.0.4",
"blue-tape": "^1.0.0",
"bluebird": "^3.3.5",
"chai": "^4.0.0",
"istanbul": "^0.4.4",
"tap-spec": "^4.1.1",
"tslint": "^5.4.3",
"tslint-config-standard": "^6.0.1",
"typescript": "^2.4.1"
}
}