Skip to content

Commit

Permalink
Replace prepublishOnly script with in-publish package (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
bstream authored and quantizor committed Apr 27, 2017
1 parent fde0ebe commit f23533d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"budo": "^9.2.0",
"bundle-collapser": "^1.2.1",
"codecov": "^2.1.0",
"in-publish": "^2.0.0",
"jest-cli": "^19.0.2",
"react": "^15.5.4",
"react-dom": "^15.5.4",
Expand All @@ -61,7 +62,7 @@
]
},
"scripts": {
"prepublishOnly": "npm run es5",
"prepublish": "in-publish && npm run es5 || not-in-publish",
"es5": "babel index.js --out-file index.es5.js",
"site:css": "stylus -u autoprefixer-stylus site.styl -o docs/css/style.css",
"site:css:release": "npm run site:css -- -c",
Expand Down
8 changes: 6 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2251,6 +2251,10 @@ ieee754@^1.1.4:
version "1.1.8"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4"

in-publish@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/in-publish/-/in-publish-2.0.0.tgz#e20ff5e3a2afc2690320b6dc552682a9c7fadf51"

indent-string@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80"
Expand Down Expand Up @@ -3755,7 +3759,7 @@ replace-ext@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"

request@2.79.0:
request@2.79.0, request@^2.79.0:
version "2.79.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
dependencies:
Expand All @@ -3780,7 +3784,7 @@ request@2.79.0:
tunnel-agent "~0.4.1"
uuid "^3.0.0"

request@^2.79.0, request@^2.81.0:
request@^2.81.0:
version "2.81.0"
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
dependencies:
Expand Down

0 comments on commit f23533d

Please sign in to comment.