{
  "name": "update-input-width",
  "version": "2.0.0",
  "description": "A function that given input element, updates its width to fit its content.",
  "type": "module",
  "sideEffects": false,
  "main": "./dist/index.js",
  "source": "./src/index.ts",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": "./dist/index.js",
    "./*": "./*"
  },
  "scripts": {
    "build": "tsc --project tsconfig.build.json",
    "clean": "rimraf dist",
    "format": "biome format",
    "lint": "biome lint",
    "prepack": "yarn clean && yarn build",
    "test": "yarn lint && yarn tsc && yarn format && yarn unit",
    "tsc": "tsc",
    "unit": "vitest"
  },
  "keywords": [
    "input width"
  ],
  "author": {
    "name": "Wojciech Maj",
    "email": "kontakt@wojtekmaj.pl"
  },
  "license": "MIT",
  "devDependencies": {
    "@biomejs/biome": "1.9.0",
    "@types/node": "*",
    "happy-dom": "^15.10.2",
    "husky": "^9.0.0",
    "rimraf": "^6.0.0",
    "typescript": "^5.5.2",
    "vitest": "^3.0.5",
    "vitest-canvas-mock": "^0.2.2"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "files": [
    "dist",
    "src"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/wojtekmaj/update-input-width.git"
  },
  "funding": "https://github.com/wojtekmaj/update-input-width?sponsor=1",
  "packageManager": "yarn@4.3.1"
}