{
"name": "@humanmd/wasm",
"version": "0.1.0-alpha.8",
"description": "WASM bindings for the HMD parser, validator, and HTML renderer.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/VrianCao/hmd.git",
"directory": "crates/hmd-wasm"
},
"publishConfig": {
"access": "public"
},
"files": [
"pkg",
"README.md"
],
"module": "pkg/hmd_wasm.js",
"types": "pkg/hmd_wasm.d.ts",
"exports": {
".": {
"types": "./pkg/hmd_wasm.d.ts",
"import": "./pkg/hmd_wasm.js",
"default": "./pkg/hmd_wasm.js"
}
},
"scripts": {
"build": "wasm-pack build --target web --out-dir pkg && node scripts/prepare-package.mjs",
"build:node": "wasm-pack build --target nodejs --out-dir pkg-node",
"test": "npm run test:smoke",
"test:smoke": "npm run build:node && node tests/smoke.cjs",
"pack:check": "npm run build && npm pack --dry-run"
}
}