initial
This commit is contained in:
		
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| node_modules | ||||
| coverage | ||||
| docs/ | ||||
							
								
								
									
										36
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -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 | ||||
							
								
								
									
										9
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| # smartsocket | ||||
| easy and secure websocket communication | ||||
|  | ||||
| ## Status | ||||
| [](https://gitlab.com/pushrocks/smartsocket/commits/master) | ||||
|  | ||||
| ## Usage | ||||
| We recommend the use of typescript. | ||||
|  | ||||
							
								
								
									
										26
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							| @@ -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" | ||||
|   } | ||||
| } | ||||
							
								
								
									
										0
									
								
								ts/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								ts/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										6
									
								
								ts/smartsock.classes.smartsock.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								ts/smartsock.classes.smartsock.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -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"); | ||||
							
								
								
									
										0
									
								
								ts/smartsock.plugins.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								ts/smartsock.plugins.ts
									
									
									
									
									
										Normal file
									
								
							
		Reference in New Issue
	
	Block a user