Scaffolds out a front-end web app or embeddable graphic using North by Northwestern stylings. Forked from the Texas Tribune.
Clone or download
Pull request Compare This branch is 5 commits ahead, 37 commits behind texastribune:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
graphics
.editorconfig
.gitignore
LICENSE
README.md
package.json

README.md

Texas Tribune News Apps Generator

Yeoman generator that scaffolds out a front-end web app OR embeddable graphic using Texas Tribune stylings. Generously inspired by the original Yeoman web app generator.

PLEASE NOTE: This is still very much in development. Your mileage my vary until we hit 1.0.

Features

And so much more! Please take a look at each generator's package.json and Gruntfile.js to learn more about what's possible.

Install

$ npm install -g generator-tt-newsapps

The News Apps Generator depends on Node.js and npm.

Usage

So what do you wanna create? Are you developing a web app or a web graphic? The command you run will differ depending on your needs.

The web app generator is the default. Create the folder you want your project to live in then run the following command inside of it.

$ yo tt-newsapps

If you are creating a web graphic, use this command instead.

$ yo tt-newsapps:graphics

After installing, run grunt serve to preview what you generator has set up. Now get to work! When it comes time to ship to production, use grunt build to prepare dist folder.

License

Licensed under the MIT License.