An HTML implementation of refrigerator magnets, with an extra Twitter feed. #complete http://www.elfsternberg.com/2012/03/27/project-fridgemagnets-poetry/
Go to file
Elf M. Sternberg 93fb8f1c2e This is gonna need some cleanup, but it now correctly positions, repositions, reports, and maintains the position of the target *and* the pointer. 2024-11-17 10:20:54 -08:00
js Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
media Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
scripts Working on the lit evolution. 2024-11-16 20:07:16 -08:00
server Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
src This is gonna need some cleanup, but it now correctly positions, repositions, reports, and maintains the position of the target *and* the pointer. 2024-11-17 10:20:54 -08:00
ui-lightness Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
.gitignore Working on the lit evolution. 2024-11-16 20:07:16 -08:00
LICENSE Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
LICENSE.md Working on the lit evolution. 2024-11-16 20:07:16 -08:00
Makefile Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
PikePlaceMarket.jpg Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
README.md Working on the lit evolution. 2024-11-16 20:07:16 -08:00
alphamod.png Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
build.mjs Working on the lit evolution. 2024-11-16 20:07:16 -08:00
eslint.config.mjs Working on the lit evolution. 2024-11-16 20:07:16 -08:00
fabfile.py Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
index.html Working on the lit evolution. 2024-11-16 20:07:16 -08:00
mute.png Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
package-lock.json Working on the lit evolution. 2024-11-16 20:07:16 -08:00
package.json Working on the lit evolution. 2024-11-16 20:07:16 -08:00
pingbg.png Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
tsconfig.base.json Working on the lit evolution. 2024-11-16 20:07:16 -08:00
tsconfig.json Working on the lit evolution. 2024-11-16 20:07:16 -08:00
tweetthis.png Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00
unmute.png Initial check-in after being scrubbed of sensitive data. 2012-03-27 16:18:55 -07:00

README.md

This repository contains the boilerplate package which I use to start most of my smaller Typescript projects. It is "primitive" in that it doesn't have hot module reloading or VSCode integration; instead, it runs the build process using a watcher that enables fast iteration via the command line. This boilerplate is focused on web components, primarily those build with Lit.

Dependencies

Aside from the NodeJS dependencies, this script uses codespell, which is a Python-based spell checker for comments and documentation.

Decisions:

  • TSC is still the best analyzer of Typescript's types.
  • Scripting ESBuild gives you enormous power.
  • Many of the commands have the ${NODE_RUNNER} prefix. If you set export NODE_RUNNER=bun, you can get a huge speedup in building and linting.
  • Knip makes sure you're not importing anything you're not using.
  • As this is a Lit-focused project, both Lit-Analyzer and WC-Analyzer are included
  • xo