empowerhack / DrawMyLife-Website

A website showcasing the Draw My Life initiative, partnerships and team
http://drawmylife.org/
2 stars 1 forks source link

Run webpack from node_modules #51

Closed jimmythompson closed 7 years ago

jimmythompson commented 7 years ago

What this does

Adds two commands to NPM:

It uses run-script by NPM to build the React part of the app using the local webpack installation (sat inside your node_modules folder) rather than you having to install webpack globally on your machine.

I also added a watch command, so you can have two terminal windows open, one for Jekyll, one for NPM, e.g.

screen shot 2017-04-17 at 13 59 50