File tree Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 0.1.0" ,
4
4
"description" : " " ,
5
5
"main" : " index.js" ,
6
- "keywords" : [],
7
- "author" : " " ,
6
+ "keywords" : [
7
+ " lc-form-validation" ,
8
+ " form" ,
9
+ " validation" ,
10
+ " validator"
11
+ ],
12
+ "homepage" : " https://github.com/Lemoncode/lc-validator-fields-match/blob/master/readme.md" ,
13
+ "author" : " lc-form-validation validator for if two fields match" ,
14
+ "contributors" : [
15
+ " Javier Calzado <[email protected] > (https://github.com/fjcalzado)" ,
16
+ " Sara Lissette Luis Ibáñez <[email protected] > (https://github.com/LissetteIbnz)"
17
+ ],
8
18
"license" : " MIT" ,
9
19
"scripts" : {
10
20
"clean" : " rimraf build" ,
Original file line number Diff line number Diff line change 1
1
# lc-validator-fields-match
2
2
3
3
This is a [ lc-form-validation] ( https://github.com/Lemoncode/lcFormValidation ) add-on that brings validation capabilities for:
4
- * Validate if two fields match.
4
+
5
+ - Validate if two fields match.
5
6
6
7
Please, refer to [ lc-form-validation] ( https://github.com/Lemoncode/lcFormValidation ) to know more.
7
8
9
+ ## Examples
10
+
11
+ [ Simple form] ( https://codesandbox.io/s/rmmnk45rqm )
12
+
8
13
## License
14
+
9
15
[ MIT] ( ./LICENSE )
10
16
11
17
# About Basefactor + Lemoncode
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ module.exports = env => {
8
8
const mode = NODE_ENV || 'development' ;
9
9
const prod = mode === 'production' ;
10
10
const packageName = process . env . npm_package_name ;
11
- const packageNameCapital = packageName . split ( '-' ) . map ( capitalizeString ) . join ( '' ) ;
11
+ const packageNameCapital = packageName
12
+ . split ( '-' )
13
+ . map ( capitalizeString )
14
+ . join ( '' ) ;
12
15
const packageVersion = JSON . stringify ( process . env . npm_package_version ) . replace ( / " / g, '' ) ;
13
16
const filename = `${ packageName } -${ packageVersion } ${ prod ? '.min' : '' } .js` ;
14
17
@@ -39,6 +42,6 @@ module.exports = env => {
39
42
} ,
40
43
] ,
41
44
} ,
42
- plugins : prod ? [ new CompressionPlugin ( ) ] : [ ]
45
+ plugins : prod ? [ new CompressionPlugin ( ) ] : [ ] ,
43
46
} ;
44
47
} ;
You can’t perform that action at this time.
0 commit comments