Skip to content

Commit

Permalink
Merge pull request #20 from victorsoares96/fix/add-bin-gs-folder-to-g…
Browse files Browse the repository at this point in the history
…itkeep

🩹 fix: add bin gs folder to gitkeep
  • Loading branch information
victorsoares96 committed Apr 7, 2023
2 parents af579ca + 908c457 commit 57048a6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,6 @@ dist
.yarn/install-state.gz
.pnp.*

# Binaries
bin/gs
# Ghostscript Binaries
bin/gs/*
!bin/gs/.gitkeep
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ yarn add compress-pdf
```tsx
import path from 'path';
import fs from 'fs';
import compressPdf from 'compress-pdf';
import { compress } from 'compress-pdf';

/**
* After this run:
Expand Down
Empty file added bin/gs/.gitkeep
Empty file.
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "compress-pdf",
"version": "0.2.0",
"version": "0.2.1",
"templateVersion": "1.3.0",
"description": "An compress pdf library using ghostscript",
"main": "dist/index.js",
Expand All @@ -11,7 +11,6 @@
"types": "dist/index.d.ts",
"scripts": {
"prepare": "husky install",
"fetch-binaries": "node dist/fetch-binaries",
"copy-json-files-to-dist": "copyfiles -u 1 src/**/*.json dist/",
"style:format": "prettier \"*.{js,json,yml,yaml,md}\" \"src/**/*\" --write",
"lint": "eslint --color --ext .ts \"src/**/*.+(ts)\"",
Expand All @@ -22,7 +21,7 @@
"package": "npm run build && npm pack",
"build": "tsup",
"release": "npm run build && npm publish",
"release-local": "npm run build && npm link && echo [FINISH]: Run \"npm link lib-template\" to link the package to your project"
"release-local": "npm run build && npm link && echo [FINISH]: Run \"npm link compress-pdf\" to link the package to your project"
},
"publishConfig": {
"access": "public"
Expand All @@ -33,15 +32,19 @@
],
"keywords": [
"library",
"template"
"compress-pdf",
"compress",
"pdf",
"optimize",
"reduce"
],
"repository": "https://github.com/victorsoares96/lib-template",
"repository": "https://github.com/victorsoares96/compress-pdf",
"author": "Victor Soares <[email protected]> (https://github.com/victorsoares96)",
"license": "MIT",
"bugs": {
"url": "https://github.com/victorsoares96/lib-template/issues"
"url": "https://github.com/victorsoares96/compress-pdf/issues"
},
"homepage": "https://github.com/victorsoares96/lib-template#readme",
"homepage": "https://github.com/victorsoares96/compress-pdf#readme",
"peerDependencies": {},
"dependencies": {
"lodash": "4.17.21",
Expand Down

0 comments on commit 57048a6

Please sign in to comment.