Skip to content

Commit d969f4d

Browse files
committed
Add gulp config
1 parent 0c2eaf8 commit d969f4d

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

gulpfile.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
var jsdoc = require('gulp-jsdoc'),
3+
gulp = require('gulp');
4+
5+
gulp.task('jsdoc', function () {
6+
gulp.src('./src/**/*.js')
7+
.pipe(jsdoc('./documentation'));
8+
});

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "javascript-algorithms",
3+
"version": "0.0.0",
4+
"description": "Implementations of different computer science algorithms",
5+
"main": "index.js",
6+
"directories": {
7+
"test": "test"
8+
},
9+
"dependencies": {
10+
"jsdoc": "^3.3.0-alpha13"
11+
},
12+
"devDependencies": {
13+
"gulp": "^3.8.10",
14+
"gulp-jsdoc": "^0.1.4"
15+
},
16+
"scripts": {
17+
"test": "echo \"Error: no test specified\" && exit 1"
18+
},
19+
"repository": {
20+
"type": "git",
21+
"url": "git://github.com/mgechev/javascript-algorithms"
22+
},
23+
"author": "@mgechev",
24+
"license": "MIT",
25+
"bugs": {
26+
"url": "https://github.com/mgechev/javascript-algorithms/issues"
27+
},
28+
"homepage": "https://github.com/mgechev/javascript-algorithms"
29+
}

0 commit comments

Comments
 (0)