diff --git a/.publishrc b/.publishrc index 1b9cd72..406ede5 100644 --- a/.publishrc +++ b/.publishrc @@ -9,6 +9,6 @@ }, "confirm": true, "publishTag": "latest", - "prePublishScript": "npm test && npm run build", + "prePublishScript": "npm run build-and-test", "postPublishScript": false } diff --git a/package.json b/package.json index 2a175c1..4de252c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-component-update", - "version": "1.4.0", + "version": "1.4.1", "description": "Extends the native React Component to streamline updates", "main": "lib/index.js", "files": [ @@ -12,6 +12,7 @@ "scripts": { "clean": "rimraf lib", "build": "npm run clean && babel src --out-dir lib", + "build-and-test": "npm run test && npm run build", "install-react": "enzyme-adapter-react-install 16", "lint": "eslint ./", "test": "jest",