Famicity front app.
sudo npm install -g gulp
npm install
npm run build:nodev
builds the project with a development environment.
Options are the same as described below, and can be passed this way:
npm run build:nodev -- --version 1.2.3 --no-img
gulp build
[--target target] environment where calls will be made [development (default), staging, production, or any name corresponding to a env file]
[--version x] set application version (timestamp by default)
[--bower] allow bower to perform version check request against repositories, which requires an internet connection (true by default)
[--img] minimize images during build (true by default)
For example: gulp build --version 1.2.3 --no-bower
npm run build
gulp
[--target target] environment where calls will be made [development (default), staging, production, or any name corresponding to a env file]
[--version x] set application version (timestamp by default)
[--bower] allow bower to perform version check request against repositories, which requires an internet connection (true by default)
[--weinre] add weinre (false by default)
[--watch] watch files (true by default)
For example: gulp --weinre --no-watch
gulp eslint
, gulp csshint
, gulp htmlhint