ironmark 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -3
- package/wasm/node.js +1 -1
- package/wasm/pkg/ironmark_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ironmark",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Very fast markdown parser in Rust, consumable from JavaScript/TypeScript via WebAssembly",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"registry": "https://registry.npmjs.org/"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
-
"build": "
|
|
51
|
+
"build": "pnpm build:wasm && node wasm/build.mjs",
|
|
52
52
|
"build:dev": "PATH=\"$PWD/.wasm-tools/bin:$HOME/.cargo/bin:$PATH\" cargo build -p ironmark-wasm --target wasm32-unknown-unknown && PATH=\"$PWD/.wasm-tools/bin:$HOME/.cargo/bin:$PATH\" wasm-bindgen --target bundler --out-dir wasm/pkg --out-name ironmark target/wasm32-unknown-unknown/debug/ironmark.wasm && node wasm/build.mjs",
|
|
53
53
|
"build:wasm": "PATH=\"$PWD/.wasm-tools/bin:$HOME/.cargo/bin:$PATH\" cargo build -p ironmark-wasm --profile release-wasm --target wasm32-unknown-unknown && PATH=\"$PWD/.wasm-tools/bin:$HOME/.cargo/bin:$PATH\" wasm-bindgen --target bundler --out-dir wasm/pkg --out-name ironmark target/wasm32-unknown-unknown/release-wasm/ironmark.wasm && wasm-opt --enable-bulk-memory -O3 wasm/pkg/ironmark_bg.wasm -o wasm/pkg/ironmark_bg.wasm",
|
|
54
54
|
"check": "cargo fmt --check && oxlint && oxfmt --check .",
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"release": "semantic-release",
|
|
59
59
|
"release:dry": "semantic-release --dry-run",
|
|
60
60
|
"setup:wasm": "PATH=\"$HOME/.cargo/bin:$PATH\" rustup target add wasm32-unknown-unknown && TMPDIR=/tmp PATH=\"$HOME/.cargo/bin:$PATH\" cargo install wasm-bindgen-cli --locked --root .wasm-tools",
|
|
61
|
+
"bench": "cargo bench && node benchmark/report.mjs",
|
|
61
62
|
"test": "cargo test --offline"
|
|
62
63
|
},
|
|
63
64
|
"devDependencies": {
|
|
@@ -68,6 +69,8 @@
|
|
|
68
69
|
"@semantic-release/npm": "^13.1.4",
|
|
69
70
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
70
71
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
72
|
+
"markdown-wasm": "^1.2.0",
|
|
73
|
+
"md4w": "^0.2.7",
|
|
71
74
|
"oxfmt": "^0.35.0",
|
|
72
75
|
"oxlint": "^1.50.0",
|
|
73
76
|
"semantic-release": "^25.0.3"
|
|
@@ -76,5 +79,5 @@
|
|
|
76
79
|
"node": ">=18"
|
|
77
80
|
},
|
|
78
81
|
"packageManager": "pnpm@10.30.2",
|
|
79
|
-
"prepack": "
|
|
82
|
+
"prepack": "pnpm build"
|
|
80
83
|
}
|