From edfdfedd06214ec9769f892407153d5b023e35aa Mon Sep 17 00:00:00 2001 From: Nikolay Kostyurin Date: Mon, 28 Nov 2022 02:23:21 +0200 Subject: [PATCH] fix: bundle size limits --- package-lock.json | 1 + package.json | 2 +- packages/bbob-plugin-helper/package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 22750ab7..532d12e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,7 @@ "requires": true, "packages": { "": { + "name": "bbob", "license": "MIT", "devDependencies": { "@commitlint/cli": "13.2.1", diff --git a/package.json b/package.json index c9e5ae52..655792b7 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,6 @@ "test": "@/jest", "cover": "@/jest --config ../../jest.config.js --coverage .", "lint": "@/eslint .", - "bundlesize": "@/cross-env NODE_ENV=production @/bundlesize ." + "bundlesize": "npm run build && @/cross-env NODE_ENV=production @/bundlesize ." } } diff --git a/packages/bbob-plugin-helper/package.json b/packages/bbob-plugin-helper/package.json index cbdbf90e..d8000891 100644 --- a/packages/bbob-plugin-helper/package.json +++ b/packages/bbob-plugin-helper/package.json @@ -42,7 +42,7 @@ "bundlesize": [ { "path": "./dist/index.min.js", - "maxSize": "850 B" + "maxSize": "1024 B" } ], "publishConfig": {