adding "htmlproof" npm script command.

This commit is contained in:
Chuck Williams 2017-01-24 22:22:35 -07:00
parent 50a0e8071e
commit dd6790b207
2 changed files with 4 additions and 1 deletions

View file

@ -5,7 +5,7 @@ We are using Jekyll to generate the static html files.
https://jekyllrb.com
### Requirements (mac)
* Ruby: `brew install ruby`
* Ruby: `brew install ruby` (v2.3.3 works, v2.4.0 *does not*)
* Ruby Gems: https://rubygems.org/pages/download
* NodeJS: https://nodejs.org/en/ (Ideally >=4.5.0)
* Python: `brew install python`
@ -40,6 +40,8 @@ Production builds should be handled by CI.
`npm run build` will build a fully minified, mangled, and compressed build to the _site directory.
`npm run htmlproof` will run ImageCheck, ScriptCheck, and LinkCheck on the built "_site" folder "*.html" files. Travis CI will not deploy unless this command finishes successfully!
Mac
xcode-select --install
gem install nokogiri