From cbabeee30b02004b9b4b26d17aa5d76eaa47842a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abdussamed=20ULUTA=C5=9E?= Date: Sun, 27 Nov 2022 19:38:38 +0300 Subject: [PATCH] Auto watching file system compiling --- frontend/index.ts | 3 +++ package.json | 2 +- script/index.d.ts | 3 +++ script/index.d.ts.map | 1 + script/index.js | 3 +++ 5 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 frontend/index.ts create mode 100644 script/index.d.ts create mode 100644 script/index.d.ts.map create mode 100644 script/index.js diff --git a/frontend/index.ts b/frontend/index.ts new file mode 100644 index 0000000..4a960aa --- /dev/null +++ b/frontend/index.ts @@ -0,0 +1,3 @@ +namespace WSTS { + +}; \ No newline at end of file diff --git a/package.json b/package.json index be22882..860aa58 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Mikro WebSocket Engine", "main": "Source/index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "compile":"tsc -p tsconfig.json -w" }, "repository": { "type": "git", diff --git a/script/index.d.ts b/script/index.d.ts new file mode 100644 index 0000000..07445f1 --- /dev/null +++ b/script/index.d.ts @@ -0,0 +1,3 @@ +declare namespace WSTS { +} +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/script/index.d.ts.map b/script/index.d.ts.map new file mode 100644 index 0000000..3546fde --- /dev/null +++ b/script/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../frontend/index.ts"],"names":[],"mappings":"AAAA,kBAAU,IAAI,CAAC;CAEd"} \ No newline at end of file diff --git a/script/index.js b/script/index.js new file mode 100644 index 0000000..161d85f --- /dev/null +++ b/script/index.js @@ -0,0 +1,3 @@ +"use strict"; +; +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9mcm9udGVuZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBRUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIm5hbWVzcGFjZSBXU1RTIHtcclxuXHJcbn07Il19 \ No newline at end of file