node-rest-server
Version:
Configurable node rest server
90 lines (89 loc) • 2.4 kB
JSON
{
"name": "node-rest-server",
"version": "5.0.0",
"description": "Configurable node rest server",
"exports": {
".": "./lib/index.mjs",
"./lib": "./lib/index.mjs"
},
"types": "./lib/index.d.mts",
"type": "module",
"scripts": {
"start": "concurrently npm:dev:*",
"start:example": "npm --prefix ./examples start",
"local": "",
"build": "rollup --config scripts/rollup/rollup.config.mjs",
"dev:watch": "npm run build -- --watch",
"dev:server": "tsx dev/index.ts",
"lint": "eslint src/**/* dev/**/*",
"lint:fix": "npm run lint -- --fix",
"format": "prettier src dev examples/index.ts test README.md --check",
"format:fix": "prettier src dev examples/index.ts test README.md --write",
"pre:commit": "lint-staged",
"prepare": "husky && npm --prefix ./examples install",
"everything": " npm run build && npm run lint:fix && npm run format:fix",
"test": "tsx ./scripts/test/start.ts",
"test:coverage": "vitest run --coverage"
},
"lint-staged": {
"src/**/*": [
"npm run format:fix",
"npm run lint:fix"
]
},
"repository": {
"type": "git",
"url": "git@github.com:nishant-labs/node-rest-server.git"
},
"files": [
"lib"
],
"keywords": [
"node rest",
"rest-server",
"express rest wrapper",
"configuration only rest server"
],
"author": "Nishant Kumar Sinha",
"license": "MIT",
"bugs": {
"url": "https://github.com/nishant-labs/node-rest-server/issues"
},
"homepage": "https://github.com/nishant-labs/node-rest-server#readme",
"dependencies": {
"chalk": "5.4.1",
"cors": "2.8.5",
"date-fns": "4.1.0",
"errorhandler": "1.5.1",
"express": "5.1.0",
"fastest-validator": "1.19.1",
"pino": "9.7.0",
"pino-http": "10.5.0",
"pino-pretty": "13.0.0"
},
"devDependencies": {
"@babel/core": "7.27.4",
"@babel/preset-typescript": "7.27.1",
"@eslint/js": "9.28.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-node-resolve": "16.0.1",
"@rollup/plugin-typescript": "12.1.2",
"@types/cors": "2.8.19",
"@types/errorhandler": "1.5.3",
"@types/express": "5.0.3",
"@types/node": "22.15.30",
"concurrently": "9.1.2",
"eslint": "9.28.0",
"husky": "9.1.7",
"lint-staged": "16.1.0",
"pactum": "3.7.6",
"prettier": "3.5.3",
"rollup": "4.42.0",
"rollup-plugin-dts": "6.2.1",
"tslib": "2.8.1",
"tsx": "4.19.4",
"typescript": "5.8.3",
"typescript-eslint": "8.33.1",
"vitest": "3.2.2"
}
}