-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 1.07 KB
/
package.json
File metadata and controls
22 lines (22 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "@fluidinference/text-processing-rs",
"version": "0.1.0",
"description": "Inverse Text Normalization (ITN) — convert spoken-form ASR output to written form",
"type": "module",
"main": "pkg-web/text_processing_rs.js",
"types": "pkg-web/text_processing_rs.d.ts",
"files": [
"pkg-web/text_processing_rs.js",
"pkg-web/text_processing_rs.d.ts",
"pkg-web/text_processing_rs_bg.wasm",
"pkg-web/text_processing_rs_bg.wasm.d.ts"
],
"scripts": {
"wasm:build:node": "wasm-pack build --release --target nodejs --features wasm && mkdir -p pkg-node && cp -f pkg/* pkg-node/ && node scripts/set-wasm-package-name.mjs pkg-node",
"wasm:build:web": "wasm-pack build --release --target web --features wasm && mkdir -p pkg-web && cp -f pkg/* pkg-web/ && node scripts/set-wasm-package-name.mjs pkg-web",
"wasm:test:node": "node wasm-tests/node-smoke.mjs",
"wasm:ci": "npm run wasm:build:node && npm run wasm:test:node && npm run wasm:build:web",
"wasm:pack": "npm pack ./pkg-web",
"wasm:publish": "npm publish ./pkg-web --access public"
}
}