esphome-ts 3.4.0-beta.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.
- package/LICENSE +674 -0
- package/README.md +36 -0
- package/dist/api/bytePositions.d.ts +8 -0
- package/dist/api/bytePositions.js +12 -0
- package/dist/api/client.d.ts +21 -0
- package/dist/api/client.js +60 -0
- package/dist/api/espDevice.d.ts +23 -0
- package/dist/api/espDevice.js +76 -0
- package/dist/api/espSocket.d.ts +13 -0
- package/dist/api/espSocket.js +39 -0
- package/dist/api/helpers.d.ts +19 -0
- package/dist/api/helpers.js +116 -0
- package/dist/api/index.d.ts +9 -0
- package/dist/api/index.js +21 -0
- package/dist/api/interfaces.d.ts +4 -0
- package/dist/api/interfaces.js +2 -0
- package/dist/api/protobuf/api.d.ts +922 -0
- package/dist/api/protobuf/api.js +6679 -0
- package/dist/api/protobuf/api_options.d.ts +24 -0
- package/dist/api/protobuf/api_options.js +76 -0
- package/dist/api/protobuf/google_descriptor.d.ts +1022 -0
- package/dist/api/protobuf/google_descriptor.js +3997 -0
- package/dist/api/requestResponseMatching.d.ts +50 -0
- package/dist/api/requestResponseMatching.js +54 -0
- package/dist/api/responses.d.ts +3 -0
- package/dist/api/responses.js +23 -0
- package/dist/api/socket.d.ts +29 -0
- package/dist/api/socket.js +109 -0
- package/dist/api/typeGuards.d.ts +5 -0
- package/dist/api/typeGuards.js +7 -0
- package/dist/components/base.d.ts +23 -0
- package/dist/components/base.js +51 -0
- package/dist/components/binarySensor.d.ts +9 -0
- package/dist/components/binarySensor.js +19 -0
- package/dist/components/binarySensorTypes.d.ts +26 -0
- package/dist/components/binarySensorTypes.js +30 -0
- package/dist/components/commandInterface.d.ts +4 -0
- package/dist/components/commandInterface.js +2 -0
- package/dist/components/entities.d.ts +26 -0
- package/dist/components/entities.js +2 -0
- package/dist/components/fan.d.ts +14 -0
- package/dist/components/fan.js +51 -0
- package/dist/components/helpers.d.ts +1 -0
- package/dist/components/helpers.js +12 -0
- package/dist/components/index.d.ts +12 -0
- package/dist/components/index.js +24 -0
- package/dist/components/interfaces.d.ts +10 -0
- package/dist/components/interfaces.js +2 -0
- package/dist/components/light.d.ts +22 -0
- package/dist/components/light.js +159 -0
- package/dist/components/sensor.d.ts +10 -0
- package/dist/components/sensor.js +23 -0
- package/dist/components/states.d.ts +25 -0
- package/dist/components/states.js +2 -0
- package/dist/components/switch.d.ts +9 -0
- package/dist/components/switch.js +28 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +14 -0
- package/dist/run.d.ts +1 -0
- package/dist/run.js +16 -0
- package/package.json +62 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentType, LightEntity } from './entities';
|
|
2
|
+
import { LightStateEvent } from './states';
|
|
3
|
+
import { BaseComponent } from './base';
|
|
4
|
+
import { Hsv, Rgb } from './interfaces';
|
|
5
|
+
export declare const DEFAULT_NO_EFFECT = "None";
|
|
6
|
+
export declare class LightComponent extends BaseComponent<LightEntity, LightStateEvent> {
|
|
7
|
+
turnOn(): void;
|
|
8
|
+
turnOff(): void;
|
|
9
|
+
getBrightness(): number | undefined;
|
|
10
|
+
setBrightness(brightness: number): void;
|
|
11
|
+
get hsv(): Hsv;
|
|
12
|
+
set hsv(hsv: Hsv);
|
|
13
|
+
get rgb(): Rgb;
|
|
14
|
+
set rgb({ red, green, blue }: Rgb);
|
|
15
|
+
get type(): ComponentType;
|
|
16
|
+
get supportsRgb(): boolean;
|
|
17
|
+
get supportsBrightness(): boolean;
|
|
18
|
+
availableEffects(): string[];
|
|
19
|
+
get effect(): string;
|
|
20
|
+
set effect(effect: string);
|
|
21
|
+
private generateState;
|
|
22
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LightComponent = exports.DEFAULT_NO_EFFECT = void 0;
|
|
4
|
+
const helpers_1 = require("./helpers");
|
|
5
|
+
const base_1 = require("./base");
|
|
6
|
+
const color_convert_1 = require("color-convert");
|
|
7
|
+
const api_1 = require("../api/protobuf/api");
|
|
8
|
+
const api_2 = require("../api");
|
|
9
|
+
exports.DEFAULT_NO_EFFECT = 'None';
|
|
10
|
+
class LightComponent extends base_1.BaseComponent {
|
|
11
|
+
turnOn() {
|
|
12
|
+
this.queueCommand(api_2.MessageTypes.LightCommandRequest, () => api_1.LightCommandRequest.encode(this.generateState(1)).finish());
|
|
13
|
+
}
|
|
14
|
+
turnOff() {
|
|
15
|
+
this.queueCommand(api_2.MessageTypes.LightCommandRequest, () => api_1.LightCommandRequest.encode(this.generateState(0, false)).finish());
|
|
16
|
+
}
|
|
17
|
+
getBrightness() {
|
|
18
|
+
const state = this.state.getValue();
|
|
19
|
+
if ((state === null || state === void 0 ? void 0 : state.brightness) === undefined || !this.listEntity.supportsBrightness) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
else if (this.listEntity.supportsRgb) {
|
|
23
|
+
return this.hsv.value;
|
|
24
|
+
}
|
|
25
|
+
else if (this.listEntity.supportsBrightness) {
|
|
26
|
+
return (0, helpers_1.convertNumbers)(state.brightness, 100, true);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
setBrightness(brightness) {
|
|
30
|
+
if (this.listEntity.supportsRgb) {
|
|
31
|
+
const { hue, saturation } = this.hsv;
|
|
32
|
+
this.hsv = {
|
|
33
|
+
hue,
|
|
34
|
+
saturation,
|
|
35
|
+
value: brightness,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
else if (this.listEntity.supportsBrightness) {
|
|
39
|
+
const bright = (0, helpers_1.convertNumbers)(brightness, 100, false);
|
|
40
|
+
const state = this.generateState(1);
|
|
41
|
+
state.brightness = bright;
|
|
42
|
+
this.queueCommand(api_2.MessageTypes.LightCommandRequest, () => api_1.LightCommandRequest.encode(state).finish());
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
get hsv() {
|
|
46
|
+
var _a, _b, _c, _d;
|
|
47
|
+
const state = this.state.getValue();
|
|
48
|
+
if (!state || !this.supportsRgb) {
|
|
49
|
+
return {
|
|
50
|
+
hue: 0,
|
|
51
|
+
saturation: 0,
|
|
52
|
+
value: 0,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
const [hue, saturation] = color_convert_1.rgb.hsv([(_a = state.red) !== null && _a !== void 0 ? _a : 0, (_b = state.green) !== null && _b !== void 0 ? _b : 0, (_c = state.blue) !== null && _c !== void 0 ? _c : 0]);
|
|
56
|
+
return {
|
|
57
|
+
hue,
|
|
58
|
+
saturation,
|
|
59
|
+
value: ((_d = state.brightness) !== null && _d !== void 0 ? _d : 0) * 100,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
set hsv(hsv) {
|
|
63
|
+
if (!this.listEntity.supportsRgb) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const [red, green, blue] = color_convert_1.hsv.rgb([hsv.hue, hsv.saturation, 100]);
|
|
67
|
+
const newState = {
|
|
68
|
+
red: (0, helpers_1.convertNumbers)(red, 255, false),
|
|
69
|
+
green: (0, helpers_1.convertNumbers)(green, 255, false),
|
|
70
|
+
blue: (0, helpers_1.convertNumbers)(blue, 255, false),
|
|
71
|
+
brightness: (0, helpers_1.convertNumbers)(hsv.value, 100, false),
|
|
72
|
+
};
|
|
73
|
+
this.queueCommand(api_2.MessageTypes.LightCommandRequest, () => api_1.LightCommandRequest.encode(Object.assign(this.generateState(1), newState)).finish());
|
|
74
|
+
}
|
|
75
|
+
get rgb() {
|
|
76
|
+
if (!this.listEntity.supportsRgb) {
|
|
77
|
+
return {
|
|
78
|
+
red: 0,
|
|
79
|
+
green: 0,
|
|
80
|
+
blue: 0,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
const { hue, saturation, value } = this.hsv;
|
|
84
|
+
const [red, green, blue] = color_convert_1.hsv.rgb([hue, saturation, value]);
|
|
85
|
+
return {
|
|
86
|
+
red,
|
|
87
|
+
green,
|
|
88
|
+
blue,
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
set rgb({ red, green, blue }) {
|
|
92
|
+
if (!this.listEntity.supportsRgb) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const [hue, saturation, value] = color_convert_1.rgb.hsv([red, green, blue]);
|
|
96
|
+
this.hsv = {
|
|
97
|
+
hue,
|
|
98
|
+
saturation,
|
|
99
|
+
value,
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
get type() {
|
|
103
|
+
return 'light';
|
|
104
|
+
}
|
|
105
|
+
get supportsRgb() {
|
|
106
|
+
return this.listEntity.supportsRgb;
|
|
107
|
+
}
|
|
108
|
+
get supportsBrightness() {
|
|
109
|
+
return this.listEntity.supportsBrightness;
|
|
110
|
+
}
|
|
111
|
+
availableEffects() {
|
|
112
|
+
var _a;
|
|
113
|
+
return (_a = this.listEntity.effects) !== null && _a !== void 0 ? _a : [];
|
|
114
|
+
}
|
|
115
|
+
get effect() {
|
|
116
|
+
var _a;
|
|
117
|
+
const state = this.state.getValue();
|
|
118
|
+
return (_a = state === null || state === void 0 ? void 0 : state.effect) !== null && _a !== void 0 ? _a : exports.DEFAULT_NO_EFFECT;
|
|
119
|
+
}
|
|
120
|
+
set effect(effect) {
|
|
121
|
+
var _a;
|
|
122
|
+
const effects = (_a = this.listEntity.effects) !== null && _a !== void 0 ? _a : [];
|
|
123
|
+
if (effects.includes(effect)) {
|
|
124
|
+
this.queueCommand(api_2.MessageTypes.LightCommandRequest, () => {
|
|
125
|
+
const command = this.generateState(1, true);
|
|
126
|
+
command.effect = effect;
|
|
127
|
+
command.hasRgb = false;
|
|
128
|
+
command.hasEffect = true;
|
|
129
|
+
return api_1.LightCommandRequest.encode(command).finish();
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
generateState(num, turnOn = true) {
|
|
134
|
+
var _a, _b, _c, _d;
|
|
135
|
+
const state = this.state.getValue();
|
|
136
|
+
return {
|
|
137
|
+
blue: (_a = state === null || state === void 0 ? void 0 : state.blue) !== null && _a !== void 0 ? _a : num,
|
|
138
|
+
brightness: (_b = state === null || state === void 0 ? void 0 : state.brightness) !== null && _b !== void 0 ? _b : num,
|
|
139
|
+
colorTemperature: 0,
|
|
140
|
+
effect: '',
|
|
141
|
+
flashLength: 0,
|
|
142
|
+
green: (_c = state === null || state === void 0 ? void 0 : state.green) !== null && _c !== void 0 ? _c : num,
|
|
143
|
+
hasBrightness: this.listEntity.supportsBrightness,
|
|
144
|
+
hasColorTemperature: false,
|
|
145
|
+
hasEffect: false,
|
|
146
|
+
hasFlashLength: false,
|
|
147
|
+
hasRgb: this.listEntity.supportsRgb,
|
|
148
|
+
hasState: true,
|
|
149
|
+
hasTransitionLength: false,
|
|
150
|
+
hasWhite: false,
|
|
151
|
+
red: (_d = state === null || state === void 0 ? void 0 : state.red) !== null && _d !== void 0 ? _d : num,
|
|
152
|
+
transitionLength: 1,
|
|
153
|
+
white: 0,
|
|
154
|
+
key: this.key,
|
|
155
|
+
state: turnOn,
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.LightComponent = LightComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseComponent } from './base';
|
|
2
|
+
import { ComponentType, SensorEntity } from './entities';
|
|
3
|
+
import { SensorStateEvent } from './states';
|
|
4
|
+
export declare class SensorComponent extends BaseComponent<SensorEntity, SensorStateEvent> {
|
|
5
|
+
get value(): number | undefined;
|
|
6
|
+
get type(): ComponentType;
|
|
7
|
+
get deviceClass(): string | undefined;
|
|
8
|
+
get unitOfMeasurement(): string;
|
|
9
|
+
get icon(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SensorComponent = void 0;
|
|
4
|
+
const base_1 = require("./base");
|
|
5
|
+
class SensorComponent extends base_1.BaseComponent {
|
|
6
|
+
get value() {
|
|
7
|
+
const state = this.state.getValue();
|
|
8
|
+
return state === null || state === void 0 ? void 0 : state.state;
|
|
9
|
+
}
|
|
10
|
+
get type() {
|
|
11
|
+
return 'sensor';
|
|
12
|
+
}
|
|
13
|
+
get deviceClass() {
|
|
14
|
+
return this.listEntity.deviceClass;
|
|
15
|
+
}
|
|
16
|
+
get unitOfMeasurement() {
|
|
17
|
+
return this.listEntity.unitOfMeasurement;
|
|
18
|
+
}
|
|
19
|
+
get icon() {
|
|
20
|
+
return this.listEntity.icon;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.SensorComponent = SensorComponent;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FanDirection, FanSpeed } from '../api/protobuf/api';
|
|
2
|
+
export interface StateEvent {
|
|
3
|
+
key: number;
|
|
4
|
+
}
|
|
5
|
+
export interface SensorStateEvent extends StateEvent {
|
|
6
|
+
state?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface BinarySensorStateEvent extends StateEvent {
|
|
9
|
+
state?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare type SwitchStateEvent = BinarySensorStateEvent;
|
|
12
|
+
export interface LightStateEvent extends StateEvent {
|
|
13
|
+
state?: boolean;
|
|
14
|
+
brightness?: number;
|
|
15
|
+
red?: number;
|
|
16
|
+
green?: number;
|
|
17
|
+
blue?: number;
|
|
18
|
+
effect?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface FanStateEvent extends StateEvent {
|
|
21
|
+
state?: boolean;
|
|
22
|
+
oscillating?: boolean;
|
|
23
|
+
speed?: FanSpeed;
|
|
24
|
+
direction?: FanDirection;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseComponent } from './base';
|
|
2
|
+
import { ComponentType, ListEntity } from './entities';
|
|
3
|
+
import { SwitchStateEvent } from './states';
|
|
4
|
+
export declare class SwitchComponent extends BaseComponent<ListEntity, SwitchStateEvent> {
|
|
5
|
+
get status(): boolean;
|
|
6
|
+
turnOn(): void;
|
|
7
|
+
turnOff(): void;
|
|
8
|
+
get type(): ComponentType;
|
|
9
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SwitchComponent = void 0;
|
|
4
|
+
const base_1 = require("./base");
|
|
5
|
+
const api_1 = require("../api");
|
|
6
|
+
const api_2 = require("../api/protobuf/api");
|
|
7
|
+
class SwitchComponent extends base_1.BaseComponent {
|
|
8
|
+
get status() {
|
|
9
|
+
const state = this.state.getValue();
|
|
10
|
+
return !!(state === null || state === void 0 ? void 0 : state.state);
|
|
11
|
+
}
|
|
12
|
+
turnOn() {
|
|
13
|
+
this.queueCommand(api_1.MessageTypes.SwitchCommandRequest, () => api_2.SwitchCommandRequest.encode({
|
|
14
|
+
state: true,
|
|
15
|
+
key: this.key,
|
|
16
|
+
}).finish(), true);
|
|
17
|
+
}
|
|
18
|
+
turnOff() {
|
|
19
|
+
this.queueCommand(api_1.MessageTypes.SwitchCommandRequest, () => api_2.SwitchCommandRequest.encode({
|
|
20
|
+
state: false,
|
|
21
|
+
key: this.key,
|
|
22
|
+
}).finish(), true);
|
|
23
|
+
}
|
|
24
|
+
get type() {
|
|
25
|
+
return 'switch';
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.SwitchComponent = SwitchComponent;
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./api"), exports);
|
|
14
|
+
__exportStar(require("./components"), exports);
|
package/dist/run.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/run.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const operators_1 = require("rxjs/operators");
|
|
4
|
+
const api_1 = require("./api");
|
|
5
|
+
const device = new api_1.EspDevice('172.16.0.112');
|
|
6
|
+
device.discovery$
|
|
7
|
+
.pipe((0, operators_1.filter)(api_1.isTrue), (0, operators_1.take)(1), (0, operators_1.tap)(() => {
|
|
8
|
+
const livingRoomDehumidifier = device.components['living_room_dehumidifier'];
|
|
9
|
+
console.log(livingRoomDehumidifier === null || livingRoomDehumidifier === void 0 ? void 0 : livingRoomDehumidifier.name);
|
|
10
|
+
if (livingRoomDehumidifier && (0, api_1.isSwitchComponent)(livingRoomDehumidifier)) {
|
|
11
|
+
livingRoomDehumidifier.state$.pipe((0, operators_1.tap)(console.log)).subscribe();
|
|
12
|
+
livingRoomDehumidifier.turnOff();
|
|
13
|
+
}
|
|
14
|
+
}))
|
|
15
|
+
.subscribe();
|
|
16
|
+
device.alive$.pipe((0, operators_1.tap)((val) => console.log('alive', val))).subscribe();
|
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "esphome-ts",
|
|
3
|
+
"version": "3.4.0-beta.0",
|
|
4
|
+
"description": "A TypeScript client for the Esphome Native API interface",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"repository": "https://github.com/lucavb/esphome-ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/*"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "npx tsc",
|
|
13
|
+
"cbuild": "npm run clean && npm run build",
|
|
14
|
+
"clean": "rm -rf dist",
|
|
15
|
+
"format": "npx eslint --fix src/**/*.ts test/**/*.ts",
|
|
16
|
+
"lint": "npm run lint:commitlint && npm run lint:prettier",
|
|
17
|
+
"lint:commitlint": "commitlint -f origin/master",
|
|
18
|
+
"lint:prettier": "prettier \"**/*\" --check --ignore-unknown",
|
|
19
|
+
"lint:prettier:fix": "prettier \"**/*\" --write --ignore-unknown",
|
|
20
|
+
"prepack": "npm run format && npm run cbuild",
|
|
21
|
+
"semantic-release": "semantic-release",
|
|
22
|
+
"start": "ts-node-dev --project tsconfig.json src/run.ts",
|
|
23
|
+
"test": "npx jest --config jest.config.json"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"esphome",
|
|
27
|
+
"typescript"
|
|
28
|
+
],
|
|
29
|
+
"author": "Luca Becker <luca.becker@sunbury.xyz> (https://sunbury.xyz/)",
|
|
30
|
+
"license": "GPL-3.0",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"color-convert": "2.0.1",
|
|
33
|
+
"protobufjs": "6.11.2",
|
|
34
|
+
"rxjs": "7.4.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@commitlint/cli": "13.2.1",
|
|
38
|
+
"@commitlint/config-conventional": "13.2.0",
|
|
39
|
+
"@semantic-release/changelog": "5.0.1",
|
|
40
|
+
"@semantic-release/git": "9.0.1",
|
|
41
|
+
"@types/color-convert": "2.0.0",
|
|
42
|
+
"@types/jest": "27.0.2",
|
|
43
|
+
"@types/node": "16.10.3",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
45
|
+
"@typescript-eslint/parser": "4.33.0",
|
|
46
|
+
"eslint": "7.32.0",
|
|
47
|
+
"eslint-config-google": "0.14.0",
|
|
48
|
+
"eslint-config-prettier": "8.3.0",
|
|
49
|
+
"eslint-plugin-import": "2.24.2",
|
|
50
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
51
|
+
"eslint-plugin-unused-imports": "1.1.5",
|
|
52
|
+
"jest": "27.2.5",
|
|
53
|
+
"jest-junit": "13.0.0",
|
|
54
|
+
"prettier": "2.4.1",
|
|
55
|
+
"prettier-eslint": "13.0.0",
|
|
56
|
+
"semantic-release": "18.0.0",
|
|
57
|
+
"ts-jest": "27.0.5",
|
|
58
|
+
"ts-node-dev": "1.1.8",
|
|
59
|
+
"ts-proto": "1.83.1",
|
|
60
|
+
"typescript": "4.4.3"
|
|
61
|
+
}
|
|
62
|
+
}
|