From 1cc73fe8cbcd94666fa261568106c9dd1e6d441a Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 28 Jun 2016 11:11:53 +0200 Subject: [PATCH] initial --- .gitignore | 3 +++ dist/index.d.ts | 1 + dist/index.js | 4 ++++ dist/smarttime.plugins.d.ts | 3 +++ dist/smarttime.plugins.js | 6 ++++++ package.json | 37 +++++++++++++++++++++++++++++++++++++ ts/index.ts | 2 ++ ts/smarttime.plugins.ts | 3 +++ 8 files changed, 59 insertions(+) create mode 100644 .gitignore create mode 100644 dist/index.d.ts create mode 100644 dist/index.js create mode 100644 dist/smarttime.plugins.d.ts create mode 100644 dist/smarttime.plugins.js create mode 100644 package.json create mode 100644 ts/index.ts create mode 100644 ts/smarttime.plugins.ts diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..36a8f6c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules/ +docs/ +coverage/ diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..62d7805 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1 @@ +import "typings-global"; diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 0000000..06d2d50 --- /dev/null +++ b/dist/index.js @@ -0,0 +1,4 @@ +"use strict"; +require("typings-global"); + +//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxRQUFPLGdCQUFnQixDQUFDLENBQUEiLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgXCJ0eXBpbmdzLWdsb2JhbFwiO1xuaW1wb3J0ICogYXMgcGx1Z2lucyBmcm9tIFwiLi9zbWFydHRpbWUucGx1Z2luc1wiO1xuIl19 diff --git a/dist/smarttime.plugins.d.ts b/dist/smarttime.plugins.d.ts new file mode 100644 index 0000000..56d2d35 --- /dev/null +++ b/dist/smarttime.plugins.d.ts @@ -0,0 +1,3 @@ +import "typings-global"; +export import beautylog = require("beautylog"); +export declare let q: any; diff --git a/dist/smarttime.plugins.js b/dist/smarttime.plugins.js new file mode 100644 index 0000000..fdb8e07 --- /dev/null +++ b/dist/smarttime.plugins.js @@ -0,0 +1,6 @@ +"use strict"; +require("typings-global"); +exports.beautylog = require("beautylog"); +exports.q = require("q"); + +//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0dGltZS5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxRQUFPLGdCQUFnQixDQUFDLENBQUE7QUFDVixpQkFBUyxXQUFXLFdBQVcsQ0FBQyxDQUFDO0FBQ3BDLFNBQUMsR0FBRyxPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMiLCJmaWxlIjoic21hcnR0aW1lLnBsdWdpbnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgXCJ0eXBpbmdzLWdsb2JhbFwiO1xuZXhwb3J0IGltcG9ydCBiZWF1dHlsb2cgPSByZXF1aXJlKFwiYmVhdXR5bG9nXCIpO1xuZXhwb3J0IGxldCBxID0gcmVxdWlyZShcInFcIik7Il19 diff --git a/package.json b/package.json new file mode 100644 index 0000000..5a101f8 --- /dev/null +++ b/package.json @@ -0,0 +1,37 @@ +{ + "name": "smarttime", + "version": "1.0.0", + "description": "bundles smart ways to work with timestamps in nodejs", + "main": "dist/index.js", + "directories": { + "test": "test" + }, + "scripts": { + "test": "(npmts)" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@gitlab.com/pushrocks/smarttime.git" + }, + "keywords": [ + "time" + ], + "author": "Lossless GmbH", + "license": "MIT", + "bugs": { + "url": "https://gitlab.com/pushrocks/smarttime/issues" + }, + "homepage": "https://gitlab.com/pushrocks/smarttime#README", + "devDependencies": { + "npmts-g": "^5.2.6", + "should": "^9.0.2", + "typings-test": "^1.0.1" + }, + "dependencies": { + "beautylog": "^5.0.12", + "mathjs": "^3.2.1", + "moment": "^2.13.0", + "q": "^1.4.1", + "typings-global": "^1.0.3" + } +} diff --git a/ts/index.ts b/ts/index.ts new file mode 100644 index 0000000..5ca1faf --- /dev/null +++ b/ts/index.ts @@ -0,0 +1,2 @@ +import "typings-global"; +import * as plugins from "./smarttime.plugins"; diff --git a/ts/smarttime.plugins.ts b/ts/smarttime.plugins.ts new file mode 100644 index 0000000..210e127 --- /dev/null +++ b/ts/smarttime.plugins.ts @@ -0,0 +1,3 @@ +import "typings-global"; +export import beautylog = require("beautylog"); +export let q = require("q"); \ No newline at end of file