forked from jsdf/sprockets-coffee-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sprockets-coffee-react.gemspec
29 lines (25 loc) · 1.11 KB
/
sprockets-coffee-react.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require 'rubygems'
require 'yaml'
package = YAML.load_file(File.join(File.dirname(__FILE__), 'package.json'))
$:.push File.expand_path("../lib", __FILE__)
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "sprockets-coffee-react"
s.version = package["version"]
s.author = "James Friend"
s.email = "james@jsdf.co"
s.homepage = "https://github.com/jsdf/sprockets-coffee-react"
s.summary = "Coffeescript with React JSX (CJSX) via Sprockets"
s.description = <<-EOS
Preprocessor for Coffeescript with React JSX (CJSX).
This gem makes it easy to integrate this into the Rails asset pipeline or other Sprockets chains.
If you want to use CJSX without Sprockets, see the coffee-react gem, or the coffee-react npm module.
EOS
s.license = "MIT"
s.files = Dir["{lib}/**/*"] + ["LICENSE", "Rakefile", "README.rdoc"]
#s.test_files = Dir["test/**/*"]
s.add_runtime_dependency 'coffee-react', ">= #{package["version"]}"
s.add_runtime_dependency 'coffee-script'
s.add_runtime_dependency 'tilt'
s.add_runtime_dependency 'sprockets'
end