Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.09 KB

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.