Last active
December 21, 2015 10:48
-
-
Save sampart/6294354 to your computer and use it in GitHub Desktop.
Installing Jasmine with Composer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "My jasmine-enabled project", | |
"description": "A project which installs Jasmine into vendors", | |
"repositories": [ | |
{ | |
"type": "package", | |
"package": { | |
"name": "pivotal/jasmine", | |
"version": "1.3.1", | |
"dist": { | |
"type": "zip", | |
"url": "https://github.com/pivotal/jasmine/raw/master/dist/jasmine-standalone-1.3.1.zip", | |
"reference": "1.3.1" | |
} | |
} | |
} | |
], | |
"require": { | |
"pivotal/jasmine": "1.3.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Jasmine Gem (https://github.com/pivotal/jasmine-gem) has an advantage over this approach in that the gem supports CI integration - it can programmatically read the spec runner's output using Selenium.
But for some situations, using Composer like this might be handy.