summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/package.json
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-11-07 16:45:00 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-11-13 09:05:20 +0100
commitbf52353a5c3d0ba7bebde209c916d492fe521159 (patch)
tree0f2216a9706f75d49912f36b53fa2d717d29358d /searx/static/themes/simple/package.json
parentedb081638ba2f3f40fb2e4f5a73aafdacbfc0424 (diff)
[enh] minify searxng-wordmark.svg (HTMLMinifier)
Command:: ./node_modules/.bin/html-minifier \ --remove-comments \ --collapse-whitespace \ src/svg/searxng-wordmark.svg \ -o ../../../templates/__common__/searxng-wordmark.min.svg - html-minifier: https://github.com/kangax/html-minifier - onilne: https://kangax.github.io/html-minifier - grunt: https://www.npmjs.com/package/grunt-contrib-htmlmin - grunt-contrib-htmlmin: https://github.com/gruntjs/grunt-contrib-htmlmin - npm: https://www.npmjs.com/package/html-minifier To test, rebuild your node environment:: make node.env Alternatives: - pretty-data: https://github.com/vkiryukhin/pretty-data - grunt: https://www.npmjs.com/package/grunt-xmlmin - grunt-xmlming: https://github.com/dtrunk90/grunt-xmlmin - npm: https://www.npmjs.com/package/grunt-xmlmin - minify-xml: https://github.com/kristian/minify-xml - no grunt package available - npm: https://www.npmjs.com/package/minify-xml src/svg/searxng-wordmark.svg': '../../../templates/__common__/searxng-wordmark.min.svg' Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/package.json')
-rw-r--r--searx/static/themes/simple/package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/static/themes/simple/package.json b/searx/static/themes/simple/package.json
index 4b0ffc4fd..4ef608db7 100644
--- a/searx/static/themes/simple/package.json
+++ b/searx/static/themes/simple/package.json
@@ -8,6 +8,8 @@
"grunt-contrib-jshint": "~3.1.1",
"grunt-contrib-less": "~3.0.0",
"grunt-contrib-uglify": "~5.0.1",
+ "grunt-xmlmin": "~0.1.8",
+ "grunt-contrib-htmlmin": "~3.1.0",
"grunt-contrib-watch": "~1.1.0",
"grunt-stylelint": "^0.16.0",
"grunt-eslint": "^23.0.0",