{
  "name": "hyphenopoly",
  "version": "6.1.0",
  "description": "Hyphenation for node and Polyfill for client-side hyphenation.",
  "keywords": [
    "hyphenation",
    "html",
    "polyfill",
    "hyphens",
    "hyphen",
    "soft",
    "hyphenate",
    "JavaScript",
    "wasm",
    "Webassembly"
  ],
  "homepage": "https://mnater.github.io/Hyphenopoly/",
  "bugs": "https://github.com/mnater/Hyphenopoly/issues",
  "license": "MIT",
  "author": {
    "name": "Mathias Nater",
    "email": "mathiasnater@gmail.com"
  },
  "files": [
    "Hyphenopoly_Loader.js",
    "Hyphenopoly.js",
    "patterns/",
    "min/Hyphenopoly_Loader.js",
    "min/Hyphenopoly.js",
    "min/patterns/",
    "examples/example.js",
    "examples/example.html",
    "!.DS_Store"
  ],
  "main": "hyphenopoly.module.js",
  "type": "module",
  "engines": {
    "node": ">=22"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/mnater/Hyphenopoly"
  },
  "devDependencies": {
    "@stylistic/eslint-plugin": "^5.6.1",
    "all-contributors-cli": "^6.26.1",
    "assemblyscript": "^0.28.9",
    "c8": "^10.1.3",
    "eslint": "^9.39.2",
    "eslint-plugin-html": "^8.1.3",
    "eslint-plugin-jsdoc": "^61.5.0",
    "eslint-plugin-security": "^3.0.1",
    "globals": "^16.5.0",
    "remark-cli": "^12.0.1",
    "remark-lint-no-consecutive-blank-lines": "^5.0.1",
    "remark-preset-lint-recommended": "^7.0.1",
    "tap": "^21.5.0",
    "terser": "^5.44.1",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.51.0",
    "yaml": "^2.8.2"
  },
  "remarkConfig": {
    "plugins": [
      "remark-preset-lint-recommended",
      "remark-lint-no-consecutive-blank-lines"
    ],
    "settings": {
      "list-item-indent": 3
    }
  },
  "c8": {
    "reporter": [
      "lcov",
      "text"
    ],
    "reports-dir": ".c8/"
  },
  "scripts": {
    "preinstall3rdparty": "rm -fR third-party",
    "install3rdparty": "git clone https://github.com/WebAssembly/binaryen.git third-party/binaryen",
    "postinstall3rdparty": "cd ./third-party/binaryen/ && cmake . && make",
    "createWasmForLang": "sh ./tools/createWasmForLang.sh en-us",
    "createAllWasm": "sh ./tools/createAllWasm.sh",
    "pretest": "npm run lint",
    "test": "c8 tap --disable-coverage --allow-empty-coverage test/*.js",
    "testsuite": "open http://127.0.0.1/~mnater/Hyphenopoly/testsuite/ && open http://127.0.0.1/~mnater/Hyphenopoly/min/testsuite/",
    "lint": "eslint Hyphenopoly_Loader.js Hyphenopoly.js hyphenopoly.module.js test/*.js src/*.ts testsuite/* && remark -q *.md && remark -q */*.md",
    "prepare": "sh ./tools/minify.sh",
    "beforeRelease": "npm run prepare && cp -R ./min ./docs/ && cp ./examples/example.html ./docs/min/ && cp -R ./examples/webpack/dist ./docs/",
    "doc": "cd ./docs/ && bundle exec jekyll serve -l -o"
  },
  "runkitExampleFilename": "examples/example.js"
}
