Skip to content

Commit 8d458c8

Browse files
author
James Halliday
committed
travis, testling badges
1 parent 617ced5 commit 8d458c8

File tree

4 files changed

+73
-0
lines changed

4 files changed

+73
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: node_js
2+
node_js:
3+
- "0.8"
4+
- "0.10"

LICENSE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
This software is released under the MIT license:
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7+
the Software, and to permit persons to whom the Software is furnished to do so,
8+
subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

package.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"name": "subarg",
3+
"version": "0.0.0",
4+
"description": "parse arguments with recursive contexts",
5+
"main": "index.js",
6+
"dependencies": {
7+
"minimist": "~0.0.7"
8+
},
9+
"devDependencies": {
10+
"tape": "~2.3.2"
11+
},
12+
"scripts": {
13+
"test": "tape test/*.js"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "git://github.com/substack/subarg.git"
18+
},
19+
"homepage": "https://github.com/substack/subarg",
20+
"keywords": [
21+
"argument",
22+
"option",
23+
"parser",
24+
"parsing",
25+
"flags",
26+
"command-line",
27+
"cli",
28+
"recursive",
29+
"minimist"
30+
],
31+
"author": {
32+
"name": "James Halliday",
33+
"email": "[email protected]",
34+
"url": "http://substack.net"
35+
},
36+
"license": "MIT",
37+
"testling": {
38+
"files": "test/*.js",
39+
"browsers": [
40+
"ie/8..latest",
41+
"firefox/16", "firefox/latest", "firefox/nightly",
42+
"chrome/22", "chrome/latest", "chrome/canary",
43+
"opera/12..latest", "opera/next",
44+
"safari/5.1..latest"
45+
]
46+
}
47+
}

readme.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
parse arguments with recursive contexts using
44
[minimist](https://npmjs.org/package/minimist)
55

6+
[![testling badge](https://ci.testling.com/substack/subarg.png)](https://ci.testling.com/substack/subarg)
7+
8+
[![build status](https://secure.travis-ci.org/substack/subarg.png)](http://travis-ci.org/substack/subarg)
9+
610
This module is useful if you need to pass arguments into a piece of code without
711
coordinating ahead of time with the main program, like with a plugin system.
812

0 commit comments

Comments
 (0)