latest-protoc-binary 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # latest-protoc-binary.git
1
+ # latest-protoc-binary
2
2
  Dovnload latest Protocol Compiler (protoc) pre-built binary from https://github.com/protocolbuffers/protobuf/releases.
3
3
 
4
4
  ## Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "latest-protoc-binary",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Dovnload latest Protocol Compiler (protoc) pre-built binary from https://github.com/protocolbuffers/protobuf/releases.",
5
5
  "main": "index.mjs",
6
6
  "bin": {
@@ -8,7 +8,12 @@
8
8
  },
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1",
11
- "postinstall": "node ./index.mjs"
11
+ "postinstall": "node ./index.mjs",
12
+ "prepack": "rm -rf bin && mkdir bin && touch bin/protoc"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/kzolti/latest-protoc-binary.git"
12
17
  },
13
18
  "keywords": [
14
19
  "Protocol Compiler",