Hackathon environments are great for creativity and prototyping, but not so great for building sustainable, rock-solid applications. This experimental rewrite will attempt to improve performance, browser support, and dev experience of our original iCreek hackathon app.
A number of new tools and libraries will be employed to meet these goals.
Some are only devDependencies
(meaning they are only used for
development and not included in the final deployment). Others (like
Bootstrap 4 and html5shiv) are actual runtime dependencies
; they contribute
to the overall size and complexity of the application, so we will only add
them if their benefit is substantial.
For better performance:
For better browser support:
For a better dev experience:
git clone https://github.com/cumberland-river-compact/icreek.git
cd icreek
npm install
npm run dev # open http://localhost:8080
We use ESLint. Run npm run lint
to test our JS against
Prettier and the
Airbnb Style Guide.
Array
, how to order imports, etc.)In cases where they conflict, Prettier formatting will override Airbnb.
npm run build
to create a production build. The output goes into
dist/
../deploy.sh
to deploy to
GitHub Pages
via git-directory-deploy.