UNPKG

server-timing-header

Version:
84 lines (83 loc) 2.55 kB
{ "name": "server-timing-header", "version": "1.9.7", "description": "Allow you add metrics via Server-Timing header", "main": "index.js", "scripts": { "checks": "npm run lint && npm run size && npm t", "size": "size-limit", "postversion": "git push && git push --tags", "version": "git add . -A", "premajor": "npm run checks", "major": "npm version major && npm publish --tag latest --access public", "preminor": "npm run checks", "minor": "npm version minor && npm publish --tag latest --access public", "prepatch": "npm run checks", "patch": "npm version patch && npm publish --tag latest --access public", "predopreminor": "npm run checks", "dopreminor": "npm version preminor && npm publish --tag next --access public", "predopremajor": "npm run checks", "dopremajor": "npm version premajor && npm publish --tag next --access public", "predoprepatch": "npm run checks", "doprepatch": "npm version prepatch && npm publish --tag next --access public", "doc": "documentation readme index.js -s 'Documentation'", "lint": "eslint *.js --fix", "lint-staged": "lint-staged", "test": "jest", "prepare": "husky install" }, "lint-staged": { "*.js": [ "eslint --fix", "git add", "npm t -- --onlyChanged --passWithNoTests" ] }, "repository": { "type": "git", "url": "git+https://github.com/SilentImp/express-middleware-headers-server-timing.git" }, "size-limit": [ { "limit": "3 KB", "path": "index.js" } ], "keywords": [ "expressjs", "performance", "server", "timing", "servertiming", "server-timing", "monitor", "monitoring", "speed", "middleware", "express" ], "author": "Anton Nemtsev <thesilentimp@gmail.com>", "license": "MPL-2.0", "bugs": { "url": "https://github.com/SilentImp/express-middleware-headers-server-timing/issues" }, "homepage": "https://github.com/SilentImp/express-middleware-headers-server-timing#readme", "dependencies": { "on-headers": "^1.0.2" }, "devDependencies": { "@size-limit/preset-small-lib": "^6.0.4", "documentation": "^3.0.4", "eslint": "^7.32.0", "eslint-config-standard": "^16.0.3", "eslint-plugin-import": "^2.25.2", "eslint-plugin-jest": "^25.2.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.1.1", "husky": "^7.0.4", "jest": "^27.3.1", "jest-express": "^1.12.0", "lint-staged": "^11.2.6", "prettier": "^2.4.1" } }