package.json 947 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "node-addon-landlock-run",
  3. "version": "0.0.1",
  4. "type": "module",
  5. "description": "Landlock self-restrict-then-exec launcher for sandboxing subprocesses on Linux: per-platform prebuilt static binaries plus the JS seam that resolves, probes, and speaks their CLI contract",
  6. "main": "lib/index.js",
  7. "types": "lib/index.d.ts",
  8. "exports": {
  9. ".": {
  10. "types": "./lib/index.d.ts",
  11. "default": "./lib/index.js"
  12. },
  13. "./package.json": "./package.json"
  14. },
  15. "files": [
  16. "README.md",
  17. "lib/",
  18. "!lib/*.tsbuildinfo",
  19. "src/main.c"
  20. ],
  21. "scripts": {
  22. "build:js": "tsc -b",
  23. "prepack": "node ../../scripts/verify-entry-lib.mjs"
  24. },
  25. "engines": {
  26. "node": ">=20"
  27. },
  28. "license": "BSD-3-Clause",
  29. "publishConfig": {
  30. "access": "public"
  31. },
  32. "optionalDependencies": {
  33. "node-addon-landlock-run-linux-arm64": "workspace:*",
  34. "node-addon-landlock-run-linux-x64": "workspace:*"
  35. }
  36. }