zacanger/koa-simple-static

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "koa-simple-static",
  "description": "Simple caching static file server for Koa",
  "version": "4.1.2",
  "author": {
    "email": "zac@zacanger.com",
    "name": "Zac Anger",
    "url": "http://zacanger.com"
  },
  "funding": {
    "type": "ko-fi",
    "url": "https://ko-fi.com/zacanger"
  },
  "license": "MIT",
  "main": "lib/index.js",
  "files": [
    "koa-simple-static.d.ts",
    "lib"
  ],
  "scripts": {
    "build": "tsc",
    "clean": "rm -rf lib && mkdir lib",
    "cover": "nyc npm run test:tape",
    "prebuild": "run-s -s test clean",
    "preversion": "npm run build",
    "test": "run-s -s test:lint test:ts cover",
    "test-server": "node test-server",
    "test:lint": "ts-standard src/*.ts",
    "test:tape": "tape -r ts-node/register src/test.ts | tap-spec",
    "test:ts": "tsc --noEmit"
  },
  "homepage": "https://github.com/zacanger/koa-simple-static#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/zacanger/koa-simple-static.git"
  },
  "bugs": {
    "url": "https://github.com/zacanger/koa-simple-static/issues"
  },
  "keywords": [
    "cache",
    "file",
    "gzip",
    "koa",
    "koa2",
    "middleware",
    "sendfile",
    "server",
    "static"
  ],
  "dependencies": {
    "compressible": "2.0.18",
    "fs-readdir-recursive": "1.1.0",
    "mime-types": "2.1.35",
    "mz": "2.7.0",
    "ts-standard": "12.0.2"
  },
  "devDependencies": {
    "@types/compressible": "2.0.2",
    "@types/fs-readdir-recursive": "1.1.2",
    "@types/koa": "2.13.12",
    "@types/mime-types": "2.1.4",
    "@types/mz": "2.7.8",
    "@types/node": "20.10.5",
    "@types/supertest": "6.0.1",
    "@types/tape": "5.6.4",
    "istanbul": "0.4.5",
    "koa": "2.14.2",
    "npm-run-all": "4.1.5",
    "nyc": "15.1.0",
    "sortpack": "2.3.5",
    "supertest": "6.3.3",
    "tap-spec": "5.0.0",
    "tape": "5.7.2",
    "ts-node": "10.9.2",
    "typescript": "5.3.3"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "nyc": {
    "extension": [
      ".ts"
    ],
    "include": [
      "src/index.ts"
    ],
    "instrument": true,
    "reporter": [
      "text",
      "html",
      "json"
    ],
    "require": [
      "ts-node/register"
    ],
    "sourceMap": true
  }
}