diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..adf2078 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,6 @@ +exclude_paths: + - '**/__tests__/' +exclude_patterns: + - '**/__tests__/' + - '**/test/' + - '**/tests/' diff --git a/.vscode/settings.json b/.vscode/settings.json index b69560e..91436a8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "cSpell.ignoreWords": ["entityverter"] + "cSpell.ignoreWords": ["entityverter", "epubknowledge"] } diff --git a/README.md b/README.md index 0b05dc1..da827b8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/epubknowledge/entityverter) ![Code Climate issues](https://img.shields.io/codeclimate/issues/epubknowledge/entityverter) ![Github code size](https://img.shields.io/github/languages/code-size/epubknowledge/entityverter) ![GitHub issues](https://img.shields.io/github/issues/epubknowledge/entityverter) ![GitHub last commit](https://img.shields.io/github/last-commit/epubknowledge/entityverter) [![GitHub forks](https://img.shields.io/github/forks/epubknowledge/entityverter)](https://github.com/epubknowledge/entityverter/network) [![GitHub stars](https://img.shields.io/github/stars/epubknowledge/entityverter)](https://github.com/epubknowledge/entityverter/stargazers) ![npm](https://img.shields.io/npm/v/@epubknowledge/entityverter) + # Entityverter A NPM package that converts a file's entities from name and rendered to their respected numerical value. If a bad entity is found it will be deleted. diff --git a/json/html-entities.json b/json/html-entities.json index 9f734d5..9121708 100644 --- a/json/html-entities.json +++ b/json/html-entities.json @@ -978,5 +978,9 @@ { "name": "◊", "value": "◊" + }, + { + "name": "'", + "value": "'" } ] diff --git a/package.json b/package.json index 0182a72..b71e54a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@epubknowledge/entityverter", "introName": "Entityverter", - "version": "0.1.0", + "version": "0.1.1", "description": "A NPM package that converts a file's entities from name and rendered to their respected numerical value. If a bad entity is found it will be deleted.", "main": "bin/index.js", "bin": { @@ -30,8 +30,7 @@ "unlink": "npm unlink", "lint": "eslint", "test": "jest", - "coverage": "jest --coverage", - "testfile": "npm test -- /path/to/file.js" + "coverage": "jest --coverage" }, "jest": { "verbose": true,