Name: lively
Owner: ABC News
Description: An auto-play html5 video player for ABC News
Created: 2016-11-07 23:32:16.0
Updated: 2016-11-08 01:17:44.0
Pushed: 2017-05-31 01:24:20.0
Homepage: null
Size: 29
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An auto-play html5 video player for ABC News
m start
This will run npm install
to locally install Node package dependencies, then run the default grunt task which:
grunt dev
to create a development build (see Tasks, below)src/
for changes, triggering partial development builds as requiredThe build tasks transform the project source in src/
into a build under build/
.
$ grunt dev
Creates a local development build of the project.
scripts/
is linted by JSHint, then bundled by Browserify into scripts/index.js
styles/
is compiled by Compass into styles/index.css
templates/
are available in JS via the hbsfy
transform for browserify.src/
(such as index.html
)Hint: If you organise your static files into directories called images
, fonts
& data
, you'll have the benefit of proper caching by Akamai when you deploy to contentftp.
$ grunt prod
Creates a production-ready build of the project.
The build process is similar to the development build, except that scripts and styles are minified with the current version number (specified in package.json
) prepended as a comment.
$ grunt deploy
and $ grunt release
Quickly deploy and/or create new releases from the commandline. See the documentation for news-deploy-project-grunt for more details.
$ grunt
Described above in Getting Started