Skip to content

Commit b686e96

Browse files
committed
Scaffold: Normalize project (closes #2, closes #3)
1 parent 6389bc4 commit b686e96

File tree

4 files changed

+60
-24
lines changed

4 files changed

+60
-24
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: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,26 @@
22
"name": "async-settle",
33
"version": "0.2.1",
44
"description": "Settle your async functions - when you need to know all your parallel functions are complete (success or failure)",
5-
"main": "index.js",
6-
"directories": {
7-
"test": "test"
5+
"author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
6+
"contributors": [
7+
"Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)"
8+
],
9+
"repository": "phated/async-settle",
10+
"license": "MIT",
11+
"engines": {
12+
"node": ">= 0.10"
813
},
14+
"main": "index.js",
915
"scripts": {
10-
"test": "lab -cv"
16+
"test": "lab -cv",
17+
"lint": "jshint test index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules"
1118
},
1219
"dependencies": {
1320
"async-done": "^0.4.0"
1421
},
1522
"devDependencies": {
23+
"jshint": "^2.5.5",
24+
"jshint-stylish": "^0.4.0",
1625
"lab": "^4.2.0"
1726
},
1827
"keywords": [
@@ -22,11 +31,5 @@
2231
"complete",
2332
"error",
2433
"parallel"
25-
],
26-
"author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
27-
"license": "MIT",
28-
"bugs": {
29-
"url": "https://github.com/phated/async-settle/issues"
30-
},
31-
"homepage": "https://github.com/phated/async-settle"
34+
]
3235
}

0 commit comments

Comments
 (0)