diff --git a/package.json b/package.json index 82965211..361ce91e 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "babel-plugin-macros": "^2.5.1", "babel-plugin-tester": "^6.0.1", "babel-plugin-transform-react-remove-prop-types": "0.4.24", + "bundlesize2": "^0.0.20", "cross-env": "^5.1.3", "eslint": "^5.16.0", "eslint-config-airbnb": "^17.1.0", diff --git a/packages/styled-components/package.json b/packages/styled-components/package.json index 57c2e173..b17d51c8 100644 --- a/packages/styled-components/package.json +++ b/packages/styled-components/package.json @@ -26,7 +26,7 @@ "test:integration": "jest -c ../../scripts/jest/config.integration.js --runInBand --forceExit", "format": "eslint ./**/*.js --fix", "lint": "eslint src", - "lint:size": "npx bundlesize2 ", + "lint:size": "bundlesize", "prettier": "prettier */**/*.js --write", "prepublishOnly": "npm run build", "dev": "cross-env BABEL_ENV=cjs babel-node example/startServer.js"