diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-27 02:15:13 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-27 02:37:38 +0100 |
commit | 3d9ee27d8d813101114cb15c448f2307a72eebb3 (patch) | |
tree | bacfa8fd77b6b2e8a7d4ead365fb5c4b3d956df9 /package.json | |
parent | refactor: Improve error handling in preload (diff) | |
download | sophie-3d9ee27d8d813101114cb15c448f2307a72eebb3.tar.gz sophie-3d9ee27d8d813101114cb15c448f2307a72eebb3.tar.zst sophie-3d9ee27d8d813101114cb15c448f2307a72eebb3.zip |
test: Add preload unit tests
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package.json b/package.json index 8335b57..87f9d6b 100644 --- a/package.json +++ b/package.json | |||
@@ -16,6 +16,7 @@ | |||
16 | "main": "packages/main/dist/index.cjs", | 16 | "main": "packages/main/dist/index.cjs", |
17 | "scripts": { | 17 | "scripts": { |
18 | "clean": "rimraf dist .log && yarn workspaces foreach run clean", | 18 | "clean": "rimraf dist .log && yarn workspaces foreach run clean", |
19 | "test": "jest", | ||
19 | "build": "yarn workspaces foreach -vpt run build", | 20 | "build": "yarn workspaces foreach -vpt run build", |
20 | "precompile": "cross-env MODE=production yarn run build", | 21 | "precompile": "cross-env MODE=production yarn run build", |
21 | "compile": "yarn precompile && electron-builder build --config .electron-builder.config.js --dir", | 22 | "compile": "yarn precompile && electron-builder build --config .electron-builder.config.js --dir", |
@@ -41,14 +42,17 @@ | |||
41 | ], | 42 | ], |
42 | "devDependencies": { | 43 | "devDependencies": { |
43 | "@electron/fuses": "^1.5.0", | 44 | "@electron/fuses": "^1.5.0", |
45 | "@types/jest": "^27.0.3", | ||
44 | "@typescript-eslint/eslint-plugin": "^5.8.0", | 46 | "@typescript-eslint/eslint-plugin": "^5.8.0", |
45 | "@typescript-eslint/parser": "^5.8.0", | 47 | "@typescript-eslint/parser": "^5.8.0", |
46 | "cross-env": "^7.0.3", | 48 | "cross-env": "^7.0.3", |
47 | "electron": "16.0.5", | 49 | "electron": "16.0.5", |
48 | "electron-builder": "^22.14.11", | 50 | "electron-builder": "^22.14.11", |
49 | "eslint": "^8.5.0", | 51 | "eslint": "^8.5.0", |
52 | "jest": "^27.4.5", | ||
50 | "rimraf": "^3.0.2", | 53 | "rimraf": "^3.0.2", |
51 | "rollup": "^2.62.0", | 54 | "rollup": "^2.62.0", |
55 | "ts-jest": "^27.1.2", | ||
52 | "typescript": "^4.5.4", | 56 | "typescript": "^4.5.4", |
53 | "vite": "^2.7.6" | 57 | "vite": "^2.7.6" |
54 | }, | 58 | }, |