async-middleware
Advanced tools
Comparing version
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var test = require("blue-tape"); | ||
var Promise = require("any-promise"); | ||
var index_1 = require("./index"); | ||
@@ -6,0 +5,0 @@ test('async middleware', function (t) { |
{ | ||
"name": "async-middleware", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Wrap an asynchronous middleware (or handler) function for Express, Connect, router, etc.", | ||
@@ -12,3 +12,3 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"lint": "tslint \"src/**/*.ts\"", | ||
"lint": "tslint \"src/**/*.ts\" --project tsconfig.json --type-check", | ||
"build": "rm -rf dist && tsc", | ||
@@ -18,3 +18,3 @@ "test-spec": "blue-tape 'dist/**/*.spec.js' | tap-spec", | ||
"test": "npm run build && npm run lint && npm run test-cov", | ||
"prepublish": "typings install && npm run build" | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -43,15 +43,13 @@ "repository": { | ||
"devDependencies": { | ||
"@types/blue-tape": "^0.1.31", | ||
"@types/node": "^8.0.4", | ||
"blue-tape": "^1.0.0", | ||
"bluebird": "^3.3.5", | ||
"chai": "^3.2.0", | ||
"chai": "^4.0.0", | ||
"istanbul": "^0.4.4", | ||
"tap-spec": "^4.1.1", | ||
"tslint": "^5.0.0", | ||
"tslint-config-standard": "^5.0.1", | ||
"typescript": "^2.2.1", | ||
"typings": "^2.0.0" | ||
}, | ||
"dependencies": { | ||
"any-promise": "^1.2.0" | ||
"tslint": "^5.4.3", | ||
"tslint-config-standard": "^6.0.1", | ||
"typescript": "^2.4.1" | ||
} | ||
} |
@@ -7,2 +7,3 @@ # Async Middleware | ||
[![Test coverage][coveralls-image]][coveralls-url] | ||
[](https://greenkeeper.io/) | ||
@@ -9,0 +10,0 @@ > Wrap an asynchronous middleware (or handler) function for Express, Connect, router, etc. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
0
-100%44
2.33%10266
-0.18%10
11.11%63
-1.56%- Removed
- Removed