mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-03-14 02:18:04 +00:00
43 lines
1.7 KiB
JSON
43 lines
1.7 KiB
JSON
{
|
|
"name": "htmx-live",
|
|
"version": "0.0.1-alpha",
|
|
"description": "Reactive hypermedia",
|
|
"main": "dist/live.js",
|
|
"module": "dist/live.esm.js",
|
|
"scripts": {
|
|
"clean": "rm -f ./dist/*",
|
|
"copy": "cp src/live.js ./dist/",
|
|
"esm": "sh -c 'cat > dist/live.esm.js << EOF\n$(cat src/live.js)\nexport default htmx\nEOF\n'",
|
|
"minify": "terser --compress --mangle -o ./dist/live.min.js ./dist/live.js",
|
|
"compress": "brotli ./dist/live.js && brotli ./dist/live.min.js",
|
|
"build": "npm run clean && npm run copy && npm run esm && npm run minify && npm run compress",
|
|
"dist": "npm run build",
|
|
"test": "npm run test:chrome",
|
|
"test:chrome": "playwright install chromium && web-test-runner --config web-test-runner.config.mjs --browsers chromium --playwright",
|
|
"test:firefox": "playwright install firefox && web-test-runner --config web-test-runner.config.mjs --concurrency 1 --browsers firefox --playwright",
|
|
"test:webkit": "playwright install webkit && web-test-runner --config web-test-runner.config.mjs --browsers webkit --playwright",
|
|
"test:all": "playwright install chromium firefox webkit && web-test-runner --config web-test-runner.config.mjs --concurrency 1 --browsers chromium firefox webkit --playwright"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bigskysoftware/htmx"
|
|
},
|
|
"keywords": [
|
|
"hypermedia",
|
|
"htmx",
|
|
"ajax",
|
|
"sse"
|
|
],
|
|
"author": "Big Sky Software",
|
|
"license": "BSD-0-Clause",
|
|
"dependencies": {
|
|
"htmx" : "*"
|
|
},
|
|
"devDependencies": {
|
|
"@web/test-runner": "^0.20.2",
|
|
"@web/test-runner-playwright": "^0.11.0",
|
|
"chai": "^4.5.0",
|
|
"mocha": "^11.7.4",
|
|
"terser": "^5.36.0"
|
|
}
|
|
} |