Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 515e9eb

Browse files
committed
Setup package
1 parent 4f49008 commit 515e9eb

4 files changed

Lines changed: 15 additions & 13 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ npm install [-g] feed-validator
1111

1212
## Usage
1313
```
14-
usage: opensearch-validator [-h] [-v] [-c FILE_PATH] [-r REPORTER_NAME]
15-
[--no-colors]
16-
url
14+
usage: feed-validator [-h] [-v] [-c FILE_PATH] [-r REPORTER_NAME]
15+
[--no-colors]
16+
url
1717
1818
Simple validator for RSS, Atom or opensearch.xml that using validator.w3.
1919
org/feed and plugins

bin/feed-validator

Lines changed: 0 additions & 6 deletions
This file was deleted.

cli/run.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env node
12
/**
23
* @file
34
* Run validation by CLI

package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Andrey Prokopyuk <andrey.prokopyuk@gmail.com>",
33
"name": "feed-validator",
44
"description": "Simple validator for RSS, Atom or opensearch.xml that using validator.w3.org/feed and plugins",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "cli/run.js",
77
"keywords": [
88
"validation",
@@ -16,16 +16,23 @@
1616
],
1717
"repository": {
1818
"type": "git",
19-
"url": "git+https://github.com/Andre-487/opensearch-validator.git"
19+
"url": "git+https://github.com/Andre-487/feed-validator.git"
2020
},
2121
"bugs": {
22-
"url": "https://github.com/Andre-487/opensearch-validator/issues"
22+
"url": "https://github.com/Andre-487/feed-validator/issues"
2323
},
24-
"homepage": "https://github.com/Andre-487/opensearch-validator#readme",
24+
"homepage": "https://github.com/Andre-487/feed-validator#readme",
2525
"license": "MIT",
2626
"scripts": {
2727
"test": "cd test && mocha --recursive --reporter spec --require bootstrap.js ."
2828
},
29+
"engines": {
30+
"node": ">= 0.10.0"
31+
},
32+
"bin": {
33+
"feed-validator": "./cli/run.js"
34+
},
35+
"preferGlobal": true,
2936
"dependencies": {
3037
"argparse": "^1.0.2",
3138
"cli-table": "^0.3.1",

0 commit comments

Comments
 (0)