/network page tables JS refactor & cleanup. Updates ESLINT rules, adds htmlproof & eslint to build process, adds window.global.siteApi url defined from _config.yml

This commit is contained in:
Chuck Williams 2017-03-23 22:53:50 -06:00
parent 4ca9a382f5
commit 99d941c1fb
4 changed files with 49 additions and 37 deletions

View file

@ -30,7 +30,7 @@
"build:font": "npm run font",
"build:images": "npm run imagemin",
"reload": "browser-sync reload",
"build": "run-s clean build:js build:css build:font build:jekyll copy",
"build": "run-s clean build:js build:css build:font build:jekyll copy htmlproof eslint",
"watch:jekyll": "onchange 'index.html' '*/*.html' '_*/**/*.yml' '_includes/**/*.html' '_layouts/**/*.html' '_posts/*' -e '_site/*' -d 500 -- run-s build:jekyll:incremental copy reload",
"watch:css": "onchange 'src/scss/**/*' -d 500 -- run-s sass prefix copy:css",
"watch:js": "onchange 'src/js/*' -d 500 -- run-s uglify:dev copy:js reload",