File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,6 @@ node_modules
32
32
# Build files
33
33
dist
34
34
Changelog.md
35
+
36
+ # NPM files
37
+ * lock.json
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ JavaScript implementation of the "accept" attribute for HTML5 `<input type="file
3
3
4
4
[ ![ Build Status] ( https://travis-ci.org/okonet/attr-accept.svg?branch=master )] ( https://travis-ci.org/okonet/attr-accept )
5
5
[ ![ npm version] ( https://badge.fury.io/js/attr-accept.svg )] ( https://badge.fury.io/js/attr-accept )
6
+ [ ![ semantic-release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg )] ( https://github.com/semantic-release/semantic-release )
6
7
7
8
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input#Attributes for more information.
8
9
Original file line number Diff line number Diff line change 11
11
"test:watch" : " npm test -- --watch" ,
12
12
"lint" : " eslint src/ test/" ,
13
13
"precommit" : " lint-staged" ,
14
+ "size" : " size-limit" ,
15
+ "size:why" : " size-limit --why" ,
14
16
"travis-deploy-once" : " travis-deploy-once"
15
17
},
16
18
"repository" : {
23
25
" tag" ,
24
26
" attribute" ,
25
27
" attr" ,
26
- " accpet " ,
28
+ " accept " ,
27
29
" file"
28
30
],
29
31
"author" : " Andrey Okonetchnikov @okonetchnikov" ,
56
58
"lint-staged" : " ^4.1.3" ,
57
59
"mocha" : " ^3.5.0" ,
58
60
"prettier" : " ^1.6.1" ,
61
+ "size-limit" : " ^0.14.0" ,
59
62
"travis-deploy-once" : " ^4.3.4" ,
60
63
"webpack" : " ^3.5.5"
61
64
},
72
75
" eslint --fix" ,
73
76
" git add"
74
77
]
75
- }
78
+ },
79
+ "size-limit" : [
80
+ {
81
+ "path" : " dist/index.js" ,
82
+ "limit" : " 2 KB"
83
+ }
84
+ ]
76
85
}
You can’t perform that action at this time.
0 commit comments