textpattern-com
Advanced tools
Comparing version 1.8.5 to 1.8.6
@@ -280,3 +280,2 @@ module.exports = function (grunt) | ||
grunt.registerTask('default', ['watch']); | ||
grunt.registerTask('travis', ['build']); | ||
}; |
{ | ||
"name": "textpattern-com", | ||
"description": "Official website of the Textpattern project.", | ||
"version": "1.8.5", | ||
"version": "1.8.6", | ||
"repository": { | ||
@@ -14,6 +14,5 @@ "type": "git", | ||
"@lodder/grunt-postcss": "3.1.1", | ||
"@squoosh/cli": "0.7.2", | ||
"autoprefixer": "10.4.13", | ||
"cssnano": "5.1.14", | ||
"grunt": "1.5.3", | ||
"autoprefixer": "10.4.15", | ||
"cssnano": "6.0.1", | ||
"grunt": "1.6.1", | ||
"grunt-cli": "1.4.3", | ||
@@ -27,10 +26,10 @@ "grunt-concurrent": "3.0.0", | ||
"grunt-sass": "3.1.0", | ||
"grunt-stylelint": "0.16.0", | ||
"grunt-stylelint": "0.19.0", | ||
"grunt-terser": "2.0.0", | ||
"load-grunt-tasks": "5.1.0", | ||
"postcss": "8.4.19", | ||
"sass": "1.56.1", | ||
"stylelint": "13.13.1", | ||
"stylelint-order": "4.1.0", | ||
"stylelint-scss": "3.21.0" | ||
"postcss": "8.4.30", | ||
"sass": "1.67.0", | ||
"stylelint": "15.10.3", | ||
"stylelint-config-standard-scss": "11.0.0", | ||
"stylelint-order": "6.0.3" | ||
}, | ||
@@ -49,6 +48,3 @@ "dependencies": { | ||
], | ||
"scripts": { | ||
"test": "grunt travis --verbose" | ||
}, | ||
"license": "GPL-2.0" | ||
} |
@@ -53,12 +53,2 @@ # Textpattern.com website | ||
## Generating AVIF and WebP image formats via CLI | ||
After you have installed all dependencies, you can run [Squoosh](https://github.com/GoogleChromeLabs/squoosh/) on images to generate modern image formats quickly, for example: | ||
```ShellSession | ||
$ npx squoosh-cli --webp '{"quality":50}' src/img-originals/76.png -d public/img/ | ||
``` | ||
See [Squoosh CLI](https://github.com/GoogleChromeLabs/squoosh/tree/dev/cli) for more detailed documentation, plus [encoding options](https://github.com/GoogleChromeLabs/squoosh/blob/dev/cli/src/codecs.js). **Note** you should ideally optimize your images manually (per-image) to obtain the best compression level versus quality ratio. | ||
## Shortcodes | ||
@@ -65,0 +55,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20
5068436
202
9693
111