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
3232# Build files
3333dist
3434Changelog.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
33
44[ ![ Build Status] ( https://travis-ci.org/okonet/attr-accept.svg?branch=master )] ( https://travis-ci.org/okonet/attr-accept )
55[ ![ 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 )
67
78See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input#Attributes for more information.
89
Original file line number Diff line number Diff line change 1111 "test:watch" : " npm test -- --watch" ,
1212 "lint" : " eslint src/ test/" ,
1313 "precommit" : " lint-staged" ,
14+ "size" : " size-limit" ,
15+ "size:why" : " size-limit --why" ,
1416 "travis-deploy-once" : " travis-deploy-once"
1517 },
1618 "repository" : {
2325 " tag" ,
2426 " attribute" ,
2527 " attr" ,
26- " accpet " ,
28+ " accept " ,
2729 " file"
2830 ],
2931 "author" : " Andrey Okonetchnikov @okonetchnikov" ,
5658 "lint-staged" : " ^4.1.3" ,
5759 "mocha" : " ^3.5.0" ,
5860 "prettier" : " ^1.6.1" ,
61+ "size-limit" : " ^0.14.0" ,
5962 "travis-deploy-once" : " ^4.3.4" ,
6063 "webpack" : " ^3.5.5"
6164 },
7275 " eslint --fix" ,
7376 " git add"
7477 ]
75- }
78+ },
79+ "size-limit" : [
80+ {
81+ "path" : " dist/index.js" ,
82+ "limit" : " 2 KB"
83+ }
84+ ]
7685}
You can’t perform that action at this time.
0 commit comments