Skip to content

Commit

Permalink
feat: add html minify script
Browse files Browse the repository at this point in the history
  • Loading branch information
wajeht committed Aug 19, 2023
1 parent 57d6a74 commit c9f11e3
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 6 deletions.
168 changes: 163 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"format:check": "prettier --check .",
"format": "prettier --write .",
"lint:check": "eslint .",
"lint": "eslint --fix ."
"lint": "eslint --fix .",
"minify:html": "html-minifier --input-dir ./src --output-dir ./src --collapse-whitespace --file-ext html"
},
"bin": {
"gains": "./src/apps/cli/cli.js"
Expand Down Expand Up @@ -93,6 +94,7 @@
"filesize": "^9.0.11",
"fluent-ffmpeg": "^2.1.2",
"helmet": "^5.1.1",
"html-minifier": "^4.0.0",
"http-status-codes": "^2.2.0",
"ioredis": "^5.2.3",
"jsonwebtoken": "^9.0.0",
Expand Down

0 comments on commit c9f11e3

Please sign in to comment.