Name: interactive-annotation-debate
Owner: ABC News
Description: null
Created: 2016-03-10 08:21:44.0
Updated: 2016-03-11 02:11:51.0
Pushed: 2017-06-01 00:14:22.0
Homepage: null
Size: 32
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Annotated debates
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