diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-26 17:29:58 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-26 17:42:27 +0100 |
commit | fe5d0bb29e850e36693cae5594adf16f764aedf9 (patch) | |
tree | c3d7e050518ef658756972b789959a24943f3df0 /packages/main/package.json | |
parent | feat: Switch to json5 config format (diff) | |
download | sophie-fe5d0bb29e850e36693cae5594adf16f764aedf9.tar.gz sophie-fe5d0bb29e850e36693cae5594adf16f764aedf9.tar.zst sophie-fe5d0bb29e850e36693cae5594adf16f764aedf9.zip |
refactor: Config persistence architecture
The architecture in the main process is split into 3 main parts:
* services: interfaces for services are injected into the stores through
the MainEnv interface (for testability)
* services/impl: electron-specific implementations of services
* stores: the actions of the stores can invoke (asynchronous) services
Diffstat (limited to 'packages/main/package.json')
-rw-r--r-- | packages/main/package.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/main/package.json b/packages/main/package.json index 96cd52c..024fba8 100644 --- a/packages/main/package.json +++ b/packages/main/package.json | |||
@@ -14,11 +14,15 @@ | |||
14 | "@sophie/shared": "workspace:*", | 14 | "@sophie/shared": "workspace:*", |
15 | "electron": "16.0.5", | 15 | "electron": "16.0.5", |
16 | "json5": "^2.2.0", | 16 | "json5": "^2.2.0", |
17 | "lodash": "^4.17.21", | ||
17 | "mobx": "^6.3.10", | 18 | "mobx": "^6.3.10", |
18 | "mobx-state-tree": "^5.1.0" | 19 | "mobx-state-tree": "^5.1.0", |
20 | "ms": "^2.1.3" | ||
19 | }, | 21 | }, |
20 | "devDependencies": { | 22 | "devDependencies": { |
21 | "@types/electron-devtools-installer": "^2.2.1", | 23 | "@types/electron-devtools-installer": "^2.2.1", |
24 | "@types/lodash": "^4.14.178", | ||
25 | "@types/ms": "^0.7.31", | ||
22 | "@types/node": "^17.0.4", | 26 | "@types/node": "^17.0.4", |
23 | "electron-devtools-installer": "^3.2.0", | 27 | "electron-devtools-installer": "^3.2.0", |
24 | "rimraf": "^3.0.2", | 28 | "rimraf": "^3.0.2", |