Skip to content

๐Ÿš€ Besslah is like your best friend, it will do any hard work part for you

Notifications You must be signed in to change notification settings

afdallah/Besslah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

34 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€Besslah - Front-end workflow made easy

โœจ Besslah is just another way to say 'Just start now!' in Javanese ๐Ÿ‡ฎ๐Ÿ‡ฉ. This series of gulp task script specifically designed for you to speed up your workflow. It comes with robust feature like Sass support, Live reload, Autoprefixer, Uglify, Build, Deploy and many more.

Features

  1. Compile Sass
  2. Compile Pug
  3. Minify CSS/JS
  4. Compress Images: jpg, svg, png, gif
  5. Live reload via Browser-sync
  6. Autoprefixer
  7. Build
  8. Integrated With bulma
  9. Support es6/es2015 syntax via babel
  10. Deploy to surge.sh
  11. Standardjs eslint

Structures

.
โ”œโ”€โ”€ build
โ”‚ย ย  โ”œโ”€โ”€ images
โ”‚ย ย  โ”œโ”€โ”€ scripts
โ”‚ย ย  โ”œโ”€โ”€ styles
โ”‚ย ย  โ””โ”€โ”€ index.html
โ”œโ”€โ”€ source
โ”‚ย ย  โ”œโ”€โ”€ images
โ”‚ย ย  โ”œโ”€โ”€ pugs
โ”‚ย ย  โ”œโ”€โ”€ scripts
โ”‚ย ย  โ”œโ”€โ”€ scss
โ”‚ย ย  โ”œโ”€โ”€ styles
โ”‚ย ย  โ””โ”€โ”€ index.html
โ”œโ”€โ”€ gulpfile.babel.js
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ settings.js

Quick Setup

  1. Clone this repo git clone git@github.com:afdallah/Besslah.git your-project-name
  2. Or Download it manually
  3. Install all dependencies npm i -g gulp && npm i
  4. Update settings.js to match your preferences

API

  1. gulp styles - compile sass, auto prefix css, sourcemaps
  2. gulp html - compile pug(Optional)
  3. gulp images - compress images supported image filetype: jpg, png, svg, gif
  4. gulp scripts - transpile es6 using babel, sourcemaps, concatenates
  5. gulp serve - run html, scripts, styles in parallel, and watch every file change. For every change will trigger live reload(Browser-sync)
  6. gulp build - build all files in sequences and move it to build folder or you can specify your build dir name (see settings.js)
  7. gulp deploy - run build task then deploy the build dir to surge.sh (see settings.js)
  8. gulp - run gulp serve task.

Feel free to make a change. If you have any question, reach me on afdallah.war@gmail.com โ˜•

About

๐Ÿš€ Besslah is like your best friend, it will do any hard work part for you

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published