Skip to content

Commit

Permalink
Merge pull request #1192 from marmelab/publish
Browse files Browse the repository at this point in the history
[RFR] Remove build from prepublish to prevent building during install
  • Loading branch information
fzaninotto authored Sep 19, 2016
2 parents cc21984 + db4032b commit a1ceed9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ prepare-test-e2e:
@sed -i.bak 's|http://localhost:8000/|/|g' src/javascripts/test/fixtures/examples/blog/index.html
@cp node_modules/fakerest/dist/FakeRest.min.js src/javascripts/test/fixtures/examples/blog/build/fakerest.js
@cp node_modules/sinon/pkg/sinon-server-1.14.1.js src/javascripts/test/fixtures/examples/blog/build/sinon-server.js

publish: build
npm publish
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"node": ">=4.2.0"
},
"scripts": {
"prepublish": "make build",
"test": "make test"
}
}

0 comments on commit a1ceed9

Please sign in to comment.