74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
{
|
|
"name": "hyphenopoly",
|
|
"version": "3.1.1",
|
|
"description": "Hyphenation for node and Polyfill for client-side hyphenation.",
|
|
"keywords": [
|
|
"hyphenation",
|
|
"html",
|
|
"polyfill",
|
|
"hyphens",
|
|
"hyphen",
|
|
"soft",
|
|
"hyphenate",
|
|
"JavaScript"
|
|
],
|
|
"homepage": "https://github.com/mnater/Hyphenopoly",
|
|
"bugs": "https://github.com/mnater/Hyphenopoly/issues",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Mathias Nater",
|
|
"email": "mathiasnater@gmail.com"
|
|
},
|
|
"files": [
|
|
"hyphenEngine.asm.js",
|
|
"hyphenEngine.wasm",
|
|
"Hyphenopoly_Loader.js",
|
|
"Hyphenopoly.js",
|
|
"patterns/",
|
|
"min/hyphenEngine.asm.js",
|
|
"min/hyphenEngine.wasm",
|
|
"min/Hyphenopoly_Loader.js",
|
|
"min/Hyphenopoly.js",
|
|
"min/patterns/",
|
|
"example.js",
|
|
"example.html"
|
|
],
|
|
"main": "hyphenopoly.module.js",
|
|
"engines": {
|
|
"node": ">=8.3.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mnater/Hyphenopoly"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"eslint": "^6.0.1",
|
|
"eslint-plugin-security": "^1.4.0",
|
|
"remark-cli": "^6.0.1",
|
|
"remark-preset-lint-recommended": "^3.0.3",
|
|
"tap": "^14.3.1",
|
|
"terser": "^4.0.0"
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"remark-preset-lint-recommended"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"preinstall3rdparty": "rm -fR third-party",
|
|
"install3rdparty": "git clone https://github.com/WebAssembly/binaryen.git third-party/binaryen",
|
|
"postinstall3rdparty": "npm run compile-binaryen",
|
|
"compile-binaryen": "cd ./third-party/binaryen/ && cmake . && make",
|
|
"compilewasm": "sh ./tools/compileWASM.sh hyphenEngine",
|
|
"test": "tap test/*.js --coverage",
|
|
"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 && npm run lint-md",
|
|
"lint-md": "remark *.md",
|
|
"prepare": "npm run minify",
|
|
"minify": "sh ./tools/minify.sh",
|
|
"doc": "cd ./docs/ && bundle exec jekyll serve -l -o"
|
|
},
|
|
"runkitExampleFilename": "example.js"
|
|
}
|