UNPKG

express-service-bootstrap

Version:

This is a convenience package for starting a express API with security, health checks, process exits etc.

58 lines (57 loc) 1.84 kB
{ "name": "express-service-bootstrap", "version": "1.2.0", "description": "This is a convenience package for starting a express API with security, health checks, process exits etc.", "main": "dist/src/index.js", "directories": { "test": "test" }, "scripts": { "push": "npm whoami && npm version minor && npm test && npm publish && git push --tags", "e2e": "npm run build && nyc --all --reporter=lcov --reporter=text --exclude=src/index.ts --exclude=coverage/** --exclude=test/** node --test ./dist/e2e", "clean-build": "rimraf ./dist && tsc", "copy-files": "npx copyfiles ./package.json ./dist/", "build": "npm run clean-build && npm run copy-files", "test": "npm run build && nyc --all --reporter=lcov --reporter=html --exclude=src/index.ts --exclude=test/** --exclude=examples/** --exclude=coverage/** node --test ./dist/test/**/*.js" }, "keywords": [ "express", "typescript", "api", "service", "microservice", "bootstrap", "Laukik" ], "files": [ "dist/src/**", "dist/package.json", "dist/license.md", "README.md" ], "author": "Laukik", "license": "Apache-2.0", "bugs": { "url": "https://github.com/LRagji/express-service-bootstrap/issues/issues" }, "homepage": "https://github.com/LRagji/express-service-bootstrap/issues#readme", "devDependencies": { "@types/compression": "^1.8.1", "@types/express": "^5.0.3", "@types/node": "^24.4.0", "@types/sinon": "^17.0.4", "@types/swagger-ui-express": "^4.1.8", "copyfiles": "^2.4.1", "nyc": "^17.1.0", "rimraf": "^6.0.1", "sinon": "^21.0.0", "typescript": "^5.9.2" }, "dependencies": { "compression": "^1.8.1", "express": "^5.1.0", "helmet": "^8.1.0", "node-apparatus": "^0.1.15", "swagger-ui-express": "^5.0.1" } }