-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
51 lines (51 loc) · 1.64 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": "sax-wasm",
"version": "2.2.4",
"repository": "https://github.com/justinwilaby/sax-wasm",
"description": "An extremely fast JSX, HTML and XML parser written in Rust compiled to WebAssembly for Node and the Web",
"main": "lib/index.js",
"module": "lib/module/index.js",
"browser": "lib/umd/index.js",
"files": [
"lib/**"
],
"scripts": {
"test": "jest",
"test:coveralls": "npm run test && nyc report --reporter=text-lcov | coveralls",
"build:wasm": "rustc ./src/lib.rs -Clto -O --crate-type cdylib --target wasm32-unknown-unknown -o ./lib/sax-wasm.wasm",
"bindgen": "wasm-bindgen lib/sax-wasm.wasm --out-dir lib/ --remove-name-section --no-typescript --out-name sax-wasm.wasm",
"build": "rollup -c && npm run build:wasm && npm run bindgen && tsc --emitDeclarationOnly",
"benchmark": "node src/js/__test__/benchmark.js",
"lint": "eslint src/js/ --ext .ts"
},
"keywords": [
"XML",
"parser",
"sax",
"web",
"assembly"
],
"author": "Justin Wilaby",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.2",
"@types/expect.js": "^0.3.29",
"@types/jest": "^27.5.0",
"@types/node": "14.11.1",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"eslint": "^8.15.0",
"expect.js": "^0.3.1",
"jest": "^28.1.0",
"libxmljs": "^0.19.7",
"ltx": "^3.0.0",
"node-xml": "^1.0.2",
"rollup": "^2.75.3",
"sax": "^1.2.4",
"ts-jest": "^28.0.2",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
}
}