{
  "name": "update-input-width",
  "version": "1.2.2",
  "description": "A function that given input element, updates its width to fit its content.",
  "main": "dist/umd/index.js",
  "module": "dist/esm/index.js",
  "source": "src/index.js",
  "sideEffects": false,
  "scripts": {
    "build": "yarn build-esm && yarn build-umd",
    "build-esm": "BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js\"",
    "build-umd": "BABEL_ENV=production-umd babel src -d dist/umd --ignore \"**/*.spec.js\"",
    "clean": "rimraf dist",
    "jest": "jest",
    "jest-coverage": "jest --coverage",
    "lint": "eslint src/ --ext .jsx,.js",
    "prepack": "yarn clean && yarn build",
    "test": "yarn lint && yarn jest"
  },
  "jest": {
    "setupFiles": [
      "jest-canvas-mock"
    ]
  },
  "keywords": [
    "input width"
  ],
  "author": {
    "name": "Wojciech Maj",
    "email": "kontakt@wojtekmaj.pl"
  },
  "license": "MIT",
  "devDependencies": {
    "@babel/cli": "^7.8.0",
    "@babel/core": "^7.9.0",
    "@babel/preset-env": "^7.9.0",
    "eslint": "~7.19.0",
    "eslint-config-wojtekmaj": "^0.5.0",
    "jest": "^26.6.0",
    "jest-canvas-mock": "^2.1.0",
    "rimraf": "^3.0.0"
  },
  "resolutions": {
    "semver@7.0.0": "^7.0.0"
  },
  "files": [
    "LICENSE",
    "README.md",
    "dist/",
    "src/"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/wojtekmaj/update-input-width.git"
  },
  "funding": "https://github.com/wojtekmaj/update-input-width?sponsor=1"
}