Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.

Commit 03af191

Browse files
committed
fix(CLI): added the bin field to package.json
The bin field was missing from package.json, however I didn't notice because npm had old symlink scripts lying around...
1 parent 5752c71 commit 03af191

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Forgot the `bin` field in package.json, CLI is now usable
13+
1014
## [2.1.0] - 2019-03-23
1115

1216
`imagemin-webp` integration was scrapped as the binary seems to be buggy.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"main": "dist/main/index.js",
88
"typings": "dist/main/index.d.ts",
99
"module": "dist/module/index.js",
10+
"bin": {
11+
"rib": "bin/index.js"
12+
},
1013
"files": [
1114
"LICENSE",
1215
"/dist"

0 commit comments

Comments
 (0)