{ "name": "htmx", "version": "4.0.0-alpha1", "description": "A hypermedia-oriented JavaScript library", "main": "dist/htmx.js", "module": "dist/htmx.esm.js", "scripts": { "postinstall": "playwright install --with-deps chromium firefox webkit", "build": "npm run build:iife && npm run build:esm && npm run build:minify && npm run build:compress", "build:iife": "sed 's/__/#/g' src/htmx.js > dist/htmx.js", "build:esm": "sed 's/this\\.__/this.#/g; s/^ __/ #/g' src/htmx.js > dist/htmx.esm.js && echo '' >> dist/htmx.esm.js && echo 'export default htmx' >> dist/htmx.esm.js", "build:minify": "terser --compress --mangle --source-map -o dist/htmx.min.js dist/htmx.js && terser --compress --mangle --source-map -o dist/htmx.esm.min.js dist/htmx.esm.js", "build:compress": "brotli-cli compress dist/*.js", "test": "npm run test:chrome", "test:chrome": "web-test-runner --browsers chromium --config test/web-test-runner.config.mjs --playwright", "test:firefox": "web-test-runner --browsers firefox --config test/web-test-runner.config.mjs --playwright", "test:webkit": "web-test-runner --browsers webkit --config test/web-test-runner.config.mjs --playwright", "test:all": "web-test-runner --browsers chromium firefox webkit --config test/web-test-runner.config.mjs --playwright --concurrency 1", "test:manual": "node test/manual/server.js", "publish": "npm run test:all # && npm publish --tag next", "merge": " (echo \"src/** merge=ours\ndist/** merge=ours\ntest/** merge=ours\n\" > .gitattributes && git add .gitattributes && git merge master); git reset HEAD .gitattributes 2>/dev/null; rm .gitattributes 2>/dev/null\n" }, "repository": { "type": "git", "url": "https://github.com/bigskysoftware/htmx4" }, "keywords": [ "hypermedia", "htmx", "ajax", "sse" ], "workspaces": [ "ext/*" ], "author": "Big Sky Software", "license": "BSD-0-Clause", "devDependencies": { "@web/test-runner": "^0.20.2", "@web/test-runner-playwright": "^0.11.0", "brotli-cli": "^2.1.1", "chai": "^4.5.0", "mocha": "^11.7.4", "terser": "^5.36.0" } }