Skip to content

Commit

Permalink
fix: exports npm module
Browse files Browse the repository at this point in the history
  • Loading branch information
sky committed Jul 5, 2019
1 parent acc5db5 commit f1827c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
module.exports = require('./lib/tool');
exports.chalk = require('chalk');
exports.shell = require('shelljs');
exports.glob = require('glob');
exports.httpserver = require('node-http-server');
exports.opn = require('opn');
Object.assign(exports, require('./lib/tool'));
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-tool-utils",
"version": "1.2.1",
"version": "1.2.2",
"description": "node cross-platform tool library",
"keywords": [
"npm",
Expand Down

0 comments on commit f1827c7

Please sign in to comment.