Procházet zdrojové kódy

moved RPCLibrary to Index

master
Daniel Huebleitner před 5 roky
rodič
revize
45d6bb9062
5 změnil soubory, kde provedl 9 přidání a 9 odebrání
  1. 5
    0
      Index.ts
  2. 1
    1
      package-lock.json
  3. 2
    2
      package.json
  4. 0
    5
      src/RPCLibrary.ts
  5. 1
    1
      test/Test.ts

+ 5
- 0
Index.ts Zobrazit soubor

@@ -0,0 +1,5 @@
1
+export * from './src/Backend';
2
+export * from './src/Frontend';
3
+export * from './src/Interfaces'
4
+export * from './src/Types';
5
+export * from './src/Utils'

+ 1
- 1
package-lock.json Zobrazit soubor

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "rpclibrary",
3
-  "version": "1.3.9",
3
+  "version": "1.3.10",
4 4
   "lockfileVersion": 1,
5 5
   "requires": true,
6 6
   "dependencies": {

+ 2
- 2
package.json Zobrazit soubor

@@ -1,8 +1,8 @@
1 1
 {
2 2
   "name": "rpclibrary",
3
-  "version": "1.3.10",
3
+  "version": "1.3.11",
4 4
   "description": "rpclibrary is a websocket on steroids!",
5
-  "main": "./js/src/RPCLibrary.js",
5
+  "main": "./js/Index.js",
6 6
   "repository": {
7 7
     "type": "git",
8 8
     "url": "https://www.versioncontrol.me/frontwork-vendor/rpclibrary"

+ 0
- 5
src/RPCLibrary.ts Zobrazit soubor

@@ -1,5 +0,0 @@
1
-export * from  './Backend';
2
-export * from './Frontend';
3
-export * from './Interfaces'
4
-export * from './Types';
5
-export * from './Utils'

+ 1
- 1
test/Test.ts Zobrazit soubor

@@ -1,6 +1,6 @@
1 1
 import { describe, it } from "mocha";
2 2
 
3
-import { RPCServer, RPCSocket, SubscriptionResponse, makeSubResponse } from '../src/RPCLibrary'
3
+import { RPCServer, RPCSocket, SubscriptionResponse, makeSubResponse } from '../Index'
4 4
 import * as uuidv4 from "uuid/v4"
5 5
 
6 6
 const add = (...args:number[]) => {return args.reduce((a,b)=>a+b, 0)}

Načítá se…
Zrušit
Uložit