Skip to content

Commit 36c7397

Browse files
committed
Update package.json.
Improves description, adds bugs url and homepage, adds minimum node version and includes more files.
1 parent 68f283e commit 36c7397

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

package.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "robots-parser",
33
"version": "2.4.0",
4-
"description": "NodeJS robots.txt parser with support for wildcard (*) matching.",
4+
"description": "A specification compliant robots.txt parser with wildcard (*) matching support.",
55
"keywords": [
66
"robots.txt",
77
"parser",
@@ -15,6 +15,10 @@
1515
"directories": {
1616
"test": "tests"
1717
},
18+
"homepage": "https://github.com/samclarke/robots-parser",
19+
"bugs": {
20+
"url": "https://github.com/samclarke/robots-parser/issues"
21+
},
1822
"scripts": {
1923
"test": "nyc --reporter=text-summary --reporter=html --reporter=lcovonly mocha"
2024
},
@@ -27,8 +31,17 @@
2731
"files": [
2832
"/Robots.js",
2933
"/index.js",
30-
"/index.d.ts"
34+
"/index.d.ts",
35+
"/README.md",
36+
"/LICENSE.md",
37+
"/CHANGELOG.md",
38+
"/SECURITY.md",
39+
"test/*.js",
40+
".gitignore"
3141
],
42+
"engines": {
43+
"node": ">=0.10"
44+
},
3245
"prettier": {
3346
"tabWidth": 4,
3447
"useTabs": true,

0 commit comments

Comments
 (0)