Browse files

Revert "Add prepublishOnly script (#825)" (#839)

This reverts commit 5645573.

Unfortunately, this prepublishOnly script wasn't working properly. The
published package.json was still including the properties that were
supposed to be stripped out by this script, as seen here:

So instead, to solve #820, we moved the babel settings to a .babelrc
which is not included in the published package:

Thus, we can remove this prepublishOnly script
  • Loading branch information...
rmacklin authored and developit committed Aug 26, 2017
1 parent d6ab85c commit e29de9dc69176cefffb97e4eb1fa5780fec18e27
Showing with 0 additions and 24 deletions.
  1. +0 −1 .gitignore
  2. +0 −22 config/prepublish.js
  3. +0 −1 package.json
@@ -4,7 +4,6 @@
# Additional bundles

This file was deleted.

Oops, something went wrong.
@@ -32,7 +32,6 @@
"test:size": "bundlesize",
"lint": "eslint debug devtools src test",
"prepublish": "npm run build",
"prepublishOnly": "cp package.json .package.json; node config/prepublish.js",
"smart-release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
"release": "cross-env npm run smart-release",
"postinstall": "node -e \"console.log('\\u001b[35m\\u001b[1mLove Preact? You can now donate to our open collective:\\u001b[22m\\u001b[39m\\n > \\u001b[34m\\u001b[0m')\""

0 comments on commit e29de9d

Please sign in to comment.