Skip to content

Commit 45b7ac9

Browse files
committed
Scaffold: Consistency with other repos (closes #15, closes #16)
1 parent df4f692 commit 45b7ac9

File tree

4 files changed

+75
-28
lines changed

4 files changed

+75
-28
lines changed

.gitignore

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1-
lib-cov
2-
*.seed
1+
# Logs
2+
logs
33
*.log
4-
*.csv
5-
*.dat
6-
*.out
7-
*.pid
8-
*.gz
94

5+
# Runtime data
106
pids
11-
logs
12-
results
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
# Coverage directory used by tools like istanbul
14+
coverage
15+
16+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17+
.grunt
18+
19+
# Compiled binary addons (http://nodejs.org/api/addons.html)
20+
build/Release
1321

14-
npm-debug.log
22+
# Dependency directory
23+
# Deployed apps should consider commenting this line out:
24+
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
1525
node_modules

.jshintrc

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
{
2-
"node": true,
2+
"bitwise": true,
3+
"camelcase": true,
4+
"curly": true,
5+
"eqeqeq": true,
6+
"forin": true,
7+
"freeze": true,
8+
"indent": 2,
9+
"newcap": true,
10+
"noarg": true,
11+
"noempty": true,
12+
"nonew": true,
13+
"quotmark": "single",
14+
"undef": true,
315
"strict": true,
4-
"eqnull": true
16+
"maxparams": 4,
17+
"maxdepth": 3,
18+
"maxstatements": 50,
19+
"maxlen": 100,
20+
21+
"eqnull": true,
22+
"globalstrict": true,
23+
24+
"node": true
525
}

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
language: node_js
22
node_js:
3-
- "0.10"
3+
- '0.10'
4+
script:
5+
- npm test
6+
- npm run lint

package.json

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,47 @@
22
"name": "async-done",
33
"version": "0.4.0",
44
"description": "Handles completion and errors for callbacks, promises, observables and streams.",
5-
"main": "index.js",
6-
"directories": {
7-
"test": "test"
8-
},
9-
"scripts": {
10-
"test": "lab -cv"
11-
},
12-
"repository": {
13-
"type": "git",
14-
"url": "git://github.com/phated/async-done"
15-
},
165
"author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
6+
"contributors": [
7+
"Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
8+
"Pawel Kozlowski <pkozlowski.opensource@gmail.com>",
9+
"Matthew Podwysocki <matthew.podwysocki@gmail.com>"
10+
],
11+
"repository": "phated/async-done",
1712
"license": "MIT",
18-
"bugs": {
19-
"url": "https://github.com/phated/async-done/issues"
13+
"engines": {
14+
"node": ">= 0.10"
15+
},
16+
"main": "index.js",
17+
"scripts": {
18+
"test": "lab -cv",
19+
"lint": "jshint test index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules"
2020
},
21-
"homepage": "https://github.com/phated/async-done",
2221
"dependencies": {
2322
"end-of-stream": "^1.0.0",
2423
"next-tick": "^0.2.2",
2524
"once": "^1.3.0",
2625
"stream-exhaust": "^1.0.0"
2726
},
2827
"devDependencies": {
28+
"jshint": "^2.5.5",
29+
"jshint-stylish": "^0.4.0",
2930
"lab": "^4.1.0",
3031
"rx": "^2.3.4",
3132
"through2": "^0.6.1",
3233
"when": "^3.4.4"
33-
}
34+
},
35+
"keywords": [
36+
"promises",
37+
"callbacks",
38+
"observables",
39+
"streams",
40+
"end",
41+
"completion",
42+
"complete",
43+
"finish",
44+
"done",
45+
"async",
46+
"error handling"
47+
]
3448
}

0 commit comments

Comments
 (0)