# Problem To bring this lib in using Sprockets, you must do this: ```javascript //= require jasmine/lib/jasmine-core ``` Sprockets can read `bower.json` and, if `main` is explicitly stated in the file, you can do the much more future-proof and compact: ```javascript //= require jasmine ``` # Solution Explicitly specify it. # Caveats I am not super-versed in Bower or JS packaging, so this is proposed in the vein of "this fixes my problem and seems consistent with other JS libs I've looked at", but I'm open to other solutions.
42 lines
796 B
JSON
42 lines
796 B
JSON
{
|
|
"name": "jasmine-core",
|
|
"version": "2.2.1",
|
|
"homepage": "http://jasmine.github.io",
|
|
"authors": [
|
|
"slackersoft <gregg@slackersoft.net>"
|
|
],
|
|
"description": "Official packaging of Jasmine's core files",
|
|
"keywords": [
|
|
"test",
|
|
"jasmine",
|
|
"tdd",
|
|
"bdd"
|
|
],
|
|
"license": "MIT",
|
|
"moduleType": "globals",
|
|
"main": "lib/jasmine-core.js",
|
|
"ignore": [
|
|
"**/.*",
|
|
"dist",
|
|
"grunt",
|
|
"node_modules",
|
|
"pkg",
|
|
"release_notes",
|
|
"spec",
|
|
"src",
|
|
"Gemfile",
|
|
"Gemfile.lock",
|
|
"Rakefile",
|
|
"jasmine-core.gemspec",
|
|
"*.sh",
|
|
"*.py",
|
|
"Gruntfile.js",
|
|
"lib/jasmine-core.rb",
|
|
"lib/jasmine-core/boot/",
|
|
"lib/jasmine-core/spec",
|
|
"lib/jasmine-core/version.rb",
|
|
"lib/jasmine-core/*.py",
|
|
"sauce_connect.log"
|
|
]
|
|
}
|