This repository was archived by the owner on Nov 13, 2022. It is now read-only.
Commit 108b8d3 1 parent 1a0c0a8 commit 108b8d3 Copy full SHA for 108b8d3
File tree 5 files changed +29
-18
lines changed
5 files changed +29
-18
lines changed Original file line number Diff line number Diff line change
1
+ # Node modules
2
+ node_modules
3
+
4
+ # Hidden files and stuff
5
+ /** /.DS_Store
6
+
7
+ # Don't commit these pesky yarn logs
8
+ yarn-error.log
9
+ yarn.log
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ This module transforms citations as they are described in the Pandoc manual into
13
13
With NPM:
14
14
15
15
``` bash
16
- $ npm install zettlr/citr
16
+ $ npm install @ zettlr/citr
17
17
```
18
18
19
19
With Yarn:
20
20
21
21
``` bash
22
- $ yarn add zettlr/citr
22
+ $ yarn add @ zettlr/citr
23
23
```
24
24
25
25
## Usage
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ function retrieveLocator(locatorString) {
25
25
return { "label" : locale [ loc ] , "natural" : loc } ;
26
26
}
27
27
}
28
- console . error ( `Nothing found for ${ locatorString } !` ) ;
29
28
return { "label" : "" , "natural" : "" } ;
30
29
}
31
30
function extractLocator ( afterKey ) {
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ function retrieveLocator (locatorString: string): LocatorResult {
57
57
if ( locatorString . indexOf ( loc ) === 0 ) return { "label" : locale [ loc ] , "natural" : loc }
58
58
}
59
59
}
60
- console . error ( `Nothing found for ${ locatorString } !` )
61
60
62
61
return { "label" : "" , "natural" : "" }
63
62
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @zettlr/citr" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " A small library to parse Markdown Citeproc notation as CSL JSON" ,
5
5
"author" :
" Hendrik Erz <[email protected] >" ,
6
6
"license" : " GPL-3.0" ,
7
+ "repository" : {
8
+ "type" : " git" ,
9
+ "url" : " git://github.com/Zettlr/Citr.git"
10
+ },
7
11
"main" : " dist/citr.js" ,
8
12
"types" : " dist/citr.d.ts" ,
9
13
"scripts" : {
10
- "prepublish" : " yarn build" ,
11
- "test" : " node ./test/index.js" ,
12
- "build" : " tsc" ,
13
- "watch" : " tsc -w"
14
+ "prepublish" : " yarn build" ,
15
+ "test" : " node ./test/index.js" ,
16
+ "build" : " tsc" ,
17
+ "watch" : " tsc -w"
14
18
},
15
19
"keywords" : [
16
- " CSL" ,
17
- " JSON" ,
18
- " Citeproc" ,
19
- " Citation" ,
20
- " Zotero" ,
21
- " API"
20
+ " CSL" ,
21
+ " JSON" ,
22
+ " Citeproc" ,
23
+ " Citation" ,
24
+ " Zotero" ,
25
+ " API"
22
26
],
23
27
"devDependencies" : {
24
- "chalk" : " ^2.4.2" ,
25
- "typescript" : " ^3.5.1"
28
+ "chalk" : " ^2.4.2" ,
29
+ "typescript" : " ^3.5.1"
26
30
},
27
31
"dependencies" : {
28
- "@types/node" : " ^12.0.7"
32
+ "@types/node" : " ^12.0.7"
29
33
}
30
34
}
You can’t perform that action at this time.
0 commit comments