mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-02-15 04:19:32 +00:00
flatten website directory structure and redesign UI - move all templates from themes/htmx-theme/templates/ to www/templates/ - move all static assets from themes/htmx-theme/static/ to www/static/ - remove theme layer and update config.toml - add tailwind css with typography plugin - update hero section with 3D effects and subtle synthwave aesthetic - update header with improved design and navigation - add shortcut for search bar in header (CMD+K on macos, CTRL+K elsewhere) - add status bar in header that displays title=... attribute on hover for any element - update footer with improved design and navigation - rename "examples" to "patterns" throughout site and docs - reorganize patterns page from 7 categories to 4 (loading, interaction, display, advanced) - add mac os9 finder-style design to patterns page with Chicago FLF font (classic OS9 window title font) - add sidebar table of contents for /docs/, /reference/, and /htmx-4/ pages (mobile version still TODO) - add `npm run site` script that uses npx for tailwindcss and zola-bin (no external dependencies needed) - remove github buttons.js dependency and replace with custom buttons - consolidate sponsor images into www/static/img/sponsors/ with logo-<company>.png|svg format - standardize all image filenames to lowercase kebab-case - clean up unused sponsor images from www/static/img/ - create construction_warning() shortcode for work-in-progress sections - add reusable template components (toc, anchor links, sponsors shortcode) - add horse easter egg when URL includes ?horse=true - update website htmx.js to latest version - update npm dependencie
61 lines
2.4 KiB
JSON
61 lines
2.4 KiB
JSON
{
|
|
"name": "htmx.org",
|
|
"version": "4.0.0-alpha1",
|
|
"description": "A hypermedia-oriented JavaScript library",
|
|
"main": "dist/htmx.js",
|
|
"module": "dist/htmx.esm.js",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist/*.js",
|
|
"dist/ext/*.js",
|
|
"dist/*.js.br",
|
|
"src/editors/jetbrains/htmx.web-types.json"
|
|
],
|
|
"scripts": {
|
|
"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/__/#/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",
|
|
|
|
"site": "npm run site:css & npm run site:serve",
|
|
"site:css": "cd www && npx @tailwindcss/cli -i ./static/css/input.css -o ./static/css/output.css --watch",
|
|
"site:serve": "cd www && npx zola-bin serve --interface 0.0.0.0 --port 1111 --open",
|
|
|
|
"publish": "npm publish --tag next --dry-run",
|
|
"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/htmx"
|
|
},
|
|
"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",
|
|
"@tailwindcss/typography": "^0.5.19"
|
|
}
|
|
}
|