You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`start:architect:electron`| Serves your app for consumption by electron. |
51
+
|`start:network-canvas:electron`| Serves network canvas for consumption by previewer. |
52
+
|`preelectron:dev`| Copies the electron source to `./electron-dev` (must be run only when setting up the repo for the first time, or bumping the version number) |
53
+
|`dev:electron`| Runs electron window with contents of `start:architect:electron` and `start:network-canvas:electron`(must be run concurrently) |
54
+
|`build`| Compiles assets and prepares app for production in the /build directory. |
55
+
|`lint`| Lints js/scss |
56
+
|`test`| Runs testing suite |
57
+
|`preflight`| Runs linting & testing. Useful as a prepush/build hook |
58
+
|`dist:mac`| Build and publish OS X verison |
59
+
|`dist:linux`| Build and publish Linux version |
60
+
|`dist:win`| Build and publish Windows version |
61
+
|`dist:all`| Build and publish all platforms |
62
+
|`update-submodules`| Update git submodules |
62
63
63
64
### Bump version
64
65
@@ -75,13 +76,18 @@ e.g.
75
76
There are two additional tasks to enable development within an electron app natively:
76
77
77
78
1.`npm run start:architect:electron`: to start the webpack dev server
78
-
- Note: must be running on port 3003.
79
+
80
+
- Note: must be running on port 3003.
81
+
79
82
1.`npm run start:network-canvas:electron`: to start the webpack dev server
80
-
- Note: must be running on port 3000.
81
-
2.`npm run electron:dev` (in another terminal session)
82
-
1. Copies the electron source to `./electron-dev`
83
-
2. Runs the electron app from there
84
83
84
+
- Note: must be running on port 3000.
85
+
86
+
2.`npm run preelectron:dev` Copies the electron source to `./electron-dev` (in another terminal session)
87
+
88
+
- Note: This step only needs to be taken when setting up the repo for the first time, or when bumping the version number.
89
+
90
+
3.`npm run dev:electron` Runs the electron app from there
0 commit comments