|
1 | 1 | { |
2 | 2 | "name": "stream-chat-angular", |
3 | 3 | "version": "0.0.0", |
| 4 | + "watch": { |
| 5 | + "remove-stream-chat-augmentation": "dist/stream-chat-angular/stream-chat.d.ts.map" |
| 6 | + }, |
4 | 7 | "scripts": { |
5 | 8 | "prepare": "husky install", |
6 | 9 | "postinstall": "npm run config:dev & npm run copy-css", |
|
14 | 17 | "prestart:dev:customizations-example": "npm run config:dev", |
15 | 18 | "start:dev:customizations-example": "rm -rf dist & npm run watch & (wait-on dist && ng serve customizations-example --host 0.0.0.0)", |
16 | 19 | "build": "ng build stream-chat-angular", |
| 20 | + "postbuild": "npm run remove-stream-chat-augmentation", |
| 21 | + "delete-stream-chat-declaration": "rm -f dist/stream-chat-angular/stream-chat.d.ts", |
| 22 | + "delete-stream-chat-declaration-map": "rm -f dist/stream-chat-angular/stream-chat.d.ts.map", |
| 23 | + "remove-stream-chat-reference": "replace '/// <reference path=\"stream-chat.d.ts\" />' '' dist/stream-chat-angular/public-api.d.ts", |
| 24 | + "remove-stream-chat-augmentation": "npm run delete-stream-chat-declaration && npm run delete-stream-chat-declaration-map && npm run remove-stream-chat-reference", |
17 | 25 | "build:prod": "npm run copy-css && ng build stream-chat-angular --configuration production", |
18 | | - "watch": "ng build stream-chat-angular --watch --configuration development", |
| 26 | + "postbuild:prod": "npm run remove-stream-chat-augmentation", |
| 27 | + "watch": "ng build stream-chat-angular --watch --configuration development & npm-watch", |
19 | 28 | "test": "rm -rf dist & npm run watch & (wait-on dist && ng run stream-chat-angular:test)", |
20 | 29 | "test:ci": "ng run stream-chat-angular:test --browsers ChromeHeadlessCustom --watch false", |
21 | 30 | "lint": "ng lint", |
|
115 | 124 | "emoji-regex": "^10.3.0", |
116 | 125 | "fix-webm-duration": "^1.0.6", |
117 | 126 | "ngx-float-ui": "^15.0.0", |
| 127 | + "npm-watch": "^0.13.0", |
118 | 128 | "pretty-bytes": "^6.1.1", |
| 129 | + "replace": "^1.2.2", |
119 | 130 | "rxjs": "~7.4.0", |
120 | 131 | "starwars-names": "^1.6.0", |
121 | | - "stream-chat": "9.0.0-rc.5", |
| 132 | + "stream-chat": "9.0.0-rc.6", |
122 | 133 | "ts-node": "^10.9.2", |
123 | 134 | "tslib": "^2.3.0", |
124 | 135 | "uuid": "^9.0.1", |
|
0 commit comments