Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Add package-level bin

Surmae5d254ad80af
diff --git a/cli/package.json b/cli/package.json
index ac23c921..ae9eb6fd 100644
--- a/cli/package.json
+++ b/cli/package.json
@@ -4,7 +4,8 @@
"description": "A CLI for Squoosh",
"public": true,
"bin": {
- "squoosh-cli": "build/index.js"
+ "squoosh-cli": "build/index.js",
+ "@squoosh/cli": "build/index.js"
},
"scripts": {
"build": "rollup -c"