Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
Took 7 seconds
  • Loading branch information
erikyo committed Apr 8, 2024
1 parent 8257a79 commit f530491
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 9 deletions.
32 changes: 29 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"type": "git",
"url": "git+https://github.com/wp-blocks/squashify.git"
},
"main": "lib/esm/index.js",
"module": "lib/esm/",
"main": "lib/esm/index.js",
"module": "lib/esm/",
"reqire": "lib/cjs/index.js",
"types": "lib/@types/index.d.ts",
"scripts": {
"prebuild": "rimraf lib && tsc --emitDeclarationOnly --outDir lib/@types/",
"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",
"watch": "tsc --watch --sourceMap --outDir lib/esm/",
Expand All @@ -36,10 +36,11 @@
"files": [
"lib",
"tests",
"!tests/images/**/*",
"*.json",
"*.md",
".gitignore",
"LICENSE"
"*.md",
".gitignore",
"LICENSE"
],
"keywords": [
"image",
Expand All @@ -61,6 +62,7 @@
"prompts": "^2.4.2",
"sharp": "0.33.3",
"svgo": "^3.2.0",
"xml2js": "^0.6.2",
"yargs": "^17.7.2"
},
"devDependencies": {
Expand Down

0 comments on commit f530491

Please sign in to comment.