# Before install you need to clone the repo.
git clone [email protected]:hebertsilva/node-sass-boilerplate.git
# Enter in folder
cd node-sass-boilerplate
# Install packages
npm install
or install package with yarn If you do not have yarn installed go here yarn
yarn install
Watching css
npm run watch:css
Watching sprite
npm run watch:sprite
Watching js
npm run watch:js
Watching all
# watch:all watching css, sprite and js
npm run watch:all
build css
npm run build:css
build sprite
npm run build:sprite
build js
npm run build:js
build all
# build:all building css, sprite and js
npm run build:all
or watch and build with yarn
yarn watch:** #'css', 'sprite', 'js', 'all'
# or
yarn build:** #'css', 'sprite', 'js', 'all'
identifying and reporting in ECMAScript/JavaScript code
npm run lint
Note
To monitor files in save as replace in the watch:css in package.json by that line below using onchage
"watch:css": "onchange \"sass/\" -- npm run sass",