fixed package.json

This commit is contained in:
Philipp Kunz 2016-03-12 09:58:19 +01:00
parent 8986953592
commit 72c70c481a
3 changed files with 5 additions and 20 deletions

View File

@ -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
View File

@ -0,0 +1,4 @@
{
"mode": "default",
"coveralls": "true"
}

View File

@ -2,7 +2,7 @@
"name": "smartpath", "name": "smartpath",
"version": "2.0.0", "version": "2.0.0",
"description": "offers smart ways to handle paths", "description": "offers smart ways to handle paths",
"main": "index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"test": "(npmts)" "test": "(npmts)"
}, },