This project requires both npm
and bower
to be installed.
All you need to install Bower is to run npm install -g bower
.
In the root directory of the repository, run:
npm install
- This will install all the npm dependenciesbower install
- This will download all the bower dependencies- To make sure everything runs as expected, run
./node_modules/.bin/webpack
and./node_modules/.bin/webpack -p
to make sure the compiling works and populate the dist files.
To compile the assets, simply run ./node_modules/.bin/webpack
.
When pushing to production, make sure to use the -p flag: ./node_modules/.bin/webpack -p
. This will minify the dist files.
npm install
bower install
./node_modules/.bin/webpack
./node_modules/.bin/webpack -p