WARNING: This project has been abandoned in favor of better projects available out there. Personally I can recommend Parcel.
This is a Front-End starter kit with Browserify, PostCSS, BrowserSync and more. A solution to build modern web applications with zero initial configuration.
https://github.com/jrobinsonc/felicious
Includes:
- Autoprefixer
- Babel
- Browserify
- BrowserSync
- cssnano
- ESLint
- imagemin
- PostCSS
- Pug
- UglifyJS
- SASS
- spritesmith
-
First of all, install dependencies:
yarn install
NOTE: If
yarn install
is giving errors, try deleting the fileyarn.lock
and runyarn install
again. -
Then, to start development run:
yarn start
This will build the project and watch for changes running BrowserSync to reload your browser.
-
To build for production:
yarn build
There are specific tasks you can use to build particular assets, for example, you can compress images running gulp images
. Below you can see the list of available tasks:
NOTE: You must have Gulp globally installed to use these tasks.
Task | Details |
---|---|
styles | Transpile CSS |
scripts | Transpile JS |
images | Compress images |
sprites | Generates sprites |
views | Generate views |
copy | Copy files from the root (like favicon.ico) to dist/ |
If you need to run any of this tasks in DEV mode, you have to append --dev
, for example, to transpile JavaScript without compress the result use gulp scripts --dev
. Also, you can build the entire project using gulp build --dev
.
If you have any questions, please feel free to ask through new issue.
Licensed under the MIT licence.