@fto-consult/expo-ui 7.5.5 → 7.5.6
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/bin/init.js +3 -4
- package/electron/dependencies.js +3 -3
- package/package.json +1 -1
package/bin/init.js
CHANGED
@@ -23,11 +23,10 @@ module.exports = ({projectRoot,electronProjectRoot,paths,pathsJSON})=>{
|
|
23
23
|
projectRootPackage.dependencies = dependencies.main;
|
24
24
|
projectRootPackage.devDependencies = dependencies.dev;
|
25
25
|
projectRootPackage.scripts = {
|
26
|
-
"
|
26
|
+
"build" : `npx ${mainPackageName} electron build`,
|
27
27
|
"start" : `npx ${mainPackageName} electron start`,
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"compile2package" : `npx ${mainPackageName} electron package compile`
|
28
|
+
"run-dev" : `npx ${mainPackageName} electron start`,
|
29
|
+
"compile2start" : `npx ${mainPackageName} electron start --build`,
|
31
30
|
}
|
32
31
|
projectRootPackage.name = projectRootPackage.name.trim().toUpperCase();
|
33
32
|
projectRootPackage.realAppName = typeof projectRootPackage.realAppName =="string" && projectRootPackage.realAppName || projectRootPackage.name;
|
package/electron/dependencies.js
CHANGED
@@ -4,10 +4,10 @@ module.exports = {
|
|
4
4
|
"node-machine-id": "latest",
|
5
5
|
"fs-extra" : "latest",
|
6
6
|
"node-sqlite" : "latest",
|
7
|
-
"commander" : "latest"
|
7
|
+
"commander" : "latest",
|
8
|
+
"@fto-consult/expo-ui" : "latest",
|
8
9
|
},
|
9
10
|
"dev" : {
|
10
|
-
"electron": "latest"
|
11
|
-
"electron-packager": "latest",
|
11
|
+
"electron": "latest"
|
12
12
|
}
|
13
13
|
}
|