forked from zaclys/searxng
bf52353a5c
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>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"devDependencies": {
|
|
"grunt-cli": "^1.4.3",
|
|
"grunt": "~1.4.1",
|
|
"grunt-contrib-copy": "^1.0.0",
|
|
"grunt-contrib-concat": "~2.0.0",
|
|
"grunt-contrib-cssmin": "^4.0.0",
|
|
"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",
|
|
"grunt-webfont": "^1.7.2",
|
|
"ionicons-npm": "^2.0.1",
|
|
"eslint": "^8.0.1",
|
|
"less": "^4.1.1",
|
|
"less-plugin-clean-css": "^1.5.1",
|
|
"stylelint": "^13.13.1",
|
|
"stylelint-config-standard": "^22.0.0"
|
|
},
|
|
"dependencies": {
|
|
"autocomplete-js": "2.7.1",
|
|
"leaflet": "^1.7.1",
|
|
"normalize.css": "^8.0.1"
|
|
},
|
|
"scripts": {
|
|
"all": "npm install && grunt",
|
|
"build": "grunt",
|
|
"eslint": "grunt eslint",
|
|
"watch": "grunt watch",
|
|
"webfont": "grunt webfont",
|
|
"clean": "rm -Rf node_modules package-lock.json ion.less",
|
|
"stylelint": "grunt stylelint",
|
|
"stylelint-fix": "grunt stylelint --fix"
|
|
}
|
|
}
|