diff --git a/package-lock.json b/package-lock.json index 48288685..7b1aedcb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -655,9 +655,9 @@ "dev": true }, "eslint": { - "version": "5.12.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.12.0.tgz", - "integrity": "sha512-LntwyPxtOHrsJdcSwyQKVtHofPHdv+4+mFwEe91r2V13vqpM8yLr7b1sW+Oo/yheOPkWYsYlYJCkzlFAt8KV7g==", + "version": "5.12.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.12.1.tgz", + "integrity": "sha512-54NV+JkTpTu0d8+UYSA8mMKAG4XAsaOrozA9rCW7tgneg1mevcL7wIotPC+fZ0SkWwdhNqoXoxnQCTBp7UvTsg==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", diff --git a/package.json b/package.json index 99d3aad6..154119d8 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "SuperAgent driven library for testing HTTP servers", "main": "index.js", "author": "TJ Holowaychuk", + "contributors": [ + "Dimitri DO BAIRRO " + ], "license": "MIT", "repository": { "type": "git", @@ -22,8 +25,10 @@ "testing" ], "scripts": { - "pretest": "npm install", - "test": "eslint lib/**/*.js test/**/*.js index.js && nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks", + "lint": "eslint lib/**/*.js test/**/*.js index.js", + "lint:fix": "eslint --fix lib/**/*.js test/**/*.js index.js", + "pretest": "npm run lint", + "test": "nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks", "coverage": "nyc report --reporter=text-lcov | coveralls" }, "dependencies": { @@ -34,7 +39,7 @@ "body-parser": "^1.18.3", "cookie-parser": "^1.4.3", "coveralls": "^3.0.2", - "eslint": "^5.12.0", + "eslint": "^5.12.1", "eslint-config-airbnb-base": "^13.1.0", "eslint-plugin-import": "^2.14.0", "express": "^4.16.4",