diff --git a/package.json b/package.json index 880790a..9996391 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,10 @@ "description": "AST utility module for statically analyzing JSX", "main": "lib/index.js", "scripts": { - "prepack": "npmignore --auto --commentLines=autogenerated", + "prepack": "npmignore --auto --commentLines=autogenerated && npm run build", "prebuild": "rimraf lib", "build": "babel src --out-dir lib", - "prepublishOnly": "safe-publish-latest && npm test && npm run build", + "prepublishOnly": "safe-publish-latest && npm test", "prepublish": "not-in-publish || npm run prepublishOnly", "prelint": "npm run build", "lint": "eslint .",