Skip to content

Commit 26fbf40

Browse files
committed
fix(lib): Expose commitizen as a library
This fixes index.js so that it exposes commitizen as a library. Closes #80
1 parent f1c719f commit 26fbf40

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

src/index.js

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,2 @@
1-
function all() {
2-
console.log('all');
3-
}
4-
5-
function random() {
6-
console.log('random');
7-
}
8-
9-
function randomItems() {
10-
console.log('randomItems');
11-
}
12-
13-
module.exports = {
14-
all:all,
15-
random:random,
16-
randomItems:randomItems
17-
};
1+
var commitizen = require('./commitizen');
2+
module.exports = commitizen;

0 commit comments

Comments
 (0)