@xframes/wasm 0.0.3 → 0.1.3
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 +61 -0
- package/dist/index.d.ts +152 -36
- package/dist/index.js +5 -2171
- package/dist/index.js.map +1 -1
- package/dist/xframes.mjs +2 -16
- package/package.json +10 -18
package/package.json
CHANGED
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xframes/wasm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "DOM-less, GPU-accelerated GUI development for the browser",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/*"
|
|
8
8
|
],
|
|
9
|
-
"homepage": "https://github.com/
|
|
9
|
+
"homepage": "https://github.com/xframes-project/xframes#readme",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"author": {
|
|
12
12
|
"name": "Andrea Mancuso",
|
|
13
13
|
"url": "https://github.com/andreamancuso"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
16
|
+
"build:common": "cd ../common && npx tsup --format cjs --external react,react-dom",
|
|
17
|
+
"prestart": "npm run build:common && cpy --flat ../common/dist/*.* node_modules/@xframes/common/dist/",
|
|
18
18
|
"start": "webpack serve",
|
|
19
|
-
"build:
|
|
20
|
-
"build:library": "rimraf ./build && yarn tsup && yarn copy-wasm-to-build-folder",
|
|
21
|
-
"tsc": "tsc --project ./tsconfig-build.json",
|
|
19
|
+
"build:library": "rimraf ./dist && npm run tsup && npm run copy-wasm-to-dist-folder",
|
|
22
20
|
"tsup": "tsup --format cjs --external react,react-dom",
|
|
23
|
-
"copy-wasm-to-
|
|
24
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
|
|
25
|
-
"xframes-node": "tsx ./xframes-node/index.tsx"
|
|
21
|
+
"copy-wasm-to-dist-folder": "cpy --flat ./src/lib/xframes.* dist/",
|
|
22
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
|
|
26
23
|
},
|
|
27
24
|
"tsup": {
|
|
28
25
|
"entry": [
|
|
@@ -35,7 +32,6 @@
|
|
|
35
32
|
"dts": true
|
|
36
33
|
},
|
|
37
34
|
"dependencies": {
|
|
38
|
-
"@xframes/common": "0.0.12",
|
|
39
35
|
"base64-js": "^1.5.1",
|
|
40
36
|
"date-fns": "^4.1.0",
|
|
41
37
|
"deep-object-diff": "1.1.9",
|
|
@@ -53,11 +49,11 @@
|
|
|
53
49
|
"whatwg-fetch": "^3.6.20"
|
|
54
50
|
},
|
|
55
51
|
"peerDependencies": {
|
|
52
|
+
"@xframes/common": "^0.1.0",
|
|
56
53
|
"react": "^18.2.0",
|
|
57
54
|
"react-dom": "^18.2.0"
|
|
58
55
|
},
|
|
59
56
|
"devDependencies": {
|
|
60
|
-
"@alpacahq/alpaca-trade-api": "^3.1.2",
|
|
61
57
|
"@babel/core": "^7.24.5",
|
|
62
58
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
63
59
|
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
|
|
@@ -68,8 +64,6 @@
|
|
|
68
64
|
"@babel/preset-typescript": "^7.24.1",
|
|
69
65
|
"@fortawesome/fontawesome-free": "^6.5.2",
|
|
70
66
|
"@microsoft/api-extractor": "^7.43.4",
|
|
71
|
-
"@react-rxjs/core": "^0.10.7",
|
|
72
|
-
"@react-rxjs/utils": "^0.9.7",
|
|
73
67
|
"@types/babel__core": "^7",
|
|
74
68
|
"@types/babel__preset-env": "^7",
|
|
75
69
|
"@types/invariant": "^2",
|
|
@@ -106,8 +100,6 @@
|
|
|
106
100
|
"webpack": "^5.91.0",
|
|
107
101
|
"webpack-cli": "^5.1.4",
|
|
108
102
|
"webpack-dev-server": "^5.0.4",
|
|
109
|
-
"yaml": "^2.4.3"
|
|
110
|
-
|
|
111
|
-
},
|
|
112
|
-
"packageManager": "yarn@4.1.1"
|
|
103
|
+
"yaml": "^2.4.3"
|
|
104
|
+
}
|
|
113
105
|
}
|