Skip to content
This repository was archived by the owner on Nov 13, 2022. It is now read-only.

Commit 108b8d3

Browse files
committed
Removed excess debug code
1 parent 1a0c0a8 commit 108b8d3

File tree

5 files changed

+29
-18
lines changed

5 files changed

+29
-18
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ This module transforms citations as they are described in the Pandoc manual into
1313
With NPM:
1414

1515
```bash
16-
$ npm install zettlr/citr
16+
$ npm install @zettlr/citr
1717
```
1818

1919
With Yarn:
2020

2121
```bash
22-
$ yarn add zettlr/citr
22+
$ yarn add @zettlr/citr
2323
```
2424

2525
## Usage

dist/util/retrieve-locator.js

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ function retrieveLocator(locatorString) {
2525
return { "label": locale[loc], "natural": loc };
2626
}
2727
}
28-
console.error(`Nothing found for ${locatorString}!`);
2928
return { "label": "", "natural": "" };
3029
}
3130
function extractLocator(afterKey) {

lib/util/retrieve-locator.ts

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ function retrieveLocator (locatorString: string): LocatorResult {
5757
if (locatorString.indexOf(loc) === 0) return { "label": locale[loc], "natural": loc }
5858
}
5959
}
60-
console.error(`Nothing found for ${locatorString}!`)
6160

6261
return { "label": "", "natural": "" }
6362
}

package.json

+18-14
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
{
22
"name": "@zettlr/citr",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A small library to parse Markdown Citeproc notation as CSL JSON",
55
"author": "Hendrik Erz <[email protected]>",
66
"license": "GPL-3.0",
7+
"repository": {
8+
"type": "git",
9+
"url": "git://github.com/Zettlr/Citr.git"
10+
},
711
"main": "dist/citr.js",
812
"types": "dist/citr.d.ts",
913
"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"
1418
},
1519
"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"
2226
],
2327
"devDependencies": {
24-
"chalk": "^2.4.2",
25-
"typescript": "^3.5.1"
28+
"chalk": "^2.4.2",
29+
"typescript": "^3.5.1"
2630
},
2731
"dependencies": {
28-
"@types/node": "^12.0.7"
32+
"@types/node": "^12.0.7"
2933
}
3034
}

0 commit comments

Comments
 (0)