Skip to content

Commit

Permalink
chore: improve packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 27, 2018
1 parent 99c5018 commit 9bb952d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 32 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
67 changes: 35 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,62 @@
"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",
"address",
"request",
"proxy",
"client",
"header",
"X-Real-IP",
"X-Client-IP",
"X-Forwarded-For",
"X-Real-IP",
"address",
"client",
"connection.remoteAddress",
"middleware",
"header",
"ip",
"ipv4",
"ipv6"
"ipv6",
"middleware",
"proxy",
"request",
"request ip"
],
"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 9bb952d

Please sign in to comment.