package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "hyphenopoly",
  3. "version": "3.4.0",
  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.8.0",
  47. "eslint-plugin-security": "^1.4.0",
  48. "remark-cli": "^7.0.1",
  49. "remark-preset-lint-recommended": "^3.0.3",
  50. "tap": "^14.10.5",
  51. "terser": "^4.4.3"
  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": "cd ./third-party/binaryen/ && cmake . && make",
  62. "compilewasm": "sh ./tools/compileWASM.sh hyphenEngine",
  63. "test": "tap test/*.js --coverage",
  64. "testsuite": "open http://127.0.0.1/~mnater/Hyphenopoly/testsuite/ && open http://127.0.0.1/~mnater/Hyphenopoly/min/testsuite/",
  65. "lint": "eslint Hyphenopoly_Loader.js Hyphenopoly.js hyphenopoly.module.js test/*.js && npm run lint-md",
  66. "lint-md": "remark *.md",
  67. "prepare": "npm run minify",
  68. "minify": "sh ./tools/minify.sh",
  69. "doc": "cd ./docs/ && bundle exec jekyll serve -l -o"
  70. },
  71. "runkitExampleFilename": "example.js"
  72. }