-
Notifications
You must be signed in to change notification settings - Fork 4
/
sprockets-bumble_d.gemspec
34 lines (28 loc) · 1.34 KB
/
sprockets-bumble_d.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
30
31
32
33
34
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sprockets/bumble_d/version'
Gem::Specification.new do |spec|
spec.name = 'sprockets-bumble_d'
spec.version = Sprockets::BumbleD::VERSION
spec.authors = ['Richard Macklin']
spec.summary = 'Let Sprockets use Babel to transpile modern javascript'
spec.description = <<-EOF
This gem provides a plugin for Sprockets to transpile modern javascript
using Babel.
Unlike other options in the sprockets ecosystem, it works with the latest
version of Babel and any plugins/presets you install.
A primary use case for this gem is to facilitate incremental migration of a
large Sprockets-powered javascript codebase to ES6 modules by transforming
them to UMD modules that preserve your existing global variable references
(hence the name: Babel + UMD = BumbleD). That said, this gem can be used for
general purpose babel transpilation within the Sprockets pipeline.
EOF
spec.homepage = 'https://github.com/rmacklin/sprockets-bumble_d'
spec.license = 'MIT'
spec.files = Dir['{lib}/**/*']
spec.require_paths = ['lib']
spec.add_dependency 'railties', ['>= 4.2.0', '< 7.0']
spec.add_dependency 'schmooze', '0.1.6'
spec.add_dependency 'sprockets', '~> 3.5'
end