UNPKG

1.55 kBJSONView Raw
1{
2 "name": "compose-middleware",
3 "version": "5.0.1",
4 "description": "Compose an array of middleware into a single function for use in Express, Connect, router, etc.",
5 "main": "lib/index.js",
6 "typings": "lib/index.d.ts",
7 "files": [
8 "lib/",
9 "LICENSE"
10 ],
11 "scripts": {
12 "lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
13 "build-ts": "tsc",
14 "build": "rm -rf lib && npm run build-ts",
15 "test-spec": "mocha lib/**/*.spec.js -R spec --bail",
16 "test-cov": "istanbul cover -x *.spec.js node_modules/mocha/bin/_mocha -- lib/**/*.spec.js -R spec --bail",
17 "test": "npm run build && npm run lint && npm run test-cov",
18 "prepublish": "npm run build"
19 },
20 "repository": {
21 "type": "git",
22 "url": "git://github.com/blakeembrey/compose-middleware.git"
23 },
24 "keywords": [
25 "middleware",
26 "express",
27 "compose",
28 "flatten",
29 "function"
30 ],
31 "author": {
32 "name": "Blake Embrey",
33 "email": "hello@blakeembrey.com",
34 "url": "http://blakeembrey.me"
35 },
36 "license": "MIT",
37 "bugs": {
38 "url": "https://github.com/blakeembrey/compose-middleware/issues"
39 },
40 "homepage": "https://github.com/blakeembrey/compose-middleware",
41 "devDependencies": {
42 "@types/chai": "^4.0.2",
43 "@types/mocha": "^5.2.0",
44 "chai": "^4.1.0",
45 "istanbul": "^0.4.4",
46 "mocha": "^5.1.1",
47 "tslint": "^5.10.0",
48 "tslint-config-standard": "^8.0.1",
49 "typescript": "^3.2.1"
50 },
51 "dependencies": {
52 "@types/debug": "0.0.31",
53 "array-flatten": "^2.1.2",
54 "debug": "^4.1.0"
55 }
56}