Skip to content

Commit

Permalink
Add Size Limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jul 8, 2018
1 parent c208fd9 commit 8524b54
Show file tree
Hide file tree
Showing 4 changed files with 2,566 additions and 67 deletions.
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -8,3 +8,4 @@
.npmignore
Gruntfile.js
yarn.lock
.size-limit
6 changes: 6 additions & 0 deletions .size-limit
@@ -0,0 +1,6 @@
[
{
"path": "index.js",
"limit": "931 B"
}
]
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"build": "grunt build",
"test": "grunt test"
"test": "grunt test && size-limit"
},
"keywords": [
"short",
Expand Down Expand Up @@ -46,6 +46,7 @@
"grunt-release": "^0.14.0",
"load-grunt-tasks": "^4.0.0",
"mocha": "^5.2.0",
"size-limit": "^0.18.3",
"time-grunt": "^1.2.1"
},
"license": "MIT",
Expand Down

0 comments on commit 8524b54

Please sign in to comment.