π¨ This repository is deprecated π¨
It basically still works but there are a lot of new frontend tools and even newer versions regarding the build steps (e.g. gulp
).
Lightweight starter kit for frontend/website projects.
- Lightweight / no boilerplate code
- SASS/SCSS support
- Minified / concatenated Javascript and CSS
- Linted Javascript with ESLint
- Basic editorconfig and JavascriptCodeStyle config
- Bower support (see gulp tasks)
- Up to date dev-dependencies thanks to @greenkeeperio
- Synchronised browser testing by BrowserSync
git clone https://github.com/themihel/frontend-starter-kit.git
cd frontend-starter-kit
npm install
Just run gulp serve
and start coding π
Your browser will automatically reload on each saved action!
gulp styles
: Compile/concat sass files (minify for dist)gulp scripts
: Concat js files ((minify for dist))gulp lint
: Lint js files with ESLintgulp images
: Optimize images from images foldergulp html
: Copy and minify html files into dist foldergulp bower
: Copy bower files into dist foldergulp clean
: Remove tmp and dist foldergulp dist
: Compiles/concats/lint/minifies code for production/uploadgulp serve
: Serve files for local testing (code unminified)gulp serve:dist
: Serve files from dist folder for final testinggulp watch
: Compiles sass / Lint and concat js files (see: styles, lint, scripts)
Note: gulp watch
, gulp serve
and gulp serve:dist
automatically run on code changes
Run gulp dist
and upload all files from dist
directory to your server. That's it π
frontend-starter-kit
β .editorconfig
β .eslintrc
β .gitignore
β .jscsrc
β gulpfile.js
β LICENSE
β package.json
β README.md
β
ββββapp
β index.html
β ...
β
ββββscripts
β β app.js
β β ...
β
ββββimages
β ...
β
ββββstyles
β
β app.scss
β
ββββcore
β β _core.scss
β β _vars.scss
β β ...
β
ββββmixins
β β _normalizeBoxSize.scss
β β ...
β
ββββmodules
β β ...
β
ββββviews
β ...