loginterface 1.0.7 → 1.1.0

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/package.json +7 -4
  2. package/readme.md +2 -0
package/package.json CHANGED
@@ -1,18 +1,21 @@
1
1
  {
2
2
  "name": "loginterface",
3
- "version": "1.0.7",
3
+ "version": "1.1.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
- "build": "tsc"
8
+ "build": "tsc",
9
+ "publish:patch": "npm run build && npm version patch && npm publish --access public",
10
+ "publish:minor": "npm run build && npm version minor && npm publish --access public",
11
+ "publish:major": "npm run build && npm version major && npm publish --access public"
9
12
  },
10
13
  "author": "Milan Cakic",
11
14
  "license": "MIT",
12
15
  "description": "",
13
16
  "dependencies": {
14
- "rxjs": "^7.0.0"
15
- },
17
+ "rxjs": "^7.0.0"
18
+ },
16
19
  "peerDependencies": {
17
20
  "rxjs": "^7.0.0"
18
21
  },
package/readme.md CHANGED
@@ -3,6 +3,8 @@ RxJS operator that generates interfaces and logs them into console with styling.
3
3
 
4
4
  ### Example usage (Angular)
5
5
  ```ts
6
+ import { logInterface } from 'logInterface';
7
+
6
8
  this.http.get('/endpoint').pipe(logInterface('Interface name'))
7
9
  ```
8
10
  #### Example