package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "hyphenopoly",
  3. "version": "3.1.1",
  4. "description": "Hyphenation for node and Polyfill for client-side hyphenation.",
  5. "keywords": [
  6. "hyphenation",
  7. "html",
  8. "polyfill",
  9. "hyphens",
  10. "hyphen",
  11. "soft",
  12. "hyphenate",
  13. "JavaScript"
  14. ],
  15. "homepage": "https://github.com/mnater/Hyphenopoly",
  16. "bugs": "https://github.com/mnater/Hyphenopoly/issues",
  17. "license": "MIT",
  18. "author": {
  19. "name": "Mathias Nater",
  20. "email": "mathiasnater@gmail.com"
  21. },
  22. "files": [
  23. "hyphenEngine.asm.js",
  24. "hyphenEngine.wasm",
  25. "Hyphenopoly_Loader.js",
  26. "Hyphenopoly.js",
  27. "patterns/",
  28. "min/hyphenEngine.asm.js",
  29. "min/hyphenEngine.wasm",
  30. "min/Hyphenopoly_Loader.js",
  31. "min/Hyphenopoly.js",
  32. "min/patterns/",
  33. "example.js",
  34. "example.html"
  35. ],
  36. "main": "hyphenopoly.module.js",
  37. "engines": {
  38. "node": ">=8.3.0"
  39. },
  40. "repository": {
  41. "type": "git",
  42. "url": "https://github.com/mnater/Hyphenopoly"
  43. },
  44. "dependencies": {},
  45. "devDependencies": {
  46. "eslint": "^6.0.1",
  47. "eslint-plugin-security": "^1.4.0",
  48. "remark-cli": "^6.0.1",
  49. "remark-preset-lint-recommended": "^3.0.3",
  50. "tap": "^14.3.1",
  51. "terser": "^4.0.0"
  52. },
  53. "remarkConfig": {
  54. "plugins": [
  55. "remark-preset-lint-recommended"
  56. ]
  57. },
  58. "scripts": {
  59. "preinstall3rdparty": "rm -fR third-party",
  60. "install3rdparty": "git clone https://github.com/WebAssembly/binaryen.git third-party/binaryen",
  61. "postinstall3rdparty": "npm run compile-binaryen",
  62. "compile-binaryen": "cd ./third-party/binaryen/ && cmake . && make",
  63. "compilewasm": "sh ./tools/compileWASM.sh hyphenEngine",
  64. "test": "tap test/*.js --coverage",
  65. "testsuite": "open http://127.0.0.1/~mnater/Hyphenopoly/testsuite/ && open http://127.0.0.1/~mnater/Hyphenopoly/min/testsuite/",
  66. "lint": "eslint Hyphenopoly_Loader.js Hyphenopoly.js hyphenopoly.module.js test/*.js && npm run lint-md",
  67. "lint-md": "remark *.md",
  68. "prepare": "npm run minify",
  69. "minify": "sh ./tools/minify.sh",
  70. "doc": "cd ./docs/ && bundle exec jekyll serve -l -o"
  71. },
  72. "runkitExampleFilename": "example.js"
  73. }