@politico/interactive-bin

v0.1.2
JS Utilities used in the creation and distribution of interactive news at POLITICO.

dev

nodemon --ignore dist --exec npm run build

build

babel src --out-dir dist --copy-files --include-dotfiles --ignore "src/example","src/templates/**/page/","src/templates/**/project/"

test

nyc mocha $(find dist/test -name '*.js') -g 'envargs|envprefix' -i --timeout 30000

testenvargs

mocha $(find dist/test -name '*.js') -g 'envargs' --config=test --credentials=test

testenvprefix

mocha $(find dist/test -name '*.js') -g 'envprefix' --prefix-env

posttest

npm run testenvargs; npm run testenvprefix;
npm i @politico/[email protected]

Metadata

  • ISC
  • Whatever
  • Unknown
  • released 2/13/2019

Downloads