Skip to content

Commit

Permalink
fix: lint package.json, added files array
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Oct 4, 2022
1 parent 22b89b6 commit 20adbc1
Showing 1 changed file with 31 additions and 29 deletions.
60 changes: 31 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,9 @@
{
"name": "supertest",
"version": "6.2.4",
"description": "SuperAgent driven library for testing HTTP servers",
"main": "index.js",
"version": "6.2.4",
"author": "TJ Holowaychuk",
"contributors": [
"Dimitri DO BAIRRO <dimitri.dobairro@dimsolution.com>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/visionmedia/supertest.git"
},
"engines": {
"node": ">=6.4.0"
},
"keywords": [
"superagent",
"request",
"tdd",
"bdd",
"http",
"test",
"testing"
],
"scripts": {
"lint": "eslint lib/**/*.js test/**/*.js index.js",
"lint:fix": "eslint --fix lib/**/*.js test/**/*.js index.js",
"pretest": "npm run lint --if-present",
"test": "nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov"
},
"contributors": [],
"dependencies": {
"methods": "^1.1.2",
"superagent": "^8.0.0"
Expand All @@ -47,5 +20,34 @@
"nyc": "^15.1.0",
"proxyquire": "^2.1.3",
"should": "^13.2.3"
},
"engines": {
"node": ">=6.4.0"
},
"files": [
"index.js",
"lib"
],
"keywords": [
"bdd",
"http",
"request",
"superagent",
"tdd",
"test",
"testing"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/visionmedia/supertest.git"
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"lint": "eslint lib/**/*.js test/**/*.js index.js",
"lint:fix": "eslint --fix lib/**/*.js test/**/*.js index.js",
"pretest": "npm run lint --if-present",
"test": "nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks"
}
}

0 comments on commit 20adbc1

Please sign in to comment.