encrypt-rsa 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -20,9 +20,9 @@ RSA algorithm is asymmetric cryptography algorithm. Asymmetric actually means th
20
20
  ## Installation
21
21
 
22
22
  ```bash
23
- npm i encrypt-rsa
23
+ npm i encrypt-rsa --only=production
24
24
  // OR
25
- yarn add encrypt-rsa
25
+ yarn add encrypt-rsa --only=production
26
26
  ```
27
27
 
28
28
  ## Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "encrypt-rsa",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "This is a little module use to encrypt and decrypt strings with RSA keys (public and private keys)",
5
5
  "main": "./build/index.js",
6
6
  "module": "./build/index.js",
@@ -23,6 +23,7 @@
23
23
  "_postinstall": "husky install",
24
24
  "prepublishOnly": "pinst --disable",
25
25
  "postpublish": "pinst --enable",
26
+ "prepublish": "npm run build",
26
27
  "husky": "husky",
27
28
  "lint": "eslint",
28
29
  "release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",