Skip to content

Commit 859c4d5

Browse files
EKIRJASTO Update package.json and README.md (#7)
* Update package.json to include needed files * EKIRJASTO npm fix for package.json * EKIRJASTO update readme on package usage * EKIRJASTO remove url for bugs reporting --------- Co-authored-by: Pekko Sams <pekko.sams@helsinki.fi>
1 parent 51e0c37 commit 859c4d5

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Covers [OPDS 1.1 version](http://opds-spec.org/specs/opds-catalog-1-1-20110627/)
99
## Usage
1010

1111
```sh
12-
npm install ekirjasto-opds-feed-parser
12+
npm install @natlibfi/ekirjasto-opds-feed-parser
1313
```
1414

1515
Example:

package.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,30 @@
77
},
88
"license": "Apache-2.0",
99
"keywords": [
10-
"opds",
10+
"opds",
1111
"parser",
12-
"natlibfi",
13-
"ekirjasto"
14-
],
12+
"natlibfi",
13+
"ekirjasto"
14+
],
1515
"homepage": "https://github.com/NatLibFi/ekirjasto-opds-feed-parser",
1616
"repository": {
1717
"type": "git",
18-
"url": "git@github.com:NatLibFi/ekirjasto-opds-feed-parser.git"
19-
},
20-
"bugs": {
21-
"url": "https://github.com/NatLibFi/ekirjasto-opds-feed-parser/issues"
18+
"url": "git+ssh://git@github.com/NatLibFi/ekirjasto-opds-feed-parser.git"
2219
},
2320
"engines": {
2421
"node": ">=20"
2522
},
2623
"main": "lib/src/index.js",
2724
"typings": "lib/src/index.d.ts",
25+
"files": [
26+
"lib/src/**/*",
27+
"CHANGELOG",
28+
"LICENSE",
29+
"README.md"
30+
],
2831
"scripts": {
29-
"prepublish": "rm -rf lib; tsc",
32+
"prepare": "rm -rf lib && tsc",
33+
"prepublishOnly": "npm test",
3034
"lint": "tslint -c tslint.json src/*.ts test/*.ts",
3135
"test": "rm -rf lib && npm run lint && tsc && mocha lib/test/*.js"
3236
},

0 commit comments

Comments
 (0)