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

Commit

Permalink
Removed excess debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanlesage committed Jun 10, 2019
1 parent 1a0c0a8 commit 108b8d3
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 18 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Node modules
node_modules

# Hidden files and stuff
/**/.DS_Store

# Don't commit these pesky yarn logs
yarn-error.log
yarn.log
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ This module transforms citations as they are described in the Pandoc manual into
With NPM:

```bash
$ npm install zettlr/citr
$ npm install @zettlr/citr
```

With Yarn:

```bash
$ yarn add zettlr/citr
$ yarn add @zettlr/citr
```

## Usage
Expand Down
1 change: 0 additions & 1 deletion dist/util/retrieve-locator.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ function retrieveLocator(locatorString) {
return { "label": locale[loc], "natural": loc };
}
}
console.error(`Nothing found for ${locatorString}!`);
return { "label": "", "natural": "" };
}
function extractLocator(afterKey) {
Expand Down
1 change: 0 additions & 1 deletion lib/util/retrieve-locator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ function retrieveLocator (locatorString: string): LocatorResult {
if (locatorString.indexOf(loc) === 0) return { "label": locale[loc], "natural": loc }
}
}
console.error(`Nothing found for ${locatorString}!`)

return { "label": "", "natural": "" }
}
Expand Down
32 changes: 18 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
{
"name": "@zettlr/citr",
"version": "1.0.0",
"version": "1.0.1",
"description": "A small library to parse Markdown Citeproc notation as CSL JSON",
"author": "Hendrik Erz <hendrik@zettlr.com>",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git://github.com/Zettlr/Citr.git"
},
"main": "dist/citr.js",
"types": "dist/citr.d.ts",
"scripts": {
"prepublish": "yarn build",
"test": "node ./test/index.js",
"build": "tsc",
"watch": "tsc -w"
"prepublish": "yarn build",
"test": "node ./test/index.js",
"build": "tsc",
"watch": "tsc -w"
},
"keywords": [
"CSL",
"JSON",
"Citeproc",
"Citation",
"Zotero",
"API"
"CSL",
"JSON",
"Citeproc",
"Citation",
"Zotero",
"API"
],
"devDependencies": {
"chalk": "^2.4.2",
"typescript": "^3.5.1"
"chalk": "^2.4.2",
"typescript": "^3.5.1"
},
"dependencies": {
"@types/node": "^12.0.7"
"@types/node": "^12.0.7"
}
}

0 comments on commit 108b8d3

Please sign in to comment.