This works in this folder structure:
public
+ node_modules
+ Makefile
+ package.json
+ src
+ index.html
+ fonts
+ ...
+ images
+ ...
+ scripts
+ app.js
+ ...
+ stylesheets
+ style.css
+ ...
and with dependencies:
{
"devDependencies": {
"autoprefixer": "^6.3.6",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"cssnano-cli": "^1.0.4",
"handlebars": "^4.0.5",
"html-minifier": "^2.1.3",
"livereload": "git+https://github.com/scriptype/node-livereload.git",
"postcss-cli": "^2.5.2",
"postcss-import": "^8.1.2",
"uglifyjs": "^2.4.10",
"watchify": "^3.7.0"
}
}
Node and npm should be installed. Also shouldn't work on Windows for obvious reasons.