{
  "name": "tytorch",
  "version": "0.1.0",
  "description": "TypeScript bindings for PyTorch via libtorch",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    }
  },
  "files": [
    "dist/",
    "src/native/",
    "binding.gyp",
    "README.md",
    "LICENSE"
  ],
  "keywords": [
    "pytorch",
    "libtorch",
    "tensor",
    "machine-learning",
    "deep-learning",
    "typescript"
  ],
  "author": "Ryan X. Charles <ryan@ryanxcharles.com> (https://ryanxcharles.com)",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/identellica/tytorch.git"
  },
  "bugs": {
    "url": "https://github.com/identellica/tytorch/issues"
  },
  "homepage": "https://github.com/identellica/tytorch#readme",
  "dependencies": {
    "node-addon-api": "^8.0.0"
  },
  "devDependencies": {
    "@types/node": "^20.0.0",
    "@vitest/ui": "^3.2.4",
    "node-gyp": "^10.0.0",
    "typescript": "^5.0.0",
    "vitest": "^3.2.4"
  },
  "engines": {
    "node": ">=24.0.0"
  },
  "gypfile": true,
  "scripts": {
    "install": "node-gyp rebuild",
    "build": "node-gyp build --jobs max && tsc",
    "build:native": "node-gyp build --jobs max",
    "build:native:clean": "node-gyp rebuild --jobs max",
    "build:ts": "tsc",
    "clean": "node-gyp clean",
    "test": "pnpm test:unit && pnpm test:cpu && pnpm test:mps",
    "test:unit": "vitest run test/unit",
    "test:cpu": "vitest run test/cpu",
    "test:mps": "vitest run test/mps",
    "test:watch": "vitest",
    "test:ui": "vitest --ui",
    "test:coverage": "vitest run --coverage"
  }
}