@common-stack/core 0.2.14 → 0.2.21
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/lib/constants/index.js +18 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/types.d.ts +10 -10
- package/lib/constants/types.js +26 -0
- package/lib/constants/types.js.map +1 -0
- package/lib/field-error.js +27 -0
- package/lib/field-error.js.map +1 -0
- package/lib/index.js +5 -194
- package/lib/index.js.map +1 -1
- package/lib/interfaces/common-settings.js +3 -0
- package/lib/interfaces/common-settings.js.map +1 -0
- package/lib/interfaces/index.js +18 -0
- package/lib/interfaces/index.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
package/lib/constants/types.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
LOGGER
|
|
3
|
-
ENVIRONMENT
|
|
4
|
-
HEMERA
|
|
5
|
-
MOLECULER_BROKER
|
|
6
|
-
PUBSUB
|
|
7
|
-
}
|
|
8
|
-
export declare
|
|
9
|
-
MICROSERVICE
|
|
10
|
-
}
|
|
1
|
+
export declare const CommonType: {
|
|
2
|
+
LOGGER: string;
|
|
3
|
+
ENVIRONMENT: string;
|
|
4
|
+
HEMERA: string;
|
|
5
|
+
MOLECULER_BROKER: string;
|
|
6
|
+
PUBSUB: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const TaggedType: {
|
|
9
|
+
MICROSERVICE: string;
|
|
10
|
+
};
|
|
11
11
|
export declare const ClientTypes: {
|
|
12
12
|
Logger: symbol;
|
|
13
13
|
ApolloClient: symbol;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ElectronTypes = exports.ClientTypes = exports.TaggedType = exports.CommonType = void 0;
|
|
4
|
+
exports.CommonType = {
|
|
5
|
+
LOGGER: 'LOGGER',
|
|
6
|
+
ENVIRONMENT: 'ENVIRONMENT',
|
|
7
|
+
HEMERA: 'HEMERA',
|
|
8
|
+
MOLECULER_BROKER: 'MOLECULER_BROKER',
|
|
9
|
+
PUBSUB: 'PUBSUB',
|
|
10
|
+
};
|
|
11
|
+
exports.TaggedType = {
|
|
12
|
+
MICROSERVICE: 'MICROSERVICE',
|
|
13
|
+
};
|
|
14
|
+
exports.ClientTypes = {
|
|
15
|
+
// common types
|
|
16
|
+
Logger: Symbol.for('Logger'),
|
|
17
|
+
ApolloClient: Symbol.for('ApolloClient'),
|
|
18
|
+
InMemoryCache: Symbol.for('InMemoryCache'),
|
|
19
|
+
UtilityClass: Symbol.for('UtilityClass'),
|
|
20
|
+
};
|
|
21
|
+
exports.ElectronTypes = {
|
|
22
|
+
MainWindow: Symbol.for('MainWindow'),
|
|
23
|
+
AboutWindow: Symbol.for('AboutWindow'),
|
|
24
|
+
TrayWindow: Symbol.for('TrayWindow'),
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/constants/types.ts"],"names":[],"mappings":";;;AACa,QAAA,UAAU,GAAG;IACtB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,QAAQ;IAChB,gBAAgB,EAAE,kBAAkB;IACpC,MAAM,EAAE,QAAQ;CACnB,CAAA;AAEY,QAAA,UAAU,GAAG;IACtB,YAAY,EAAE,cAAc;CAC/B,CAAA;AAEY,QAAA,WAAW,GAAG;IACvB,eAAe;IACf,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC;IACxC,aAAa,EAAE,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC;CAC3C,CAAC;AAEW,QAAA,aAAa,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;IACpC,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;CACvC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FieldError = void 0;
|
|
4
|
+
class FieldError {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.errors = {};
|
|
7
|
+
}
|
|
8
|
+
hasAny() {
|
|
9
|
+
return !!Object.keys(this.errors).length;
|
|
10
|
+
}
|
|
11
|
+
setError(field, message) {
|
|
12
|
+
this.errors[field] = message;
|
|
13
|
+
}
|
|
14
|
+
getErrors() {
|
|
15
|
+
return Object.keys(this.errors).map(field => ({
|
|
16
|
+
field,
|
|
17
|
+
message: this.errors[field],
|
|
18
|
+
}));
|
|
19
|
+
}
|
|
20
|
+
throwIf() {
|
|
21
|
+
if (this.hasAny()) {
|
|
22
|
+
throw this.getErrors();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.FieldError = FieldError;
|
|
27
|
+
//# sourceMappingURL=field-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-error.js","sourceRoot":"","sources":["../src/field-error.ts"],"names":[],"mappings":";;;AAAA,MAAa,UAAU;IAGnB;QACI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACrB,CAAC;IAEM,MAAM;QACT,OAAO,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC;IAC7C,CAAC;IAEM,QAAQ,CAAC,KAAK,EAAE,OAAO;QAC1B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;IACjC,CAAC;IAEM,SAAS;QACZ,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC1C,KAAK;YACL,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;SAC9B,CAAC,CAAC,CAAC;IACR,CAAC;IAEM,OAAO;QACV,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE;YACf,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;SAC1B;IACL,CAAC;CACJ;AA3BD,gCA2BC"}
|
package/lib/index.js
CHANGED
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/******/ "use strict";
|
|
3
|
-
/******/ var __webpack_modules__ = ({
|
|
4
|
-
|
|
5
|
-
/***/ "./src/constants/index.ts":
|
|
6
|
-
/*!********************************!*\
|
|
7
|
-
!*** ./src/constants/index.ts ***!
|
|
8
|
-
\********************************/
|
|
9
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
"use strict";
|
|
12
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
3
|
if (k2 === undefined) k2 = k;
|
|
14
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -23,187 +13,8 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
23
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
24
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
25
15
|
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule",
|
|
27
|
-
__exportStar(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/***/ }),
|
|
31
|
-
|
|
32
|
-
/***/ "./src/constants/types.ts":
|
|
33
|
-
/*!********************************!*\
|
|
34
|
-
!*** ./src/constants/types.ts ***!
|
|
35
|
-
\********************************/
|
|
36
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40
|
-
exports.ElectronTypes = exports.ClientTypes = exports.TaggedType = exports.CommonType = void 0;
|
|
41
|
-
var CommonType;
|
|
42
|
-
(function (CommonType) {
|
|
43
|
-
CommonType["LOGGER"] = "LOGGER";
|
|
44
|
-
CommonType["ENVIRONMENT"] = "ENVIRONMENT";
|
|
45
|
-
CommonType["HEMERA"] = "HEMERA";
|
|
46
|
-
CommonType["MOLECULER_BROKER"] = "MOLECULER_BROKER";
|
|
47
|
-
CommonType["PUBSUB"] = "PUBSUB";
|
|
48
|
-
})(CommonType = exports.CommonType || (exports.CommonType = {}));
|
|
49
|
-
var TaggedType;
|
|
50
|
-
(function (TaggedType) {
|
|
51
|
-
TaggedType["MICROSERVICE"] = "MICROSERVICE";
|
|
52
|
-
})(TaggedType = exports.TaggedType || (exports.TaggedType = {}));
|
|
53
|
-
exports.ClientTypes = {
|
|
54
|
-
// common types
|
|
55
|
-
Logger: Symbol.for('Logger'),
|
|
56
|
-
ApolloClient: Symbol.for('ApolloClient'),
|
|
57
|
-
InMemoryCache: Symbol.for('InMemoryCache'),
|
|
58
|
-
UtilityClass: Symbol.for('UtilityClass'),
|
|
59
|
-
};
|
|
60
|
-
exports.ElectronTypes = {
|
|
61
|
-
MainWindow: Symbol.for('MainWindow'),
|
|
62
|
-
AboutWindow: Symbol.for('AboutWindow'),
|
|
63
|
-
TrayWindow: Symbol.for('TrayWindow'),
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
/***/ }),
|
|
68
|
-
|
|
69
|
-
/***/ "./src/field-error.ts":
|
|
70
|
-
/*!****************************!*\
|
|
71
|
-
!*** ./src/field-error.ts ***!
|
|
72
|
-
\****************************/
|
|
73
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
77
|
-
exports.FieldError = void 0;
|
|
78
|
-
class FieldError {
|
|
79
|
-
constructor() {
|
|
80
|
-
this.errors = {};
|
|
81
|
-
}
|
|
82
|
-
hasAny() {
|
|
83
|
-
return !!Object.keys(this.errors).length;
|
|
84
|
-
}
|
|
85
|
-
setError(field, message) {
|
|
86
|
-
this.errors[field] = message;
|
|
87
|
-
}
|
|
88
|
-
getErrors() {
|
|
89
|
-
return Object.keys(this.errors).map(field => ({
|
|
90
|
-
field,
|
|
91
|
-
message: this.errors[field],
|
|
92
|
-
}));
|
|
93
|
-
}
|
|
94
|
-
throwIf() {
|
|
95
|
-
if (this.hasAny()) {
|
|
96
|
-
throw this.getErrors();
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
exports.FieldError = FieldError;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
/***/ }),
|
|
104
|
-
|
|
105
|
-
/***/ "./src/index.ts":
|
|
106
|
-
/*!**********************!*\
|
|
107
|
-
!*** ./src/index.ts ***!
|
|
108
|
-
\**********************/
|
|
109
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
113
|
-
if (k2 === undefined) k2 = k;
|
|
114
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
115
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
116
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
117
|
-
}
|
|
118
|
-
Object.defineProperty(o, k2, desc);
|
|
119
|
-
}) : (function(o, m, k, k2) {
|
|
120
|
-
if (k2 === undefined) k2 = k;
|
|
121
|
-
o[k2] = m[k];
|
|
122
|
-
}));
|
|
123
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
124
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
125
|
-
};
|
|
126
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
127
|
-
__exportStar(__webpack_require__(/*! ./field-error */ "./src/field-error.ts"), exports);
|
|
128
|
-
__exportStar(__webpack_require__(/*! ./interfaces */ "./src/interfaces/index.ts"), exports);
|
|
129
|
-
__exportStar(__webpack_require__(/*! ./constants */ "./src/constants/index.ts"), exports);
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
/***/ }),
|
|
133
|
-
|
|
134
|
-
/***/ "./src/interfaces/common-settings.ts":
|
|
135
|
-
/*!*******************************************!*\
|
|
136
|
-
!*** ./src/interfaces/common-settings.ts ***!
|
|
137
|
-
\*******************************************/
|
|
138
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
/***/ }),
|
|
145
|
-
|
|
146
|
-
/***/ "./src/interfaces/index.ts":
|
|
147
|
-
/*!*********************************!*\
|
|
148
|
-
!*** ./src/interfaces/index.ts ***!
|
|
149
|
-
\*********************************/
|
|
150
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
154
|
-
if (k2 === undefined) k2 = k;
|
|
155
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
156
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
157
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
158
|
-
}
|
|
159
|
-
Object.defineProperty(o, k2, desc);
|
|
160
|
-
}) : (function(o, m, k, k2) {
|
|
161
|
-
if (k2 === undefined) k2 = k;
|
|
162
|
-
o[k2] = m[k];
|
|
163
|
-
}));
|
|
164
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
165
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
166
|
-
};
|
|
167
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
168
|
-
__exportStar(__webpack_require__(/*! ./common-settings */ "./src/interfaces/common-settings.ts"), exports);
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
/***/ })
|
|
172
|
-
|
|
173
|
-
/******/ });
|
|
174
|
-
/************************************************************************/
|
|
175
|
-
/******/ // The module cache
|
|
176
|
-
/******/ var __webpack_module_cache__ = {};
|
|
177
|
-
/******/
|
|
178
|
-
/******/ // The require function
|
|
179
|
-
/******/ function __webpack_require__(moduleId) {
|
|
180
|
-
/******/ // Check if module is in cache
|
|
181
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
182
|
-
/******/ if (cachedModule !== undefined) {
|
|
183
|
-
/******/ return cachedModule.exports;
|
|
184
|
-
/******/ }
|
|
185
|
-
/******/ // Create a new module (and put it into the cache)
|
|
186
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
187
|
-
/******/ // no module.id needed
|
|
188
|
-
/******/ // no module.loaded needed
|
|
189
|
-
/******/ exports: {}
|
|
190
|
-
/******/ };
|
|
191
|
-
/******/
|
|
192
|
-
/******/ // Execute the module function
|
|
193
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
194
|
-
/******/
|
|
195
|
-
/******/ // Return the exports of the module
|
|
196
|
-
/******/ return module.exports;
|
|
197
|
-
/******/ }
|
|
198
|
-
/******/
|
|
199
|
-
/************************************************************************/
|
|
200
|
-
/******/
|
|
201
|
-
/******/ // startup
|
|
202
|
-
/******/ // Load entry module and return exports
|
|
203
|
-
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
204
|
-
/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
|
|
205
|
-
/******/ module.exports["@common-stack/core"] = __webpack_exports__;
|
|
206
|
-
/******/
|
|
207
|
-
/******/ })()
|
|
208
|
-
;
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./field-error"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
19
|
+
__exportStar(require("./constants"), exports);
|
|
209
20
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B;AAC7B,8CAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common-settings.js","sourceRoot":"","sources":["../../src/interfaces/common-settings.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./common-settings"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.21",
|
|
4
4
|
"description": "Common core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "yarn build:clean && yarn build:lib",
|
|
11
11
|
"build:clean": "rimraf lib",
|
|
12
|
-
"build:lib": "
|
|
12
|
+
"build:lib": "tsc",
|
|
13
13
|
"build:lib:watch": "yarn build:lib -- --watch",
|
|
14
14
|
"jest": "./node_modules/.bin/jest",
|
|
15
15
|
"prepublish": "yarn build",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"typescript": {
|
|
25
25
|
"definition": "lib/index.d.ts"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "8679b63df0deb8177c7f6ecc479fdd58444dd681"
|
|
28
28
|
}
|