Front-end starter kit.
1. Clone this repo:
git clone [email protected]:lanceguyatt/fronter.git my-app
cd my-app
2. Make it your own
rm -rf .git && git init && npm init
This re-initializes the repo and sets up your NPM project.
3. Install the dependencies:
Install via yarn
yarn
Or via npm
npm install
You're done installing! Now let's get started developing.
4. Start a browser-sync
development server
gulp
Browser sync
5. Generate a production build in ./build
:
gulp build
Build
6. Start local production server with serve
:
npm start
Serve
gulp
The streaming build systemwebpack
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders," modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
gulp-nodemon
gulp + nodemon + conveniencebrowser-sync
Keep multiple browsers & devices in sync when building websitesserve
Static file serving and directory listing
babel-core
Babel compiler corebabel-loader
Webpack plugin for Babelbabel-preset-env
Autoprefixer for Babel: compile lesssvg4everybody
Use external SVG spritemaps today
autoprefixer
Parse CSS and add vendor prefixes to rules by Can I Usecss-mqpacker
A tool for packing same CSS media query rules into one with PostCSSlost
LostGrid is a powerful grid system built in PostCSS that works with any preprocessor and even vanilla CSSpostcss
Transforming styles with JS pluginspostcss-import
PostCSS plugin to inline @import rules contentpostcss-nested
PostCSS plugin to unwrap nested rules like how Sass does it.postcss-short
Use advanced shorthand properties in CSSpostcss-mixins
PostCSS plugin for mixinspostcss-simple-vars
PostCSS plugin for Sass-like variablespostcss-custom-media
PostCSS plugin to transform W3C CSS Custom Media Queries to more compatible CSSpostcss-custom-selectors
PostCSS Custom Selectorspostcss-calc
PostCSS plugin to reduce calc()postcss-custom-properties
PostCSS plugin to transform W3C CSS Custom Properties for cascading variablespostcss-color-function
PostCSS plugin to transform W3C CSS color function to more compatible CSSgulp-postcss
Pipe CSS through PostCSS processors with a single parse
pug
Pug – robust, elegant, feature rich template engine for Node.jsgulp-pug
Gulp plugin for compiling Pug templatesjstransformer-markdown-it
Markdown-It support for JSTransformers.
gulp-svgmin
Minify SVG files with gulp.gulp-svgstore
Combine svg files into one with elements
-
eslint
The pluggable linting utility for JavaScript and JSX -
eslint-plugin-import
ESLint plugin with rules that help validate proper imports -
[
gulp-htmlhint
] htmlhint wrapper for gulp to validate your HTML -
[
gulp-stylelint
] Gulp plugin for running Stylelint results through various reporters -
[
stylelint
] A mighty, modern CSS linter -
[
stylelint-config-standard
] The standard shareable config for stylelint
https://github.com/prettier/eslint-config-prettier
[gulp-htmlhint
]: https://github.com/bezoerb/gulp-htmlhint
[gulp-stylelint
]: https://github.com/olegskl/gulp-stylelint
[stylelint
]: https://github.com/stylelint/stylelint
[stylelint-config-standard
]: https://github.com/stylelint/stylelint-config-standard
prettier
Prettier is an opinionated code formatter.
gulp-changed
Only pass through changed filesgulp-cli
CLI for gulpgulp-rename
Rename files easilygulp-size
Display the size of your projectgulp-util
Utilities for gulp plugins