This repository has been archived by the owner on Jan 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from stripe/jar-cleanup
Various cleanup
- Loading branch information
Showing
9 changed files
with
104 additions
and
120 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,10 @@ | ||
{print} = require 'util' | ||
{spawn} = require 'child_process' | ||
|
||
task 'build', 'Build lib/ from src/', -> | ||
coffee = spawn 'coffee', ['-c', '-o', 'lib', 'src'] | ||
coffee.stderr.on 'data', (data) -> | ||
process.stderr.write data.toString() | ||
coffee.stdout.on 'data', (data) -> | ||
print data.toString() | ||
coffee.on 'exit', (code) -> | ||
callback?() if code is 0 | ||
spawn 'coffee', ['-c', '-o', 'lib', 'src'], stdio: 'inherit' | ||
|
||
task 'watch', 'Watch src/ for changes', -> | ||
coffee = spawn 'coffee', ['-w', '-c', '-o', 'lib', 'src'] | ||
coffee.stderr.on 'data', (data) -> | ||
process.stderr.write data.toString() | ||
coffee.stdout.on 'data', (data) -> | ||
print data.toString() | ||
spawn 'coffee', ['-w', '-c', '-o', 'lib', 'src'], stdio: 'inherit' | ||
|
||
task 'test', 'Run tests', -> | ||
mocha = spawn 'mocha', ['--compilers', 'coffee:coffee-script/register'] | ||
mocha.stderr.on 'data', (data) -> | ||
process.stderr.write data.toString() | ||
mocha.stdout.on 'data', (data) -> | ||
print data.toString() | ||
spawn 'mocha', ['--compilers', 'coffee:coffee-script/register'], stdio: 'inherit' |
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
{ | ||
"name": "jquery.payment", | ||
"version": "1.0.2", | ||
"description": "jQuery Payment", | ||
"main": "lib/jquery.payment.js", | ||
"directories": { | ||
"example": "example", | ||
"test": "test" | ||
}, | ||
"scripts": { | ||
"test": "cake test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/stripe/jquery.payment.git" | ||
}, | ||
"version": "1.0.3", | ||
"description": "A general purpose library for building credit card forms, validating inputs and formatting numbers.", | ||
"keywords": [ | ||
"payment", | ||
"cc", | ||
"card" | ||
], | ||
"author": "Alex MacCaw", | ||
"author": "Stripe (https://www.stripe.com)", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/stripe/jquery.payment.git" | ||
}, | ||
"main": "lib/jquery.payment.js", | ||
"scripts": { | ||
"test": "cake test" | ||
}, | ||
"dependencies": { | ||
"jquery": "latest" | ||
"jquery": ">=1.5" | ||
}, | ||
"devDependencies": { | ||
"jsdom": "*", | ||
"cake": "*", | ||
"coffee-script": "*", | ||
"mocha": "*" | ||
"cake": "~0.1", | ||
"coffee-script": "~1.7", | ||
"jsdom": "~0.10", | ||
"mocha": "~1.18" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
{ | ||
"name": "payment", | ||
"title": "jQuery Payment", | ||
"description": "A general purpose library for building credit card forms, validating inputs and formatting numbers.", | ||
"keywords": [ | ||
"credit-cards", | ||
"payments" | ||
], | ||
"version": "1.0.1", | ||
"author": { | ||
"name": "Alex MacCaw", | ||
"url": "https://github.com/maccman" | ||
}, | ||
"licenses": [ | ||
{ | ||
"url": "https://github.com/stripe/jquery.payment/blob/master/LICENSE" | ||
} | ||
], | ||
"bugs": "https://github.com/stripe/jquery.payment/issues", | ||
"homepage": "https://stripe.com/blog/jquery-payment", | ||
"docs": "https://github.com/stripe/jquery.payment", | ||
"dependencies": { | ||
"jquery": ">=1.5" | ||
"name": "payment", | ||
"version": "1.0.3", | ||
"title": "jQuery.payment", | ||
"description": "A general purpose library for building credit card forms, validating inputs and formatting numbers.", | ||
"keywords": [ | ||
"payment", | ||
"cc", | ||
"card" | ||
], | ||
"author": { | ||
"name": "Stripe", | ||
"url": "https://www.stripe.com" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/stripe/jquery.payment/blob/master/LICENSE" | ||
} | ||
], | ||
"dependencies": { | ||
"jquery": ">=1.5" | ||
} | ||
} |
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