@softonic/http-log-format
Version:
Functions to transform native Node.js HTTP requests and responses to the Softonic HTTP log format
79 lines (78 loc) • 1.93 kB
JSON
{
"name": "@softonic/http-log-format",
"version": "2.0.0",
"author": "Rubén Norte <ruben.norte@softonic.com>",
"description": "Functions to transform native Node.js HTTP requests and responses to the Softonic HTTP log format",
"keywords": [
"http",
"log",
"softonic",
"request",
"response"
],
"license": "Apache-2.0",
"main": "index.js",
"homepage": "https://github.com/softonic/node-http-log-format",
"files": [
"es",
"lib",
"index.js"
],
"scripts": {
"lint": "eslint es/**/*.js",
"pretest": "npm run lint",
"test": "jest",
"tdd": "jest --watch",
"prebuild": "npm run test",
"build": "rm -rf lib && babel es -d lib --source-maps",
"prerelease": "npm run build",
"release": "npm version -m \"New version: %s\"",
"postrelease": "npm run push && npm publish",
"push": "git push origin master && git push origin --tags"
},
"dependencies": {
"http-headers": "^3.0.2",
"lodash": "^4.17.15"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/register": "^7.8.3",
"babel-eslint": "^10.0.3",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.6.0",
"jest": "^25.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/softonic/node-http-log-format.git"
},
"bugs": {
"url": "https://github.com/softonic/node-http-log-format/issues"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
},
"useBuiltIns": "usage"
}
]
]
},
"engine": {
"node": ">=12.14.1"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/lib/",
"<rootDir>/node_modules/"
],
"testRegex": "/__tests__/.*\\.spec\\.jsx?$"
}
}