Skip to content

Commit

Permalink
test:all should also check/fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Feb 2, 2024
1 parent edd2a0c commit 50130c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"_cd:docs": "cd userguide &&",
"_check:format": "npx prettier --check .??* *.md",
"_cp:bs-rfs": "npx cpy 'node_modules/bootstrap/scss/vendor/*' assets/_vendor/bootstrap/scss/",
"_diff:check": "git diff --name-only --exit-code",
"_mkdir:hugo-mod": "npx mkdirp ../github.com/FortAwesome/Font-Awesome ../github.com/twbs/bootstrap",
"_prebuild": "npm run _cp:bs-rfs",
"_test:docs": "npm run cd:docs test",
Expand All @@ -29,7 +30,7 @@
"preserve": "npm run _prebuild",
"pretest": "npm run _prebuild",
"serve": "npm run cd:docs serve",
"test:all": "npm run _test:docs && npm run check",
"test:all": "npm run _test:docs && npm run check && npm run fix:format && npm run _diff:check",
"test": "npm run _test:docs",
"update:pkg:dep": "npm install --save-exact @fortawesome/fontawesome-free@latest bootstrap@latest",
"update:pkg:hugo": "npm install --save-exact -D hugo-extended@latest"
Expand Down

0 comments on commit 50130c9

Please sign in to comment.