Skip to content

Commit

Permalink
Merge branch 'pi0-chore/improve-packaging'
Browse files Browse the repository at this point in the history
  • Loading branch information
pbojinov committed Oct 29, 2018
2 parents 99c5018 + ce32f53 commit afe3230
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
node_modules
coverage
package-lock.json
yarn.lock
56 changes: 33 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@
"name": "request-ip",
"version": "2.1.1",
"description": "A small node.js module to retrieve the request's IP address",
"main": "./dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/pbojinov/request-ip.git"
},
"scripts": {
"test": "./node_modules/.bin/nyc --reporter=html --reporter=text --check-coverage --lines=100 --statements=100 ./node_modules/tape/bin/tape ./test/index.js",
"coverage": "./node_modules/.bin/nyc report --reporter=text-lcov | coveralls",
"changelog": "github_changelog_generator -u pbojinov -p request-ip",
"build": "./node_modules/.bin/babel ./src/index.js > ./dist/index.js"
},
"keywords": [
"request ip",
"ip",
Expand All @@ -21,40 +10,61 @@
"proxy",
"client",
"header",
"X-Real-IP",
"X-Client-IP",
"X-Forwarded-For",
"CF-Connecting-IP",
"True-Client-IP"
"X-Real-IP",
"X-Cluster-Client-IP",
"X-Forwarded",
"Forwarded-For",
"connection.remoteAddress",
"connection.socket.remoteAddress",
"req.info.remoteAddress",
"middleware",
"ipv4",
"ipv6"
],
"homepage": "https://github.com/pbojinov/request-ip",
"bugs": {
"url": "https://github.com/pbojinov/request-ip/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/pbojinov/request-ip.git"
},
"license": "MIT",
"author": "Petar Bojinov <[email protected]>",
"contributors": [
{
"name": "Jon Peck",
"email": "[email protected]"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/pbojinov/request-ip/issues"
"files": [
"dist"
],
"main": "./dist/index.js",
"scripts": {
"build": "babel ./src/index.js > ./dist/index.js",
"changelog": "github_changelog_generator -u pbojinov -p request-ip",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"test": "nyc --reporter=html --reporter=text --check-coverage --lines=100 --statements=100 tape ./test/index.js"
},
"dependencies": {
"is_js": "^0.9.0"
},
"homepage": "https://github.com/pbojinov/request-ip",
"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"coveralls": "^2.11.2",
"eslint": "^3.17.0",
"eslint-config-airbnb-base": "^11.1.1",
"coveralls": "^3.0.2",
"eslint": "^5.8.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.2.0",
"nyc": "^12.0.2",
"nyc": "^13.1.0",
"request": "^2.54.0",
"tap-spec": "^5.0.0",
"tape": "^4.9.1"
},
"dependencies": {
"is_js": "^0.9.0"
}
}

0 comments on commit afe3230

Please sign in to comment.