fixed package.json
This commit is contained in:
parent
8986953592
commit
72c70c481a
19
index.js
19
index.js
@ -1,19 +0,0 @@
|
||||
/// <reference path="typings/tsd.d.ts" />
|
||||
var path = require("path");
|
||||
var bl = require("beautylog");
|
||||
/**
|
||||
*
|
||||
* @type {{getPath: (function(any): undefined)}}
|
||||
*/
|
||||
var smartpath = {
|
||||
getAbsPath: function (varPath, logBool) {
|
||||
if (logBool === void 0) { logBool = false; }
|
||||
var absPath = path.resolve(varPath);
|
||||
if (logBool == true) {
|
||||
bl.log('varPath is' + varPath);
|
||||
bl.log('absPath is' + absPath);
|
||||
}
|
||||
return absPath;
|
||||
}
|
||||
};
|
||||
module.exports = smartpath;
|
4
npmts.json
Normal file
4
npmts.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"mode": "default",
|
||||
"coveralls": "true"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
"name": "smartpath",
|
||||
"version": "2.0.0",
|
||||
"description": "offers smart ways to handle paths",
|
||||
"main": "index.js",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"test": "(npmts)"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user