This repository was archived by the owner on Oct 20, 2021. It is now read-only.
File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
.nyc_output /
2
2
coverage /
3
- dist /
3
+ lib /
4
4
node_modules /
5
5
npm-debug.log
6
6
yarn-error.log
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ validator.required().stringType().validate('foo'); //=> true
43
43
Or, import only a subset of the library:
44
44
45
45
``` js
46
- import StringType from ' awesome-validator/dist /rules/string-type' ;
46
+ import StringType from ' awesome-validator/lib /rules/string-type' ;
47
47
48
48
new StringType ().validate (' foo' ); // => true
49
49
```
@@ -59,7 +59,7 @@ validator.required().stringType().validate('foo'); //=> true
59
59
Or, import only a subset of the library:
60
60
61
61
``` ts
62
- import { StringType } from ' awesome-validator/dist /rules/string-type' ;
62
+ import { StringType } from ' awesome-validator/lib /rules/string-type' ;
63
63
64
64
new StringType ().validate (' foo' ); // => true
65
65
```
Original file line number Diff line number Diff line change 12
12
" **/*.yml" ,
13
13
" .nyc_output" ,
14
14
" coverage" ,
15
- " dist " ,
15
+ " lib " ,
16
16
" node_modules" ,
17
17
" src" ,
18
18
" test" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "outDir" : " dist " ,
3
+ "outDir" : " lib " ,
4
4
"target" : " es5" ,
5
5
"emitDecoratorMetadata" : true ,
6
6
"experimentalDecorators" : true ,
14
14
]
15
15
},
16
16
"include" : [
17
- " src/**/*.ts "
17
+ " src"
18
18
],
19
19
"exclude" : [
20
- " dist " ,
20
+ " lib " ,
21
21
" node_modules" ,
22
22
" test"
23
23
],
You can’t perform that action at this time.
0 commit comments