@stlite/desktop 0.20.0 → 0.21.0
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/package.json +13 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stlite/desktop",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "/",
|
|
6
6
|
"main": "./build/electron/main.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"start:electron": "tsc -p electron -w",
|
|
21
21
|
"build:electron": "tsc -p electron",
|
|
22
22
|
"build:pyodide": "curl -L https://github.com/pyodide/pyodide/releases/download/0.21.3/pyodide-build-0.21.3.tar.bz2 | tar xj -C ./build --files-from=./pyodide-files.txt",
|
|
23
|
-
"build:bin": "
|
|
23
|
+
"build:bin": "./scripts/build_bin.js && sed -i'' -e '1 s/^#!.*$/#!\\/usr\\/bin\\/env node/' ./bin/*.js",
|
|
24
24
|
"typecheck": "yarn tsc --noEmit -p electron",
|
|
25
25
|
"start": "concurrently \"cross-env BROWSER=none yarn start:web\" \"wait-on http://localhost:3000 && yarn start:electron\" \"wait-on http://localhost:3000 && tsc -p electron && cross-env NODE_ENV=\"development\" electron .\"",
|
|
26
26
|
"build:app": "yarn build:web && yarn build:electron && yarn build:pyodide",
|
|
@@ -48,10 +48,17 @@
|
|
|
48
48
|
"last 1 electron version"
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
|
+
"//": "The packages not bundled with bin/dump_artifacts.js must be specified here as the runtime dependencies. See `scripts/build_bin.js` for the details.",
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"fs-extra": "^10.1.0",
|
|
54
|
+
"node-fetch": "2",
|
|
55
|
+
"pyodide": "^0.21.3",
|
|
56
|
+
"yargs": "^17.5.1"
|
|
57
|
+
},
|
|
51
58
|
"devDependencies": {
|
|
52
59
|
"@craco/craco": "^6.1.2",
|
|
53
|
-
"@stlite/common": "^0.
|
|
54
|
-
"@stlite/kernel": "^0.
|
|
60
|
+
"@stlite/common": "^0.21.0",
|
|
61
|
+
"@stlite/kernel": "^0.21.0",
|
|
55
62
|
"@testing-library/react": "^11.2.7",
|
|
56
63
|
"@testing-library/user-event": "^13.1.9",
|
|
57
64
|
"@types/jest": "^26.0.19",
|
|
@@ -63,18 +70,14 @@
|
|
|
63
70
|
"electron-builder": "^23.3.3",
|
|
64
71
|
"electron-reload": "^2.0.0-alpha.1",
|
|
65
72
|
"esbuild": "^0.16.6",
|
|
66
|
-
"fs-extra": "^10.1.0",
|
|
67
|
-
"node-fetch": "2",
|
|
68
|
-
"pyodide": "^0.21.3",
|
|
69
73
|
"raw-loader": "^4.0.2",
|
|
70
74
|
"react": "^17.0.2",
|
|
71
75
|
"react-dom": "^17.0.2",
|
|
72
76
|
"react-scripts": "4.0.3",
|
|
73
77
|
"ts-node": "^10.9.1",
|
|
74
|
-
"typescript": "^4.6.3"
|
|
75
|
-
"yargs": "^17.5.1"
|
|
78
|
+
"typescript": "^4.6.3"
|
|
76
79
|
},
|
|
77
|
-
"
|
|
80
|
+
"///": "build.productName is necessary because electron-builder uses the package name for its purpose but the scoped name including '@' makes a problem: https://github.com/electron-userland/electron-builder/issues/3230",
|
|
78
81
|
"build": {
|
|
79
82
|
"appId": "your.id",
|
|
80
83
|
"mac": {
|