-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.53 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
{
"name": "@bitextual/hunalign",
"version": "0.0.3",
"description": "Hunalign is a bilingual sentence aligner, useful for aligning parallel corpora.",
"author": "Dániel Varga",
"contributors": [
"Matthew Leon <[email protected]>"
],
"keywords": [
"nlp",
"text-alignment",
"machine-translation"
],
"license": "LGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/wydengyre/hunalign"
},
"homepage": "https://github.com/wydengyre/hunalign#readme",
"bugs": {
"url": "https://github.com/yourusername/js-hunalign/issues"
},
"scripts": {
"build": "npm run build-ts && npm run build-ts-defs && npm run build-wasm",
"build-ts": "esbuild ts/src/hunalign.ts --bundle --sourcemap --format=esm --external:module --outfile=dist/index.js",
"build-ts-defs": "tsc && cp build/ts/src/hunalign.d.ts dist/index.d.ts",
"build-wasm": "mkdir -p dist && cp build/hunalign.wasm dist/hunalign.wasm",
"clean": "rm -rf dist",
"ci-lint": "biome ci .",
"lint": "biome check --apply .",
"test": "cd ts/test && npm run test",
"typecheck-test": "cd ts/test && npm run typecheck"
},
"type": "module",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": "./dist/index.js",
"./index.js": "./dist/index.js",
"./hunalign.wasm": "./dist/hunalign.wasm"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@tsconfig/strictest": "2.0.5",
"@types/emscripten": "1.39.13",
"esbuild": "0.24.2",
"typescript": "5.7.2"
}
}