{
  "name": "bootstrap5-toggle",
  "version": "5.4.1",
  "type": "module",
  "author": {
    "name": "Pablo Alcaraz Martínez",
    "url": "https://github.com/palcarazm/"
  },
  "description": "Bootstrap Toggle is a bootstrap 5 plugin that converts checkboxes into toggles.",
  "homepage": "https://palcarazm.github.io/bootstrap5-toggle/",
  "license": "MIT",
  "funding": {
    "type": "GitHub Sponsors",
    "url": "https://github.com/sponsors/palcarazm"
  },
  "browser": "js/bootstrap5-toggle.ecmas.min.js",
  "style": "css/bootstrap5-toggle.min.css",
  "main": "dist/bootstrap5-toggle.cjs",
  "module": "dist/bootstrap5-toggle.mjs",
  "types": "dist/bootstrap5-toggle.d.ts",
  "typings": "dist/bootstrap5-toggle.d.ts",
  "sideEffects": [
    "css/*.css",
    "js/*.js"
  ],
  "files": [
    "css/*",
    "js/*",
    "dist/*"
  ],
  "exports": {
    ".": {
      "types": "./dist/bootstrap5-toggle.d.ts",
      "import": "./dist/bootstrap5-toggle.mjs",
      "require": "./dist/bootstrap5-toggle.cjs"
    },
    "./css/*": "./css/*",
    "./js/*": "./js/*"
  },
  "scripts": {
    "clean": "rimraf js css dist",
    "clean:tmp": "rimraf dist/tmp",
    "prebuild": "npm run clean",
    "build": "tsc && npm run build:js && npm run build:css",
    "build:js": "rollup -c",
    "build:css": "postcss src/main/css/bootstrap5-toggle.css -o css/bootstrap5-toggle.css --map && postcss src/main/css/bootstrap5-toggle.css -o css/bootstrap5-toggle.min.css --map --use cssnano && postcss src/main/css/bootstrap5-toggle.css -o dist/bootstrap5-toggle.css --map --use cssnano",
    "postbuild": "npm run clean:tmp",
    "watch": "concurrently \"tsc --watch\" \"rollup --watch\" \"postcss src/main/css/bootstrap5-toggle.css -o css/bootstrap5-toggle.css --map --watch\" \"postcss src/main/css/bootstrap5-toggle.css -o dist/bootstrap5-toggle.css --map --watch\"",
    "preversion": "npm run lint && npm run test",
    "version": "npm run build && npm run version:update && doctoc README.md --github && git add -A",
    "version:update": "node scripts/update-version.js",
    "postversion": "git push --follow-tags",
    "prepack": "npm run build && npm run version:update && doctoc README.md --github",
    "test": "npm run test:unit && npm run test:e2e",
    "test:unit": "jest --coverage",
    "test:e2e": "cypress run --headless",
    "lint": "eslint ./src",
    "prepare": "husky"
  },
  "keywords": [
    "bootstrap",
    "bootstrap5",
    "bootstrap-5",
    "bootstrap 5",
    "bootstrap checkbox",
    "bootstrap switch",
    "bootstrap toggle",
    "bootstrap-checkbox",
    "bootstrap-switch",
    "bootstrap-switch-button",
    "bootstrap-toggle"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/palcarazm/bootstrap5-toggle.git"
  },
  "bugs": {
    "url": "https://github.com/palcarazm/bootstrap5-toggle/issues"
  },
  "engines": {
    "node": ">=22 <25",
    "npm": ">=10"
  },
  "devDependencies": {
    "@commitlint/cli": "^21.0.2",
    "@commitlint/config-conventional": "^21.0.2",
    "@rollup/plugin-terser": "^1.0.0",
    "@types/bootstrap": "^5.2.10",
    "@types/jest": "^30.0.0",
    "@types/jquery": "^4.0.0",
    "@types/node": "^26.0.0",
    "@typescript-eslint/eslint-plugin": "^8.58.0",
    "@typescript-eslint/parser": "^8.58.0",
    "commitlint": "^21.0.2",
    "concurrently": "^10.0.3",
    "cssnano": "^8.0.2",
    "cypress": "^15.8.1",
    "cypress-plugin-tab": "^2.0.0",
    "doctoc": "^2.2.0",
    "dompurify": "^3.0.0",
    "eslint": "^10.0.0",
    "globals": "^17.0.0",
    "husky": "^9.0.11",
    "jest": "^30.2.0",
    "jest-environment-jsdom": "^30.2.0",
    "postcss": "^8.5.6",
    "postcss-banner": "^4.0.1",
    "postcss-cli": "^11.0.1",
    "rimraf": "^6.1.3",
    "rollup": "^4.54.0",
    "rollup-plugin-dts": "^6.4.1",
    "ts-jest": "^29.4.6",
    "typescript": "^6.0.2"
  },
  "peerDependencies": {
    "bootstrap": ">=5 <6"
  },
  "peerDependenciesMeta": {
    "bootstrap": {
      "optional": false
    }
  },
  "optionalDependencies": {
    "jquery": "^4.0.0"
  }
}
