File tree Expand file tree Collapse file tree 3 files changed +18
-27
lines changed Expand file tree Collapse file tree 3 files changed +18
-27
lines changed Original file line number Diff line number Diff line change 6
6
[ ![ Commitizen friendly] ( https://img.shields.io/badge/commitizen-friendly-brightgreen.svg )] ( http://commitizen.github.io/cz-cli/ )
7
7
[ ![ npm version] ( https://badge.fury.io/js/%40jcoreio%2Ftypescript-validators.svg )] ( https://badge.fury.io/js/%40jcoreio%2Ftypescript-validators )
8
8
9
- This is my personal skeleton for creating an typescript library npm package. You are welcome to use it.
9
+ Helps you write validators for TypeScript types, ensuring compile errors if your validator doesn't match the type.
10
+ The validation errors are detailed. Adapted from the brilliant work in ` flow-runtime ` .
10
11
11
- ## Quick start
12
-
13
- ``` sh
14
- npx 0-60 clone https://github.com/jcoreio/typescript-validators.git
15
- ```
16
-
17
- ## Tools used
18
-
19
- - babel 7
20
- - typescript
21
- - mocha
22
- - chai
23
- - istanbul
24
- - nyc
25
- - eslint
26
- - prettier
27
- - husky
28
- - semantic-release
29
- - renovate
30
- - Circle CI
31
- - Codecov.io
12
+ WIP
Original file line number Diff line number Diff line change 72
72
"url" : " https://github.com/jcoreio/typescript-validators.git"
73
73
},
74
74
"keywords" : [
75
- " typescript" ,
76
- " validation" ,
77
- " validator" ,
78
75
" api" ,
79
76
" assertion" ,
80
77
" assert" ,
81
- " validate"
78
+ " defensive-programming" ,
79
+ " json" ,
80
+ " json-schema" ,
81
+ " js-schema" ,
82
+ " object-schema" ,
83
+ " runtime-types" ,
84
+ " schema" ,
85
+ " type" ,
86
+ " types" ,
87
+ " typescript" ,
88
+ " validate" ,
89
+ " validation" ,
90
+ " validation-schema" ,
91
+ " validator"
82
92
],
83
93
"author" : " Andy Edwards" ,
84
94
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ describe(`smoke test`, function() {
369
369
SecretKey : '22222222222222' ,
370
370
} ,
371
371
LiveChat : {
372
- License : '10730772 ' ,
372
+ License : '222222222 ' ,
373
373
} ,
374
374
NotificationsApi : {
375
375
Url : 'https://notifications-api.foo.com' ,
You can’t perform that action at this time.
0 commit comments