{
  "name": "hyperpress",
  "author": "Esteban Cuevas",
  "license": "GPL-2.0-or-later",
  "version": "2.0.7",
  "description": "Supercharge WordPress with the power of hypermedia. Use HTMX, Alpine Ajax, and Datastar to create rich, interactive blocks and pages—all with the simplicity of PHP.",
  "keywords": [],
  "main": "index.js",
  "scripts": {
    "version-bump": "node -e \"const pkg = require('./package.json'); const currentVersion = pkg.version; console.log('Current version ' + currentVersion); const readline = require('readline').createInterface({ input: process.stdin, output: process.stdout }); readline.question('Enter new version (semver): ', (newVersion) => { pkg.version = newVersion; require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2)); const fs = require('fs'); const files = ['composer.json', 'README.txt', 'api-for-htmx.php', 'SECURITY.md']; const regex = new RegExp(currentVersion + '(?!\\d)', 'gm'); for (const file of files) { let data = fs.readFileSync(file, 'utf8'); data = data.replace(regex, newVersion); fs.writeFileSync(file, data, 'utf8'); } readline.close(); console.log('Bumped from ' + currentVersion + ' to ' + newVersion); console.log('Version updated successfully!'); });\"",
    "download-libraries": "php .ci/update-libraries.php",
    "update-libraries": "php .ci/update-libraries.php",
    "update-htmx": "npm run update-libraries -- --library=htmx",
    "update-htmx-extensions": "npm run update-libraries -- --library=htmx-extensions",
    "update-hyperscript": "npm run update-libraries -- --library=hyperscript",
    "update-alpinejs": "npm run update-libraries -- --library=alpinejs",
    "update-alpine-ajax": "npm run update-libraries -- --library=alpine-ajax",
    "update-datastar": "npm run update-libraries -- --library=datastar",
    "update-all": "npm run update-libraries -- --all",
    "postinstall": "echo '📋 To download all libraries, run: npm run update-all'"
  },
  "devDependencies": {
    "alpinejs": "^3",
    "htmx.org": "^2",
    "hyperscript.org": "*",
    "@starfederation/datastar": "^1"
  },
  "volta": {
    "node": "22.15.0",
    "npm": "10.8.2"
  }
}