-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
executable file
·59 lines (59 loc) · 1.79 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
{
"name": "spellchecker-wasm",
"version": "0.3.3",
"repository": "https://github.com/justinwilaby/spellchecker-wasm",
"description": "An extremely fast multi-thread capable Spellchecker written in Rust compiled to WebAssembly for Node.",
"main": "lib/nodejs/index.js",
"files": [
"lib",
"bin"
],
"scripts": {
"test": "nyc --reporter=text mocha",
"test:coveralls": "npm run test && nyc report --reporter=text-lcov | coveralls",
"test:web-integration": "node ./src/js/__tests__/web-integration.js",
"build:wasm": "rustc ./src/lib.rs -Clto -O --crate-type cdylib --target wasm32-unknown-unknown -o ./lib/spellchecker-wasm.wasm",
"bindgen": "wasm-bindgen lib/spellchecker-wasm.wasm --out-dir lib/ --remove-name-section --no-typescript --out-name spellchecker-wasm.wasm",
"build": "npm run build:ts && npm run webpack && npm run build:wasm && npm run bindgen",
"build:ts": "tsc",
"webpack": "webpack",
"postinstall": "node ./bin/decompress"
},
"keywords": [
"spellchecker",
"spell-checker",
"spelling",
"electron",
"wasm",
"webassembly",
"node",
"symspell"
],
"author": "Justin Wilaby",
"license": "MIT",
"engines": {
"node": ">=12.0.0"
},
"bin": {
"spellcheck": "./bin/spellchecker"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/expect.js": "^0.3.29",
"@types/mocha": "^5.2.7",
"@types/node": "^12.0.8",
"coveralls": "^3.0.6",
"expect.js": "^0.3.1",
"http-server": "^0.12.3",
"mocha": "^7.1.1",
"mocha-chrome": "2.2.0",
"nyc": "^15.0.1",
"source-map-support": "^0.5.16",
"ts-loader": "^6.2.2",
"ts-node": "^8.8.1",
"typescript": "^3.8.3",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"yargs": "^15.3.1"
}
}