{
  "name": "@agoric/xsnap",
  "version": "0.15.0",
  "description": "Snapshotting VM worker based on Moddable's XS Javascript engine",
  "author": "Agoric",
  "license": "Apache-2.0",
  "type": "module",
  "main": "./src/index.js",
  "bin": {
    "ava-xs": "./src/ava-xs.js",
    "xsrepl": "./src/xsrepl"
  },
  "scripts": {
    "repl": "node src/xsrepl.js",
    "build:bin": "/bin/sh -c 'if test -d ./test; then node src/build.js; else yarn build:from-env; fi'",
    "build:env": "node src/build.js --show-env > build.env",
    "build:from-env": "{ cat build.env; echo node src/build.js; } | xargs env",
    "build": "yarn build:bin && yarn build:env",
    "check-version": "/bin/sh -c 'if test \"${npm_package_version}\" != \"$(./scripts/get_xsnap_version.sh)\"; then echo \"xsnap version mismatch; expected '${npm_package_version}'\"; exit 1; fi'",
    "postinstall": "npm run build:from-env",
    "clean": "rm -rf xsnap-native/xsnap/build",
    "lint": "yarn run -T run-s --continue-on-error 'lint:*'",
    "lint:js": "eslint 'src/**/*.js' 'test/**/*.js' api.js",
    "lint:types": "yarn run -T tsc",
    "lint-fix": "eslint --fix 'src/**/*.js' 'test/**/*.js' api.js",
    "test": "ava",
    "test:c8": "c8 --all ${C8_OPTIONS:-} ava",
    "test:xs": "exit 0"
  },
  "dependencies": {
    "@agoric/internal": "0.4.0",
    "@agoric/xsnap-lockdown": "0.14.1",
    "@endo/bundle-source": "^4.1.2",
    "@endo/errors": "^1.2.13",
    "@endo/eventual-send": "^1.3.4",
    "@endo/init": "^1.1.12",
    "@endo/netstring": "^1.0.18",
    "@endo/promise-kit": "^1.1.13",
    "@endo/stream": "^1.2.13",
    "@endo/stream-node": "^1.1.13",
    "glob": "^7.1.6",
    "tmp": "^0.2.1"
  },
  "devDependencies": {
    "@endo/base64": "^1.0.12",
    "@endo/nat": "^5.1.3",
    "ava": "^5.3.0",
    "c8": "^10.1.3",
    "execa": "^9.5.2"
  },
  "files": [
    "LICENSE*",
    "api.js",
    "build.env",
    "moddable/modules/data/**",
    "moddable/xs/includes/**",
    "moddable/xs/makefiles/**",
    "moddable/xs/sources/**",
    "moddable/xs/platforms/*.h",
    "scripts/**",
    "src/**",
    "xsnap-native/xsnap/makefiles/**",
    "xsnap-native/xsnap/sources/**"
  ],
  "publishConfig": {
    "access": "public"
  },
  "ava": {
    "files": [
      "test/**/*.test.*"
    ],
    "require": [
      "@endo/init/debug.js"
    ],
    "timeout": "2m",
    "workerThreads": false
  },
  "typeCoverage": {
    "atLeast": 93.57
  },
  "engines": {
    "node": "^20.9 || ^22.11"
  },
  "gitHead": "0922d0447ab8fae9d2d87415964403330b5ca313"
}
