spellchecker-wasm/package.json
2026-06-10 21:05:43 -07:00

43 lines
1.1 KiB
JSON
Executable file

{
"name": "@lilith/spellchecker-wasm",
"type": "module",
"version": "1.0.4",
"description": "SymSpell v6.6 spellchecker compiled to WebAssembly — typed ESM wrapper",
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./wasm": "./pkg/spellchecker_wasm_bg.wasm"
},
"files": [
"dist",
"pkg/spellchecker_wasm.js",
"pkg/spellchecker_wasm.d.ts",
"pkg/spellchecker_wasm_bg.wasm",
"pkg/spellchecker_wasm_bg.wasm.d.ts"
],
"scripts": {
"build:wasm": "wasm-pack build --target web --release",
"build:ts": "tsc -p ts/tsconfig.json",
"build": "npm run build:wasm && npm run build:ts",
"clean": "rm -rf dist pkg/spellchecker_wasm*",
"test": "vitest run"
},
"devDependencies": {
"typescript": "^5.9.3",
"vitest": "^4.0.18"
},
"publishConfig": {
"registry": "http://forge.black.lan/api/packages/lilith/npm/"
},
"_": {
"registry": "forgejo",
"publish": true,
"build": true
}
}