Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
Took 35 seconds
  • Loading branch information
erikyo committed Apr 8, 2024
1 parent f8da7f4 commit c07221a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "squashify",
"version": "1.0.1",
"version": "1.1.0",
"description": "A Node.js command-line tool and script to compress and optimize images, using different algorithms to reduce file size",
"license": "GPL-2.0-or-later",
"contributors": [
Expand All @@ -25,8 +25,9 @@
"reqire": "lib/cjs/index.js",
"types": "lib/@types/index.d.ts",
"scripts": {
"prebuild": "rimraf lib && tsc --emitDeclarationOnly --outDir lib/@types/",
"build": "npx esbuild ./src/* --outdir=lib/esm/ --format=esm --platform=node --minify",
"postbuild": "npx esbuild src/index.ts --outfile=lib/cjs/index.js --bundle --platform=node --minify && tsc --emitDeclarationOnly --outDir lib/@types/",
"postbuild": "npx esbuild src/index.ts --outfile=lib/cjs/index.js --bundle --platform=node --minify",
"watch": "tsc --watch --sourceMap --outDir lib/esm/",
"squashify": "node . --in tests/images/ --out tests/output --verbose",
"squashifyDefaults": "node . -d",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"esModuleInterop": true,
"strict": true,
"pretty": false,
"removeComments": false,
// Import non-ES modules as default imports.
"outDir": "lib/esm",
"rootDir": "src",
Expand Down

0 comments on commit c07221a

Please sign in to comment.