@nbcnews/machinist

v1.3.2
A boilerplate for a Metalsmith static site.
metalsmith boilerplate static site

secure-check

node bin/secureCheck

test

npm link && machinist

start

BUILD=development node bin/cli --build

doc-ingest

node ./lib/googledocjson.js && node ./lib/dropboxpaperjson.js

googlesheet-ingest

node ./lib/googlesheetjson.js

dev

npm start

dev:debug

DEBUG=machinist:*,metalsmith:* npm start

build

BUILD=production node bin/cli --build

build:debug

DEBUG=machinist:*,metalsmith:* BUILD=production node bin/cli --build

format

eslint "src/scripts/**" "lib/**" --fix && stylelint "src/styles/**/*.scss" --fix

publish:cdn

node bin/cli --publish assets

publish

npm run build && node bin/cli --publish story

script-lint

eslint "src/scripts/**" "lib/**"

style-lint

stylelint "**/*.scss"

htmlhint

htmlhint **/www/**/*.html --config .htmlhintrc

lint

npm run script-lint && npm run style-lint && npm run htmlhint

precommit

lint-staged
npm i @nbcnews/machinist

Metadata

  • MIT
  • Whatever
  • nbcnews
  • released 6/13/2018

Downloads