File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
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 10
10
"test" : " mocha --compilers js:babel-core/register --recursive" ,
11
11
"test:watch" : " npm test -- --watch" ,
12
12
"lint" : " eslint src/ test/" ,
13
- "precommit" : " lint-staged"
13
+ "precommit" : " lint-staged" ,
14
+ "size" : " size-limit" ,
15
+ "size:why" : " size-limit --why"
14
16
},
15
17
"repository" : {
16
18
"type" : " git" ,
22
24
" tag" ,
23
25
" attribute" ,
24
26
" attr" ,
25
- " accpet " ,
27
+ " accept " ,
26
28
" file"
27
29
],
28
30
"author" : " Andrey Okonetchnikov @okonetchnikov" ,
55
57
"lint-staged" : " ^4.1.3" ,
56
58
"mocha" : " ^3.5.0" ,
57
59
"prettier" : " ^1.6.1" ,
60
+ "size-limit" : " ^0.14.0" ,
58
61
"webpack" : " ^3.5.5"
59
62
},
60
63
"engines" : {
70
73
" eslint --fix" ,
71
74
" git add"
72
75
]
73
- }
76
+ },
77
+ "size-limit" : [
78
+ {
79
+ "path" : " dist/index.js" ,
80
+ "limit" : " 2 KB"
81
+ }
82
+ ]
74
83
}
You can’t perform that action at this time.
0 commit comments