From dda89e96268a02f228b05d63479902e8f770c4e6 Mon Sep 17 00:00:00 2001 From: Pavel Murygin Date: Thu, 9 Feb 2023 01:11:04 +0400 Subject: [PATCH] works now --- package.json | 5 +++- .../frameworks/cra-ts/public/index.html | 28 +++++++++---------- .../core/js-peer/src/js-peer/FluencePeer.ts | 2 +- 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index b3aa8506..a77db658 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,14 @@ "node": ">=10", "pnpm": ">=3" }, - "scripts": {}, + "scripts": { + "simulate-cdn": "http-server -p 8765 ./packages/client/js-client.web.standalone/dist" + }, "author": "Fluence Labs", "license": "Apache-2.0", "dependencies": {}, "devDependencies": { + "http-server": "14.1.1", "@types/node": "16.11.59", "ts-node": "10.9.1", "typescript": "4.7", diff --git a/packages/@tests/frameworks/cra-ts/public/index.html b/packages/@tests/frameworks/cra-ts/public/index.html index 1cd8d998..726ab18d 100644 --- a/packages/@tests/frameworks/cra-ts/public/index.html +++ b/packages/@tests/frameworks/cra-ts/public/index.html @@ -2,19 +2,19 @@ - - - - - - - - - - - React App + React App - -
-