@nbcnews/machinist
v1.0.6 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
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