@phystack/browser 4.4.29
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 +44 -0
- package/bin/index.js +30 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +86 -0
- package/dist/preload.d.ts +1 -0
- package/dist/preload.js +33 -0
- package/dist/renderer/App.d.ts +3 -0
- package/dist/renderer/App.js +121 -0
- package/dist/renderer/Sidebar.d.ts +3 -0
- package/dist/renderer/Sidebar.js +74 -0
- package/dist/renderer/bundle.js +38940 -0
- package/dist/renderer/bundle.js.map +1 -0
- package/dist/renderer/index.d.ts +1 -0
- package/dist/renderer/index.html +25 -0
- package/dist/renderer/index.js +13 -0
- package/package.json +67 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-eval'" />
|
|
6
|
+
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-eval'" />
|
|
7
|
+
<title>Phygrid Browser</title>
|
|
8
|
+
<style>
|
|
9
|
+
* {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
html, body, #root {
|
|
16
|
+
height: 100vh;
|
|
17
|
+
width: 100vw;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
<script defer src="bundle.js"></script></head>
|
|
22
|
+
<body>
|
|
23
|
+
<div id="root"></div>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("@emotion/react/jsx-runtime");
|
|
7
|
+
/** @jsxImportSource @emotion/react */
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const client_1 = require("react-dom/client");
|
|
10
|
+
const App_1 = __importDefault(require("./App"));
|
|
11
|
+
const container = document.getElementById('root');
|
|
12
|
+
const root = (0, client_1.createRoot)(container);
|
|
13
|
+
root.render((0, jsx_runtime_1.jsx)(react_1.default.StrictMode, { children: (0, jsx_runtime_1.jsx)(App_1.default, {}) }));
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@phystack/browser",
|
|
3
|
+
"version": "4.4.29",
|
|
4
|
+
"description": "Phygrid Electron Browser",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"homepage": "./",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=20.0.0"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc && webpack --config webpack.config.js",
|
|
16
|
+
"start": "electron dist/index.js",
|
|
17
|
+
"dev": "concurrently \"webpack serve --config webpack.config.dev.js\" \"wait-on http://localhost:3424 && cross-env NODE_ENV=development electron dist/index.js\"",
|
|
18
|
+
"dev:watch": "concurrently \"tsc -w\" \"webpack serve --config webpack.config.dev.js\" \"wait-on http://localhost:3424 && cross-env NODE_ENV=development electron dist/index.js\"",
|
|
19
|
+
"lint": "tsc --noEmit && eslint --ext .ts,.tsx ./src",
|
|
20
|
+
"lint:fix": "yarn lint --fix"
|
|
21
|
+
},
|
|
22
|
+
"bin": {
|
|
23
|
+
"phy-browser": "./bin/index.js"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"bin/**/*",
|
|
27
|
+
"dist/**/*"
|
|
28
|
+
],
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@emotion/babel-plugin": "^11.11.0",
|
|
31
|
+
"@types/electron": "^1.6.10",
|
|
32
|
+
"@types/node": "^20.11.30",
|
|
33
|
+
"@types/react": "^18.2.73",
|
|
34
|
+
"@types/react-dom": "^18.2.22",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
36
|
+
"@typescript-eslint/parser": "^7.4.0",
|
|
37
|
+
"concurrently": "^8.2.2",
|
|
38
|
+
"cross-env": "^7.0.3",
|
|
39
|
+
"css-loader": "^6.10.0",
|
|
40
|
+
"eslint": "^8.57.0",
|
|
41
|
+
"eslint-config-prettier": "^9.1.0",
|
|
42
|
+
"eslint-plugin-import": "^2.29.1",
|
|
43
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
44
|
+
"eslint-plugin-react": "^7.34.1",
|
|
45
|
+
"html-webpack-plugin": "^5.6.0",
|
|
46
|
+
"prettier": "^3.2.5",
|
|
47
|
+
"rimraf": "^6.0.1",
|
|
48
|
+
"style-loader": "^3.3.4",
|
|
49
|
+
"ts-loader": "^9.5.1",
|
|
50
|
+
"typescript": "^5.4.5",
|
|
51
|
+
"wait-on": "^7.2.0",
|
|
52
|
+
"webpack": "^5.91.0",
|
|
53
|
+
"webpack-cli": "^5.1.4",
|
|
54
|
+
"webpack-dev-server": "^5.0.4"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@emotion/css": "^11.11.2",
|
|
58
|
+
"@emotion/react": "^11.11.4",
|
|
59
|
+
"@emotion/styled": "^11.11.0",
|
|
60
|
+
"commander": "^12.0.0",
|
|
61
|
+
"electron": "^31.0.0",
|
|
62
|
+
"react": "^18.3.1",
|
|
63
|
+
"react-dom": "^18.3.1",
|
|
64
|
+
"split.js": "^1.6.5"
|
|
65
|
+
},
|
|
66
|
+
"gitHead": "7dba834ca1f446f669992ff14352862d2fbcfe22"
|
|
67
|
+
}
|