File tree Expand file tree Collapse file tree 3 files changed +37
-41
lines changed Expand file tree Collapse file tree 3 files changed +37
-41
lines changed Original file line number Diff line number Diff line change 2
2
[ ![ npm Downloads] ( https://badgen.net/npm/dt/@coders-tm/vue-number-format?color=green )] ( https://www.npmjs.com/package/@coders-tm/vue-number-format )
3
3
[ ![ Bundlephobia] ( https://badgen.net/bundlephobia/minzip/@coders-tm/vue-number-format?color=green )] ( https://bundlephobia.com/result?p=@coders-tm/vue-number-format )
4
4
[ ![ License] ( https://badgen.net/github/license/coders-tm/vue-number-format?color=green )] ( https://github.com/coders-tm/vue-number-format/blob/master/LICENSE )
5
- [ ![ Netlify Status] ( https://api.netlify.com/api/v1/badges/71cebdfd-05e6-4465-873f-a37c7500c6d4/deploy-status )] ( https://vue-number-format.netlify.app )
6
5
# vue-number-format
7
6
Vue Number Format is used to format a number using fixed-point notation. It can be used to format a number with a specific number of digits to the right of the decimal.
8
7
## Features
Original file line number Diff line number Diff line change 66
66
"homepage" : " https://vue-number-format.netlify.app" ,
67
67
"keywords" : [
68
68
" vue" ,
69
- " input" ,
70
- " mask" ,
71
- " directive" ,
72
- " currency" ,
73
- " money" ,
74
- " vue" ,
75
- " directive component" ,
76
- " vue mask" ,
77
- " vue number input" ,
78
- " vue money input" ,
79
- " vue currecny input" ,
80
- " vue percentage input"
69
+ " currency directive" ,
70
+ " percentage input" ,
71
+ " v-money" ,
72
+ " v-currency" ,
73
+ " v-percentage" ,
74
+ " input mask" ,
75
+ " number format" ,
76
+ " currency input" ,
77
+ " money input"
81
78
],
82
79
"license" : " MIT" ,
83
80
"repository" : {
Original file line number Diff line number Diff line change @@ -19,25 +19,25 @@ const baseConfig = {
19
19
plugins : {
20
20
preVue : [
21
21
replace ( {
22
- 'process.env.NODE_ENV' : JSON . stringify ( 'production' ) ,
22
+ 'process.env.NODE_ENV' : JSON . stringify ( 'production' )
23
23
} ) ,
24
- commonjs ( ) ,
24
+ commonjs ( )
25
25
] ,
26
26
vue : {
27
27
css : true ,
28
28
template : {
29
- isProduction : true ,
30
- } ,
29
+ isProduction : true
30
+ }
31
31
} ,
32
32
postVue : [
33
33
buble ( {
34
34
transforms : {
35
- dangerousForOf : true ,
36
- } ,
35
+ dangerousForOf : true
36
+ }
37
37
} ) ,
38
- filesize ( ) ,
39
- ] ,
40
- } ,
38
+ filesize ( )
39
+ ]
40
+ }
41
41
} ;
42
42
43
43
export default [
@@ -48,25 +48,25 @@ export default [
48
48
format : 'esm' ,
49
49
exports : 'named' ,
50
50
sourcemap : true ,
51
- banner,
51
+ banner
52
52
} ,
53
53
plugins : [
54
54
...baseConfig . plugins . preVue ,
55
55
css ( {
56
- output : pkg . style ,
56
+ output : pkg . style
57
57
} ) ,
58
58
vue ( {
59
59
...baseConfig . plugins . vue ,
60
- css : false ,
60
+ css : false
61
61
} ) ,
62
62
...baseConfig . plugins . postVue ,
63
63
terser ( {
64
64
output : {
65
- ecma : 6 ,
66
- } ,
65
+ ecma : 6
66
+ }
67
67
} ) ,
68
- resolve ( ) ,
69
- ] ,
68
+ resolve ( )
69
+ ]
70
70
} ,
71
71
{
72
72
...baseConfig ,
@@ -77,24 +77,24 @@ export default [
77
77
name : 'VueNumberFormat' ,
78
78
exports : 'named' ,
79
79
sourcemap : true ,
80
- banner,
80
+ banner
81
81
} ,
82
82
plugins : [
83
83
...baseConfig . plugins . preVue ,
84
84
css ( {
85
- output : pkg . style ,
85
+ output : pkg . style
86
86
} ) ,
87
87
vue ( {
88
88
...baseConfig . plugins . vue ,
89
89
template : {
90
90
...baseConfig . plugins . vue . template ,
91
- optimizeSSR : true ,
91
+ optimizeSSR : true
92
92
} ,
93
- css : false ,
93
+ css : false
94
94
} ) ,
95
95
...baseConfig . plugins . postVue ,
96
- resolve ( ) ,
97
- ] ,
96
+ resolve ( )
97
+ ]
98
98
} ,
99
99
{
100
100
...baseConfig ,
@@ -105,18 +105,18 @@ export default [
105
105
name : 'VueNumberFormat' ,
106
106
exports : 'named' ,
107
107
sourcemap : true ,
108
- banner,
108
+ banner
109
109
} ,
110
110
plugins : [
111
111
...baseConfig . plugins . preVue ,
112
112
vue ( baseConfig . plugins . vue ) ,
113
113
...baseConfig . plugins . postVue ,
114
114
terser ( {
115
115
output : {
116
- ecma : 5 ,
117
- } ,
116
+ ecma : 5
117
+ }
118
118
} ) ,
119
- resolve ( ) ,
120
- ] ,
121
- } ,
119
+ resolve ( )
120
+ ]
121
+ }
122
122
] ;
You can’t perform that action at this time.
0 commit comments