- Install npm and nodejs (on debian I had to link
/usr/bin/nodejs
to/usr/bin/node
- At the root of your project create
package.js
file with the an empty json object:
$ echo "{}" > package.js
In the same directory, install all the project dependencies with the following command:
$ npm install --save-dev browser-sync gulp gulp-util react reactify vinyl-source-stream
Then create the other files of this gist and when you are done run:
$ gulp compile
$ gulp