our js • every page loads dependencies in this file first and the requested dependency comes after • avoids the timeouts we were having • we also use this as the requirejs config file where we tell where to find our js modules
dependencies ) npm install <package> —save-dev ( install dependency and update package.json ) bower install <package> ( install web component dependency on assets/vendor ) grunt watch ( watch for sass updates and auto compile css ) grunt ( build assets for dev ) grunt prod ( build assets for prod ) grunt <command> —force ( don’t stop execution on errors ) grunt compass:dev ( only compile sass for dev ) grunt prepare ( only copy files from other repositories to web ) grunt requirejs ( only build js without uglify ) ./update-assets-prefix.sh <preffix> ( replaces all __GRUNTPREFFIX__)