diff --git a/package.json b/package.json index c3c07e47..c2ae0fa4 100644 --- a/package.json +++ b/package.json @@ -28,11 +28,10 @@ "lint": "npm-run-all -s lint-css lint-js", "lint-css": "stylelint --quiet --syntax scss src/**/*.scss", "lint-js": "eslint lib docs .storybook", - "now-build": "next build", + "now-build": "npm run dist && next build", "now-start": "next start", "now-test": "npm-run-all -s now-build now-start", "postpublish": "script/postpublish", - "prepare": "npm run dist", "prepublishOnly": "script/prepublish", "publish-storybook": "script/publish-storybook", "start": "next dev",