From 8b419711fcc2c627a4d6df7b2cf642df84013ba0 Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Sat, 6 Aug 2016 23:27:53 +0200 Subject: [PATCH] initial --- .gitignore | 3 +++ .gitlab-ci.yml | 36 +++++++++++++++++++++++++++++++ README.md | 9 ++++++++ package.json | 26 ++++++++++++++++++++++ ts/index.ts | 0 ts/smartsock.classes.smartsock.ts | 6 ++++++ ts/smartsock.plugins.ts | 0 7 files changed, 80 insertions(+) create mode 100644 .gitignore create mode 100644 .gitlab-ci.yml create mode 100644 README.md create mode 100644 package.json create mode 100644 ts/index.ts create mode 100644 ts/smartsock.classes.smartsock.ts create mode 100644 ts/smartsock.plugins.ts diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..645c923 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules +coverage +docs/ \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..95c5774 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,36 @@ +image: hosttoday/ht-docker-node:npmts + +stages: +- test +- release + +testLEGACY: + stage: test + script: + - npmci test legacy + tags: + - docker + +testLTS: + stage: test + script: + - npmci test lts + tags: + - docker + +testSTABLE: + stage: test + script: + - npmci test stable + tags: + - docker + +release: + stage: release + environment: npmjs-com_registry + script: + - npmci publish + only: + - tags + tags: + - docker diff --git a/README.md b/README.md new file mode 100644 index 0000000..fde8773 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# smartsocket +easy and secure websocket communication + +## Status +[![build status](https://gitlab.com/pushrocks/smartsocket/badges/master/build.svg)](https://gitlab.com/pushrocks/smartsocket/commits/master) + +## Usage +We recommend the use of typescript. + diff --git a/package.json b/package.json new file mode 100644 index 0000000..d47a27e --- /dev/null +++ b/package.json @@ -0,0 +1,26 @@ +{ + "name": "smartsocket", + "version": "1.0.0", + "description": "easy and secure websocket communication", + "main": "dist/index.js", + "scripts": { + "test": "(npmts)" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@gitlab.com/pushrocks/smartsocket.git" + }, + "author": "Lossless GmbH", + "license": "MIT", + "bugs": { + "url": "https://gitlab.com/pushrocks/smartsocket/issues" + }, + "homepage": "https://gitlab.com/pushrocks/smartsocket#README", + "dependencies": { + "beautylog": "^5.0.20", + "lik": "^1.0.9", + "q": "^1.4.1", + "socket.io": "^1.4.8", + "taskbuffer": "^1.0.7" + } +} diff --git a/ts/index.ts b/ts/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/ts/smartsock.classes.smartsock.ts b/ts/smartsock.classes.smartsock.ts new file mode 100644 index 0000000..3fd4372 --- /dev/null +++ b/ts/smartsock.classes.smartsock.ts @@ -0,0 +1,6 @@ +import "typings-global"; +export import beautylog = require("beautylog"); +export import lik = require("lik"); +export import q = require("q"); +export import socketIo = require("socket.io"); +export import taskbuffer = require("taskbuffer"); \ No newline at end of file diff --git a/ts/smartsock.plugins.ts b/ts/smartsock.plugins.ts new file mode 100644 index 0000000..e69de29