- Move hand-authored CSS into src/scss/styles.scss, compiled to the tracked styles.css via `npm run build` (sass, no source maps). - Add package.json/package-lock.json with dev tooling: sass, and a `dev` script running php + sass --watch + browser-sync together. - Add scripts/build-dist.js (npm run dist): assembles an allowlisted, production-only copy of the site into dist/ (gitignored) for pushing to hosting — excludes node_modules, src/, package files, and the live db/fitz.sqlite while including config.php. - .gitignore: ignore node_modules/, styles.css.map, and dist/. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
26 lines
573 B
Plaintext
26 lines
573 B
Plaintext
# OS cruft
|
|
.DS_Store
|
|
|
|
# Secrets — copy config.sample.php to config.php and fill in your own values.
|
|
# config.php will eventually hold a real Facebook Page Access Token.
|
|
config.php
|
|
|
|
# Runtime-generated cache (facebook-stats.php writes here)
|
|
/cache/
|
|
|
|
# SQLite database file (keep schema/htaccess tracked, ignore live db file)
|
|
db/fitz.sqlite
|
|
db/fitz.sqlite-wal
|
|
db/fitz.sqlite-shm
|
|
|
|
.hintrc
|
|
dev.sh
|
|
.claude/
|
|
|
|
# Node development dependencies and Sass source maps
|
|
node_modules/
|
|
styles.css.map
|
|
|
|
# Generated deploy folder (npm run dist) — includes config.php, never commit
|
|
dist/
|