rpbaguio / project-task-runner

A simplified javascript task runner for compiling SASS/SCSS, LESS, STYLUS, and JS files to minified/unminified version.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simplified javascript task runner for compiling SASS/SCSS, LESS, STYLUS, and JS files to minified/unminified version.

Built with Grunt

Getting started

This package requires grunt-cli. Install grunt-cli globally with

$ npm install -g grunt-cli

Installation

$ npm install project-task-runner

Install dependencies:

Navigate to the root node_modules/project-task-runner/ directory, then run

$ npm install

npm will look at the package.json file and automatically install the necessary local dependencies listed there.

Tasks command

Watch task for SASS/SCSS

$ grunt watch-scss

Watch task for LESS

$ grunt watch-less

Watch task for STYLUS

$ grunt watch-stylus

Watch task for JS

$ grunt watch-js

Compile task for SASS/SCSS

$ grunt dist-scss

Compile task for LESS

$ grunt dist-less

Compile task for STYLUS

$ grunt dist-stylus

Compile task for JS

$ grunt dist-js

Full distribution task for SASS/SCSS

$ grunt dist-scss

Full distribution task for LESS

$ grunt dist-less

Full distribution task for STYLUS

$ grunt dist-stylus

Full distribution task for JS

$ grunt dist-js

Using the Grunt CLI

https://gruntjs.com/using-the-cli

License

MIT License

About

A simplified javascript task runner for compiling SASS/SCSS, LESS, STYLUS, and JS files to minified/unminified version.

License:MIT License


Languages

Language:JavaScript 77.0%Language:CSS 23.0%