routup
Version:
Routup is a minimalistic http based routing framework.
90 lines (89 loc) • 2.78 kB
JSON
{
"name": "routup",
"version": "4.0.2",
"description": "Routup is a minimalistic http based routing framework.",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/"
],
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"build:types": "tsc --emitDeclarationOnly -p tsconfig.json",
"build:js": "rollup -c",
"build": "rimraf ./dist && cross-env NODE_ENV=production npm run build:js && npm run build:types",
"test": "cross-env NODE_ENV=test jest --config ./test/jest.config.js",
"test:coverage": "cross-env NODE_ENV=test jest --config ./test/jest.config.js --coverage",
"lint": "eslint --ext .js,.ts ./src",
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm run build"
},
"author": {
"name": "Peter Placzek",
"email": "contact@tada5hi.net",
"url": "https://github.com/tada5hi"
},
"license": "MIT",
"keywords": [
"api",
"rest",
"http",
"router",
"api-router",
"route",
"routing"
],
"repository": {
"type": "git",
"url": "git+https://github.com/routup/routup.git"
},
"bugs": {
"url": "https://github.com/routup/routup/issues"
},
"homepage": "https://github.com/routup/routup#readme",
"dependencies": {
"@ebec/http": "^2.3.0",
"buffer": "^6.0.3",
"mime-explorer": "^1.1.0",
"negotiator": "^1.0.0",
"path-to-regexp": "^8.2.0",
"proxy-addr": "^2.0.7",
"readable-stream": "^4.7.0",
"smob": "^1.5.0",
"uncrypto": "^0.1.3"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@swc/core": "^1.12.6",
"@swc/jest": "^0.2.38",
"@tada5hi/commitlint-config": "^1.2.6",
"@tada5hi/eslint-config-typescript": "^1.2.17",
"@tada5hi/semantic-release": "^0.3.2",
"@tada5hi/tsconfig": "^0.6.0",
"@types/jest": "^30.0.0",
"@types/negotiator": "^0.6.4",
"@types/node": "^22.15.33",
"@types/proxy-addr": "^2.0.3",
"@types/readable-stream": "^4.0.21",
"@types/supertest": "^6.0.3",
"cross-env": "^7.0.3",
"jest": "^30.0.3",
"rimraf": "^6.0.1",
"rollup": "^4.44.0",
"semantic-release": "^24.2.5",
"supertest": "^7.1.1",
"typescript": "5.8.3"
}
}