UNPKG

annotatedtext

Version:

A lightweight JavaScript library for converting various markup documents into an annotated text format consumable by LanguageTool.

60 lines (59 loc) 1.77 kB
{ "name": "annotatedtext", "version": "1.2.1", "type": "module", "description": "A lightweight JavaScript library for converting various markup documents into an annotated text format consumable by LanguageTool.", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "exports": [ "./out/index.js", "./types/index.d.ts" ], "types": "./types/index.d.ts", "files": [ "out/**/*", "types/index.d.ts" ], "scripts": { "test": "mocha --reporter spec ./tests/test.js", "clean": "rm -rf out/*", "build": "tsc", "rebuild": "npm run clean && npm run build", "lint": "eslint .", "prepublishOnly": "git push --follow-tags && gh-release -y", "version": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md" }, "repository": { "type": "git", "url": "git+https://github.com/prosegrinder/annotatedtext.git" }, "keywords": [ "languagetool", "annotated", "text", "builder" ], "author": "David L. Day <david@davidlday.com> (https://www.davidlday.com)", "license": "MIT", "bugs": { "url": "https://github.com/prosegrinder/annotatedtext/issues" }, "homepage": "https://github.com/prosegrinder/annotatedtext#readme", "devDependencies": { "@types/chai": "^4.3.1", "@types/mocha": "^10.0.0", "@types/node": "^20.4.5", "@typescript-eslint/eslint-plugin": "^7.0.2", "@typescript-eslint/parser": "^7.0.2", "chai": "^5.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsdoc": "^48.2.0", "mocha": "^10.0.0", "remark-parse": "^10.0.1", "typescript": "^5.3.3", "unified": "^10.1.2" } }