Skip to content

Commit

Permalink
Fixed publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jul 6, 2017
1 parent cd0214b commit 197dc6a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"rollup": "^0.41.6",
"rollup-plugin-filesize": "^1.3.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-progress": "^0.4.0",
"size-limit": "^0.2.0",
"tape": "^4.2.2",
"tape-run": "^2.1.0",
Expand Down
1 change: 0 additions & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ function runTypeScriptBuild(outDir, target, declarations) {

const rollupPlugins = [
require("rollup-plugin-node-resolve")(),
require("rollup-plugin-progress")(),
require("rollup-plugin-filesize")()
];

Expand Down
6 changes: 1 addition & 5 deletions scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
/* Run this file from the root of the repository */
module.exports = function(shell, npm, git) {
// build

// FIXME: rollup dies when not spawning from terminal...
// npm("run", "small-build")
if (shell.prompt("Please run 'npm run small-build' first. Done?", "Y") !== "Y")
shell.exit(1)
npm("run", "small-build")

var pkg = JSON.parse(shell.read('package.json'));

Expand Down

0 comments on commit 197dc6a

Please sign in to comment.