diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..61c48ff --- /dev/null +++ b/.gitignore @@ -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 diff --git a/README.md b/README.md index bd3a222..4b73f3f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/dist/util/retrieve-locator.js b/dist/util/retrieve-locator.js index 52895b6..da7fe85 100644 --- a/dist/util/retrieve-locator.js +++ b/dist/util/retrieve-locator.js @@ -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) { diff --git a/lib/util/retrieve-locator.ts b/lib/util/retrieve-locator.ts index e5a1c55..0b30ddc 100644 --- a/lib/util/retrieve-locator.ts +++ b/lib/util/retrieve-locator.ts @@ -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": "" } } diff --git a/package.json b/package.json index acbc407..8c066ea 100644 --- a/package.json +++ b/package.json @@ -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 ", "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" } }