{
    "name": "libxml2-wasm",
    "version": "0.5.0",
    "description": "WebAssembly-based libxml2 javascript wrapper",
    "scripts": {
        "clean": "rm -rf lib out",
        "init": "mkdir -p out && mkdir -p lib",
        "config": "cd out && emconfigure ../libxml2/autogen.sh --without-python --without-http --without-sax1 --without-modules --without-html --without-threads --without-zlib --without-lzma --disable-shared --enable-static",
        "compile": "cd out && emmake make",
        "bind": "cd out && emcc -L.libs -lxml2 -o libxml2raw.cjs --no-entry -s MODULARIZE -s ALLOW_MEMORY_GROWTH -s ALLOW_TABLE_GROWTH -s EXPORTED_RUNTIME_METHODS=@../binding/exported-runtime-functions.txt -s EXPORTED_FUNCTIONS=@../binding/exported-functions.txt -s SINGLE_FILE",
        "dist": "cp out/libxml2raw.* src/libxml2raw.* lib",
        "libxml": "npm run init && npm run config && npm run compile",
        "link": "npm run bind && npm run dist",
        "wasm": "npm run clean && npm run libxml && npm run link",
        "unit": "mocha --v8-expose-gc",
        "integ": "cross-env TS_NODE_PROJECT=tsconfig.integ.json mocha --v8-expose-gc test/crossplatform",
        "test": "npm run cov && npm run lint",
        "cov": "c8 npm run unit",
        "build": "npm run wasm && tsc -p tsconfig.prod.json --declaration",
        "lint": "eslint 'src/**' 'test/**/*.mts'",
        "docwatch": "typedoc --watch",
        "doc": "typedoc",
        "watch": "tsc -p tsconfig.prod.json --declaration --watch"
    },
    "repository": {
        "type": "git",
        "url": "git@github.com:jameslan/libxml2-wasm.git"
    },
    "main": "lib/index.mjs",
    "homepage": "https://jameslan.github.io/libxml2-wasm/",
    "author": "James Lan",
    "license": "MIT",
    "files": [
        "lib/*"
    ],
    "devDependencies": {
        "@types/chai": "^4.3.16",
        "@types/chai-sorted": "^0.2.3",
        "@types/mocha": "^10.0.1",
        "@types/node": "^20.4.5",
        "@types/sinon": "^17.0.3",
        "@types/sinon-chai": "^4.0.0",
        "@types/yargs": "^17.0.24",
        "c8": "^9.1.0",
        "chai": "^5.1.1",
        "chai-sorted": "^0.2.0",
        "cross-env": "^7.0.3",
        "eslint": "^8.57.0",
        "eslint-config-airbnb-base": "^15.0.0",
        "eslint-config-airbnb-typescript": "^18.0.0",
        "eslint-import-resolver-typescript": "^3.6.1",
        "eslint-plugin-chai-friendly": "^1.0.0",
        "eslint-plugin-import": "^2.29.1",
        "markdown-it-footnote": "^4.0.0",
        "mocha": "^10.4.0",
        "sinon": "^18.0.0",
        "sinon-chai": "^4.0.0",
        "ts-node": "^10.9.2",
        "ts-paths-esm-loader": "^1.4.3",
        "typedoc": "^0.27.5",
        "typescript": "^5.3.3",
        "yargs": "^17.7.2"
    },
    "keywords": [
        "xml",
        "xml parser",
        "libxml",
        "WebAssembly"
    ],
    "engines": {
        "node": ">=16"
    }
}
