Skip to content

Commit

Permalink
Added the bundle script to the prepublish script so that the webpack …
Browse files Browse the repository at this point in the history
…bundle gets included in the npm package.

Also disabled the release script and removed the rf-release package as this does not seem to be tagging or publishing to npm properly.
  • Loading branch information
Erin Doyle committed Mar 24, 2017
1 parent 8bff3fe commit fa32346
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-a11y-alt",
"version": "0.0.1",
"version": "0.0.3",
"description": "Warns about potential accessibility issues with your React elements.",
"main": "./lib/index.js",
"repository": {
Expand All @@ -16,8 +16,8 @@
"mocha": "mocha --compilers js:babel-register --recursive -f '(browser)' -i",
"lint": "eslint src",
"build": "babel src --out-dir lib",
"prepublish": "npm run build",
"release": "release",
"prepublish": "npm run build && npm run bundle",
"release": "echo 'release command is not supported from this fork, manually increment the version and do `npm publish`'",
"bundle": "webpack",
"preview-release": "changelog -t previes -s"
},
Expand Down Expand Up @@ -50,7 +50,6 @@
"mocha": "^2.0.1",
"react": "^0.14",
"react-dom": "^0.14.7",
"rf-release": "0.4.0",
"webpack": "^1.12.14"
},
"tags": [
Expand Down

0 comments on commit fa32346

Please sign in to comment.