Add lint and compile tests to CI.

This commit is contained in:
XhmikosR
2020-05-31 14:58:08 +03:00
parent ff66f38cee
commit ffcbdb2029
3 changed files with 51 additions and 4 deletions

View File

@@ -37,9 +37,10 @@
"js": "npm-run-all --sequential js-compile js-minify",
"js-compile": "rollup --config build/config/rollup.config.js --sourcemap",
"js-minify": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/adminlte.js.map,includeSources,url=adminlte.min.js.map\" --output dist/js/adminlte.min.js dist/js/adminlte.js",
"lint": "npm run css-lint",
"production": "npm-run-all --sequential compile plugins",
"prepare-release": "npm-run-all --sequential production docs",
"test": "npm-run-all css-lint production",
"test": "npm-run-all lint production",
"plugins": "node build/npm/Publish.js -v",
"sync": "browser-sync start --server --files *.html pages/ dist/",
"watch": "npm-run-all --parallel watch-css watch-js",