jadeallencook / newsroom

Interactive applications for the newsroom!

Home Page:https://jadeallencook.github.io/Newsroom.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newsroom.js

Tools built for interactive data presentations!

Creating A New Interactive

To create a new interactive, run the following script.

    npm run new myInteractive

That will generate a script and scss file in the "src" folder. To pass parameters to your interactive, just do the following.

    npm run pass myInteractive myParameter myValue

Turn on Webpack, SCSS, and PHP once you have an interactive created that you want to start building. If you don't have any of those, you can use NPM to install them!

    npm i -g webpack
    npm i -g sass

PHP should be on your machine already if you're running Mac OS.

Now you can use NPM scripts to turn everything on.

    # webpack 
    npm run scripts
    # scss
    npm run styles
    # php
    npm run server

About

Interactive applications for the newsroom!

https://jadeallencook.github.io/Newsroom.js/


Languages

Language:JavaScript 62.4%Language:CSS 15.6%Language:TypeScript 13.8%Language:HTML 7.1%Language:PHP 1.1%