{
  "name": "mmd-js",
  "version": "0.3.0",
  "type": "module",
  "description": "",
  "main": "index.js",
  "homepage": "https://mmd-js.vercel.app",
  "repository": "github:anulman/mmd-js",
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "cmake-js": "^7.2.1",
    "node-addon-api": "^6.1.0"
  },
  "devDependencies": {
    "@swc/core": "^1.3.56",
    "@types/bindings": "^1.5.1",
    "@types/fs-extra": "^11.0.1",
    "@types/lodash": "^4.14.194",
    "@types/node": "^20.2.1",
    "commander": "^10.0.1",
    "concurrently": "^8.0.1",
    "fs-extra": "^11.1.1",
    "lodash": "^4.17.21",
    "prettier": "^2.8.8",
    "trim-buffer": "^5.0.0",
    "ts-node": "^10.9.1",
    "typescript": "^5.0.4"
  },
  "scripts": {
    "install": "npm run napi:compile || exit 0",
    "build:napi": "npm run napi:compile",
    "build:wasm": "npm run wasm:build",
    "build:js": "tsc -p . --noEmit false",
    "build": "concurrently --kill-others-on-fail -s all \"npm:build:napi\" \"npm:build:wasm\" \"npm:build:js\"",
    "demo:bin": "ts-node bin/demo.ts",
    "demo:web": "npm -C demo run dev",
    "napi:compile": "cmake-js compile -O build/napi",
    "wasm:configure": "emcmake cmake -B build/wasm",
    "wasm:build": "emmake make -C build/wasm",
    "prepublish": "npm run build && cp -f build/wasm/packages/wasm/mmd.wasm mmd.wasm && cp -f build/wasm/packages/wasm/mmd.js mmd.wasm.js"
  }
}