@shgysk8zer0/http-server
Version:
A powerful but lightweight node server built using web standards
94 lines (93 loc) • 2.58 kB
JSON
{
"name": "@shgysk8zer0/http-server",
"version": "1.1.1",
"description": "A powerful but lightweight node server built using web standards",
"keywords": [
"server",
"http-server",
"modules",
"routing",
"url-pattern",
"dynamic-imports",
"static-routes"
],
"type": "module",
"main": "./http-server.cjs",
"module": "./http-server.js",
"bin": {
"http-server": "./cli.js",
"@shgysk8zer0/http-server": "./cli.js"
},
"exports": {
".": {
"import": "./http-server.js",
"require": "./http-server.cjs"
},
"./*.js": {
"import": "./*.js",
"require": "./*.cjs"
},
"./*.mjs": {
"import": "./*.js",
"require": "./*.cjs"
},
"./*.cjs": {
"import": "./*.js",
"require": "./*.cjs"
},
"./*": {
"import": "./*.js",
"require": "./*.cjs"
}
},
"engines": {
"node": ">=20.0.0"
},
"private": false,
"scripts": {
"start": "node --env-file-if-exists .env ./cli.js -c ./http.config.js",
"test": "npm run lint:js && npm run run:tests",
"preversion": "npm test && npm run build",
"prepare": "npm test && npm run build",
"lint:js": "eslint .",
"fix:js": "eslint . --fix",
"build": "npm run build:js",
"run:tests": "node --env-file-if-exists .env --test",
"clean": "rm -f ./*.cjs",
"build:js": "npm run clean && rollup -c rollup.config.js",
"create:lock": "npm i --package-lock-only --ignore-scripts --no-audit --no-fund",
"version:bump": "npm run version:bump:patch",
"version:bump:patch": "npm version --no-git-tag-version patch && npm run create:lock",
"version:bump:minor": "npm version --no-git-tag-version minor && npm run create:lock",
"version:bump:major": "npm version --no-git-tag-version major && npm run create:lock"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shgysk8zer0/http-server.git"
},
"author": "Chris Zuber <admin@kernvalley.us>",
"license": "MIT",
"funding": [
{
"type": "librepay",
"url": "https://liberapay.com/shgysk8zer0"
},
{
"type": "github",
"url": "https://github.com/sponsors/shgysk8zer0"
}
],
"bugs": {
"url": "https://github.com/shgysk8zer0/http-server/issues"
},
"homepage": "https://github.com/shgysk8zer0/http-server#readme",
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.0",
"@shgysk8zer0/eslint-config": "^1.0.3",
"eslint": "^9.19.0",
"rollup": "^4.32.0"
},
"dependencies": {
"@shgysk8zer0/polyfills": "^0.4.8"
}
}