{
  "name": "@nick-skriabin/relic",
  "version": "0.1.11",
  "description": "Rails-credentials-like encrypted secrets for JS apps - works in Node and Edge runtimes",
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./react": {
      "import": "./dist/react/index.js",
      "types": "./dist/react/index.d.ts"
    }
  },
  "bin": {
    "relic": "./dist/cli/index.js"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "bun build:lib && bun build:react && bun build:cli",
    "build:lib": "bun build ./src/index.ts --outdir ./dist --target=browser --format=esm && bun run build:types",
    "build:react": "bun build ./src/react/index.ts --outdir ./dist/react --target=browser --format=esm --external react",
    "build:cli": "bun build ./src/cli/index.ts --outdir ./dist/cli --target=node --format=esm",
    "build:types": "tsc --project tsconfig.build.json",
    "test": "bun test",
    "test:edge": "bun test tests/edge.test.ts",
    "lint": "tsc --noEmit",
    "prepublishOnly": "bun run build"
  },
  "keywords": [
    "secrets",
    "credentials",
    "encryption",
    "edge",
    "cloudflare-workers",
    "config"
  ],
  "author": "Nick Skriabin",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/nick-skriabin/relic.git"
  },
  "bugs": {
    "url": "https://github.com/nick-skriabin/relic/issues"
  },
  "homepage": "https://github.com/nick-skriabin/relic#readme",
  "devDependencies": {
    "@cloudflare/workers-types": "^4.20240903.0",
    "@types/bun": "latest",
    "@types/react": "^19",
    "@types/react-dom": "^19.2.3",
    "miniflare": "^3.20240903.0",
    "react": "^19",
    "react-dom": "^19.2.4"
  },
  "peerDependencies": {
    "react": "^18 || ^19",
    "typescript": "^5"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=18"
  }
}
