message: Use 'prepare' lifecycle hook rather than 'prepublishOnly'
diff: "lint": "yarn lint:js .storybook bin-src test-stories ./isChromatic.js ./isChromatic.mjs",
  "lint:js": "cross-env NODE_ENV=production eslint --fix --cache --cache-location=.cache/eslint --ext .js,.json,.mjs,.ts,.cjs --report-unused-disable-directives",
  "lint:package": "sort-package-json",
  - "prepublishOnly": "npm run build",
  "release": "node scripts/release.js",
  "trace": "node -r esm bin-src/trace.js",
  "trim-stats": "node -r esm bin-src/trim-stats-file.js",
  "storybook": "start-storybook -p 9009 -s static",
  "test": "jest",
  - "prepare": "husky install",
  + "prepare": "husky install && npm run build",
  "bundle:bin": "webpack --config=webpack-bin.config.js && chmod +x ./bin/main.cjs",
  "bundle:action": "webpack --config=webpack-action.config.js",
  "dev": "webpack --config=webpack-bin.config.js --watch --progress --mode=development",
  