UNPKG

srvd

Version:

Another Development Server. Supports Range Requests. Configure through Environmental Variables.

54 lines (53 loc) 1.47 kB
{ "name": "srvd", "version": "0.6.0", "description": "Another Development Server. Supports Range Requests. Configure through Environmental Variables.", "main": "srvd.js", "types": "srvd.d.ts", "bin": { "srvd": "bin/srvd.js" }, "files": [ "srvd.js", "bin/srvd.js", "srvd.d.ts" ], "scripts": { "build": "mkdir -p bin && echo \"#!/usr/bin/env node\n\" > ./bin/srvd.js && cat srvd.js >> ./bin/srvd.js", "f": "npm run format", "format": "npx prettier --arrow-parens=avoid --print-width=120 --trailing-comma=none --write srvd.js *.js test/*/*.js test/*/*.ts", "test": "npm run test:js && npm run test:ts", "test:js": "node test/cjs/test.cb.js && node test/cjs/test.max.js && node test/cjs/test.env.js && node test/cjs/test.wait.js", "test:ts": "npx ts-node ./test/ts/test.log.ts && npx ts-node ./test/ts/test.types.ts" }, "repository": { "type": "git", "url": "git+https://github.com/DanielJDufour/srvd.git" }, "keywords": [ "async", "byte", "config", "data", "dev", "env", "http", "range", "requests", "server", "static" ], "author": "Daniel J. Dufour", "license": "CC0-1.0", "bugs": { "url": "https://github.com/DanielJDufour/srvd/issues" }, "homepage": "https://github.com/DanielJDufour/srvd#readme", "dependencies": { "finalhandler": "^1.2.0", "serve-static": "^1.15.0" }, "devDependencies": { "flug": "^2.3.1" } }