Skip to content

Commit 20adbc1

Browse files
committed
fix: lint package.json, added files array
1 parent 22b89b6 commit 20adbc1

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

package.json

+31-29
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,9 @@
11
{
22
"name": "supertest",
3-
"version": "6.2.4",
43
"description": "SuperAgent driven library for testing HTTP servers",
5-
"main": "index.js",
4+
"version": "6.2.4",
65
"author": "TJ Holowaychuk",
7-
"contributors": [
8-
"Dimitri DO BAIRRO <[email protected]>"
9-
],
10-
"license": "MIT",
11-
"repository": {
12-
"type": "git",
13-
"url": "https://github.com/visionmedia/supertest.git"
14-
},
15-
"engines": {
16-
"node": ">=6.4.0"
17-
},
18-
"keywords": [
19-
"superagent",
20-
"request",
21-
"tdd",
22-
"bdd",
23-
"http",
24-
"test",
25-
"testing"
26-
],
27-
"scripts": {
28-
"lint": "eslint lib/**/*.js test/**/*.js index.js",
29-
"lint:fix": "eslint --fix lib/**/*.js test/**/*.js index.js",
30-
"pretest": "npm run lint --if-present",
31-
"test": "nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks",
32-
"coverage": "nyc report --reporter=text-lcov > coverage.lcov"
33-
},
6+
"contributors": [],
347
"dependencies": {
358
"methods": "^1.1.2",
369
"superagent": "^8.0.0"
@@ -47,5 +20,34 @@
4720
"nyc": "^15.1.0",
4821
"proxyquire": "^2.1.3",
4922
"should": "^13.2.3"
23+
},
24+
"engines": {
25+
"node": ">=6.4.0"
26+
},
27+
"files": [
28+
"index.js",
29+
"lib"
30+
],
31+
"keywords": [
32+
"bdd",
33+
"http",
34+
"request",
35+
"superagent",
36+
"tdd",
37+
"test",
38+
"testing"
39+
],
40+
"license": "MIT",
41+
"main": "index.js",
42+
"repository": {
43+
"type": "git",
44+
"url": "https://github.com/visionmedia/supertest.git"
45+
},
46+
"scripts": {
47+
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
48+
"lint": "eslint lib/**/*.js test/**/*.js index.js",
49+
"lint:fix": "eslint --fix lib/**/*.js test/**/*.js index.js",
50+
"pretest": "npm run lint --if-present",
51+
"test": "nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks"
5052
}
5153
}

0 commit comments

Comments
 (0)