@cimo/websocket 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{main.js → Main.js} +1 -1
- package/dist/Main.js.map +1 -0
- package/package.json +4 -9
- package/dist/main.js.map +0 -1
- /package/dist/{main.d.ts → Main.d.ts} +0 -0
package/README.md
CHANGED
package/dist/{main.js → Main.js}
RENAMED
|
@@ -26,4 +26,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.CwsServerMessage = exports.CwsServerInterface = void 0;
|
|
27
27
|
exports.CwsServerInterface = __importStar(require("./server/Interface"));
|
|
28
28
|
exports.CwsServerMessage = __importStar(require("./server/Message"));
|
|
29
|
-
//# sourceMappingURL=
|
|
29
|
+
//# sourceMappingURL=Main.js.map
|
package/dist/Main.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Main.js","sourceRoot":"","sources":["../src/Main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAAyD;AACzD,qEAAqD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cimo/websocket",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "Websocket API (server/client). Light, fast and secure.",
|
|
5
5
|
"author": "cimo",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
"url": "https://github.com/cimo/Websocket.git"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
-
"preinstall": "([ ! -f package-lock.json ] && npm install --package-lock-only --ignore-scripts --no-audit); npx npm-force-resolutions",
|
|
13
12
|
"check": "eslint . --fix",
|
|
14
13
|
"remove_dist": "node -e \"const fs = require('fs'); try{ fs.rmdirSync('./dist/', { recursive: true }) } catch{}; process.exit(0);\"",
|
|
15
|
-
"build": "npm run
|
|
14
|
+
"build": "npm run remove_dist && npm run check && tsc --build tsconfig.build_server.json && tsc --build tsconfig.build_client.json",
|
|
16
15
|
"pack": "npm run build && npm pack"
|
|
17
16
|
},
|
|
18
17
|
"dependencies": {},
|
|
@@ -26,15 +25,11 @@
|
|
|
26
25
|
"prettier": "2.8.7",
|
|
27
26
|
"typescript": "4.9.4"
|
|
28
27
|
},
|
|
29
|
-
"resolutions": {
|
|
30
|
-
"node-fetch": "2.6.7",
|
|
31
|
-
"**/node-fetch": "2.6.7"
|
|
32
|
-
},
|
|
33
28
|
"files": [
|
|
34
29
|
"./dist/"
|
|
35
30
|
],
|
|
36
|
-
"main": "./dist/
|
|
37
|
-
"types": "./dist/
|
|
31
|
+
"main": "./dist/Main.js",
|
|
32
|
+
"types": "./dist/Main.d.ts",
|
|
38
33
|
"keywords": [
|
|
39
34
|
"websocket",
|
|
40
35
|
"api",
|
package/dist/main.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAAyD;AACzD,qEAAqD"}
|
|
File without changes
|