Coder Social home page Coder Social logo

workflow's Introduction

HTML Workflow

Greenkeeper badge

Tasks

Tasks can be run by running `yarn gulp TASK_NAME`. If you prefer to use your global gulp installation then `gulp TASK_NAME`.
  • build To build production ready dist.
  • serve To serve content in dev mode.
  • default which is run by executing gulp or yarn gulp and it's the same as serve

Available scripts

These scripts can be run by yarn SCRIPT_NAME or npm run SCRIPT_NAME. They're available in package.json with key: scripts

  • optimize:images It executes the images task
  • build It executes the build task
  • start It executes the serve task
  • prepush This command is run as a pre-push hook by husky. Which means everytime you try to push you code to remote, it will execute this task. Currently it lints js & css.
  • lint:js Lints js scripts in src
  • lint:css Lints css files in src
  • format: Format files in src

New Features

  • We added husky for precommit & prepush hooks.
  • We added gulp-rev-all in an attempt to use revisioned files.
  • We separated the images optimization task from the build queue to be run on its own
  • We added stylelint to lint css too.
  • Added service worker support but disabled by default. You need to uncomment registerServiceWorker() in main.js to enable it.

TODO

  • Finetune the precommit & prepush hooks
  • Finetune gulp-rev-all task and replace it if needed
  • Add service workers support using workbox

workflow's People

Contributors

ahmadalfy avatar greenkeeper[bot] avatar mayarelmohr avatar nadineadel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.