{
  "name": "ocgcore-wasm",
  "version": "0.1.6",
  "type": "module",
  "author": {
    "name": "n1xx1"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/n1xx1/ocgcore-wasm.git"
  },
  "types": "dist/index.d.ts",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./lib/ocgcore.jspi.wasm": "./lib/ocgcore.jspi.wasm",
    "./lib/ocgcore.jspi.mjs": "./lib/ocgcore.jspi.mjs",
    "./lib/ocgcore.sync.wasm": "./lib/ocgcore.sync.wasm",
    "./lib/ocgcore.sync.mjs": "./lib/ocgcore.sync.mjs",
    "./package.json": "./package.json"
  },
  "files": [
    "dist/**",
    "lib/**",
    "!dist/types/**",
    "README.md"
  ],
  "browser": {
    "module": false
  },
  "license": "MIT",
  "devDependencies": {
    "@microsoft/api-extractor": "^7.59.4",
    "@types/emscripten": "^1.41.5",
    "@types/node": "^25.6.0",
    "esbuild": "^0.28.0",
    "esno": "^4.8.0",
    "node-sqlite3-wasm": "^0.8.56",
    "promised-sqlite3": "^2.1.0",
    "sqlite3": "^6.0.1",
    "typescript": "^6.0.2"
  },
  "scripts": {
    "clear:lib": "rm -rf dist/*.js dist/*.js.map",
    "build:lib": "npm run clear:lib && node scripts/build-lib.js",
    "build:emscripten": "chmod a+x ./scripts/build.sh && ./scripts/build.sh",
    "clear:tests": "rm -rf tests/dist/*.js tests/*.js.map",
    "build:tests": "esbuild ./tests/test.ts --analyze --bundle --platform=node --loader:.wasm=binary --format=esm --target=es2020 --external:node-sqlite3-wasm --splitting --minify --sourcemap --outdir=tests/dist",
    "start:tests": "npm run build:tests && node --enable-source-maps tests/dist/test.js",
    "build:types": "tsc --project tsconfig.types.json && api-extractor run",
    "build": "npm run build:emscripten && npm run build:lib && npm run build:types"
  }
}