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

gregrickaby/npm-scripts-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages