servertime
Version:
Add server-timing header to your node.js app, with nanosecond precision.
75 lines (74 loc) • 2.35 kB
JSON
{
"name": "servertime",
"version": "3.1.1",
"description": "Add server-timing header to your node.js app, with nanosecond precision.",
"files": [
"dist/**/*"
],
"main": "dist/index.js",
"scripts": {
"test": "tsc -p test && eslint --ext ts src && mocha 'test/**/*.@(js|ts)'",
"build": "npm run build:types && npm run build:src",
"build:types": "tsc --emitDeclarationOnly",
"build:src": "babel -s -d dist --extensions \".ts,.tsx\" src",
"clean": "rm -rf dist",
"prepare": "npm run clean && npm run build && npm test"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && lint-staged"
}
},
"lint-staged": {
"*.(js|jsx|ts|tsx)": [
"eslint"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/benbria/node-servertime.git"
},
"keywords": [
"server-timing",
"chrome",
"debug"
],
"author": "Jason Walton",
"license": "MIT",
"bugs": {
"url": "https://github.com/benbria/node-servertime/issues"
},
"homepage": "https://github.com/benbria/node-servertime#readme",
"dependencies": {
"on-headers": "^1.0.1"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.4.5",
"@babel/preset-typescript": "^7.7.7",
"@babel/register": "^7.4.4",
"@types/mocha": "^5.2.7",
"@types/on-headers": "^1.0.0",
"@types/sinon": "^7.5.1",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"eslint": "^6.8.0",
"eslint-config-benbria": "^4.0.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-promise": "^4.1.1",
"express": "^4.17.1",
"husky": "^4.0.6",
"lint-staged": "^9.5.0",
"mocha": "^7.0.0",
"prettier": "^1.18.2",
"pretty-quick": "^2.0.1",
"promise-breaker": "^5.0.0",
"sinon": "^8.0.4",
"supertest-fetch": "^1.4.1",
"typescript": "^3.7.4"
}
}