-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
94 lines (94 loc) · 2.8 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "hyphenopoly",
"version": "6.0.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": ">=18"
},
"repository": {
"type": "git",
"url": "https://github.com/mnater/Hyphenopoly"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^2.8.0",
"all-contributors-cli": "^6.26.1",
"assemblyscript": "^0.27.29",
"c8": "^10.1.2",
"eslint": "^9.11.1",
"eslint-plugin-html": "^8.1.2",
"eslint-plugin-jsdoc": "^50.2.4",
"eslint-plugin-security": "^3.0.1",
"globals": "^15.9.0",
"remark-cli": "^12.0.1",
"remark-lint-no-consecutive-blank-lines": "^5.0.0",
"remark-preset-lint-recommended": "^7.0.0",
"tap": "^21.0.1",
"terser": "^5.33.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.7.0",
"yaml": "^2.5.1"
},
"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"
}