Skip to content

Commit f5cef76

Browse files
init
0 parents  commit f5cef76

File tree

273 files changed

+30578
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+30578
-0
lines changed

.cspell.json

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"version": "0.1",
3+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
4+
"language": "en",
5+
"words": [
6+
"unquantize",
7+
"denormalize",
8+
"noselect",
9+
"rtcfps",
10+
"autoplaying",
11+
"kbps",
12+
"webrtc",
13+
"textbox",
14+
"unquantized",
15+
"denormalized",
16+
"gamepadconnected",
17+
"gamepaddisconnected",
18+
"webkitgamepadconnected",
19+
"webkitgamepaddisconnected",
20+
"UE's",
21+
"mozpointerlockchange",
22+
"backquote",
23+
"munge",
24+
"useinbandfec",
25+
"sprop",
26+
"maxcapturerate",
27+
"maxaveragebitrate",
28+
"peerconnection",
29+
"charcode",
30+
"numtouches",
31+
"ctrler",
32+
"mozfullscreenchange",
33+
"tooltiptext",
34+
"wifi",
35+
"bytelength",
36+
"datachannels",
37+
"DATACHANNELREQUEST",
38+
"SFURECVDATACHANNELREADY",
39+
"onmessagebinary"
40+
],
41+
"flagWords": [],
42+
"ignorePaths": [
43+
"package.json",
44+
"package-lock.json",
45+
"tsconfig.json",
46+
"node_modules/**"
47+
]
48+
}

.eslintignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
dist
2+
node_modules
3+
types
4+
package-lock.json
5+
package.json
6+
tsconfig.json
7+
webpack.config.js
8+
.eslintrc.js

.eslintrc.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Copyright Epic Games, Inc. All Rights Reserved.
2+
3+
module.exports = {
4+
root: true,
5+
parser: '@typescript-eslint/parser',
6+
plugins: ['@typescript-eslint'],
7+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended']
8+
};

.github/workflows/ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- "v*.*.*"
9+
10+
jobs:
11+
ci:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Setup NodeJS
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: "16"
21+
registry-url: https://registry.npmjs.org
22+
23+
- name: Installing Dependencies
24+
run: npm i
25+
26+
- name: Publish
27+
uses: JS-DevTools/npm-publish@v1
28+
if: startsWith(github.ref, 'refs/tags/')
29+
with:
30+
access: "public"
31+
token: "${{ secrets.NPM_AUTH_TOKEN }}"

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.prettierignore

280 Bytes
Binary file not shown.

.prettierrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "none",
3+
"tabWidth": 4,
4+
"semi": true,
5+
"singleQuote": true
6+
}

dist/lib-pixelstreamingfrontend.esm.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lib-pixelstreamingfrontend.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jest.config.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
preset: "ts-jest/presets/js-with-ts",
3+
testEnvironment: "jsdom",
4+
transform: {
5+
"^.+\\.tsx?$": [
6+
"ts-jest",
7+
{
8+
tsconfig: "tsconfig.jest.json",
9+
},
10+
],
11+
},
12+
modulePathIgnorePatterns: ["<rootDir>/build/"],
13+
testPathIgnorePatterns: ["<rootDir>/build/", "/node_modules/"],
14+
globals: {
15+
TextDecoder: TextDecoder,
16+
TextEncoder: TextEncoder,
17+
}
18+
};

0 commit comments

Comments
 (0)