/npm-scripts-boilerplate

A collection of packages that build a website using npm scripts.

Primary LanguageHTML

npm-scripts-boilerplate

No need for Gulp, Grunt, or Webpack here... this is a collection of packages that build a website using npm scripts instead. Thanks to Damon Bauer for his post on CSS Tricks and his NPM Build Boilerplate for which this is based.

Quick Start

Clone

git clone https://github.com/gregrickaby/npm-scripts-boilerplate.git

Install

npm i

Set your proxy URL in package.json under the serve task.

browser-sync start --https --proxy 'https://gregrickaby.test' --files \'dist/css/*.css, dist/js/*.js, **/*.html, !node_modules/**/*.html\'

(or you could remove the proxy... your choice!)

Watch

npm run watch

Use with WordPress

If you want to use this workflow with a WordPress Theme, checkout my WP Starter Theme.

Need help?

Feel free to create an issue or tweet me.