2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-14 18:42:24 +03:00

chore: add bundle size restrictions to all packages

This commit is contained in:
Nikolay Kostyurin
2018-10-30 23:32:06 +02:00
parent 0fb4e1930b
commit a1d859fdad
10 changed files with 13650 additions and 9 deletions
+8 -1
View File
@@ -47,13 +47,20 @@
"test": "../../node_modules/.bin/jest --",
"cover": "../../node_modules/.bin/jest --coverage",
"lint": "../../node_modules/.bin/eslint .",
"size": "../../node_modules/.bin/size-limit"
"size": "../../node_modules/.bin/size-limit",
"bundlesize": "../../node_modules/.bin/bundlesize"
},
"size-limit": [
{
"path": "lib/index.js"
}
],
"bundlesize": [
{
"path": "./dist/index.min.js",
"maxSize": "6.6 KB"
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},