2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-17 19:21:20 +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
+7
View File
@@ -39,6 +39,7 @@
"cover": "../../node_modules/.bin/jest --coverage",
"lint": "../../node_modules/.bin/eslint .",
"size": "../../node_modules/.bin/size-limit",
"bundlesize": "../../node_modules/.bin/bundlesize",
"prepublishOnly": "npm run build"
},
"size-limit": [
@@ -46,6 +47,12 @@
"path": "lib/index.js"
}
],
"bundlesize": [
{
"path": "./dist/index.min.js",
"threshold": "2.7 KB"
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},