We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5428180 commit 47873d4Copy full SHA for 47873d4
Rakefile
@@ -69,6 +69,13 @@ namespace :ujs do
69
full_destination_path = File.expand_path("../lib/assets/javascripts/react_ujs.js", __FILE__)
70
FileUtils.cp(full_webpack_path, full_destination_path)
71
end
72
+
73
+ desc "Publish the package in ./react_ujs/ to npm as `react_ujs`"
74
+ task :publish do
75
+ Dir.chdir("react_ujs") do
76
+ `npm publish`
77
+ end
78
79
80
81
require 'appraisal'
0 commit comments