- HTML5 Boilerplate
- Webpack
- configs: dev, prod, common
- dev server
- a basic HTML template
.editorconfig
.gitattributes
- favicon: ICO, PNG, SVG
LICENSE.txt
robots.txt
site.webmanifest
- Webpack
- Node
.gitginore
- A basic TypeScript config
- SASS
- w/ H5B's CSS reset (includes print media query)
sr-only
&sr-only-focusable
mixins/classes
- ESLint
- Stylelint
- Jest
- There is a FOUC
- Try to use the CSS extract plugin
- Make sure
LICENSE.txt
is actually the one listed inpackage.json
- Download the latest zip
- Unzip to new project directory
- Run
npm install
from your project directory - Run
npm start:open
to open a new browser tab/window with the blank template - ????
- Profit!
test
: runs Jesttest:changed
: runs for files changed since last committest:watch
: runs on file change
start
: starts dev environmentstart:open
: starts dev environment with browser tab
lint
: runs ESLint and Stylelintlint:styles
: runs Stylelint onlylint:styles:fix
: runs Stylelint only and attempts to fix found issues
lint:js
: runs ESLint onlylint:js:fix
: runs ESLint only and attempts to fix found issues
build
: outputs to the/dist
folderserve
: runs the build and then serves the/dist
folderserve:dist
: serves the/dist
folder
ECMAScript modules are activated for tests and they use cross-env
for Windows users in the package.json
file. If you are not on Windows but still need ESM modules, use one of the options on the JestJS ESM modules docs page.