Skip to content

youpiwaza/chaos-boilerplate-front

Repository files navigation

chaos-boilerplate-front

Front-end boilerplate, to suit my needs.

Gulp heavy

Numerous optimisations are done automattically thanks to gulp.

More details in /gulp.

Here are the main commands.

gulp

Copy /src & selected vendors to /watch

gulp watch

Html, css, js HMR

gulp prod

Concat, minify & inline inject of css & js

Before prod Checklist

Various recommandations, you can also directly run online validators

Online validators

Html

  • Meta tags

  • Open graph tags

  • Favicon, pref SVG

  • itemprop attribute

  • Linted

  • Minified

  • Remove css & js tags if inline injection

Css

  • Linted
  • Concat external librairies
  • Minified
  • Inline injection
  • .htaccess inline security (SHA-256) (XSS prevention)
  • Remove unused CSS

JS

  • Linted
  • Concat external librairies
  • Minified
  • Inline injection
  • .htaccess inline security (SHA-256) (XSS prevention)
  • Remove unused JS

Misc

TODO

About

Front-end boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published