{
  "name": "@phucbm/magnetic-button",
  "version": "1.0.1",
  "description": "A lightweight TypeScript library that creates smooth magnetic attraction effects for HTML elements",
  "type": "module",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "browser": "dist/magnetic-button.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist/**/*",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "dev": "vite",
    "build": "npm run clean && tsup",
    "build:demo": "vite build",
    "clean": "rm -rf dist dist-demo",
    "preview": "vite preview",
    "prepublishOnly": "npm run build",
    "test": "jest",
    "test:watch": "jest --watch"
  },
  "keywords": [
    "magnetic",
    "button",
    "hover",
    "animation",
    "typescript",
    "ui",
    "interaction"
  ],
  "author": {
    "name": "phucbm",
    "url": "https://github.com/phucbm"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/phucbm/magnetic-button.git"
  },
  "bugs": {
    "url": "https://github.com/phucbm/magnetic-button/issues"
  },
  "homepage": "https://phucbm.github.io/magnetic-button/",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "types": "./dist/index.d.ts"
    },
    "./package.json": "./package.json"
  },
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=16"
  },
  "sideEffects": false,
  "devDependencies": {
    "@phucbm/banner": "^0.0.2",
    "@types/jest": "^30.0.0",
    "@types/lodash": "^4.17.19",
    "@types/node": "^24.0.3",
    "jest": "^30.0.3",
    "jest-environment-jsdom": "^30.0.2",
    "lodash": "^4.17.21",
    "ts-jest": "^29.4.0",
    "tsup": "^8.5.0",
    "typescript": "^5.8.3",
    "vite": "^6.3.5"
  },
  "dependencies": {
    "@phucbm/lerp": "^1.0.1"
  }
}
