-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
67 lines (67 loc) · 2.52 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"private": true,
"workspaces": [
"packages/desktop",
"packages/shared"
],
"devDependencies": {
"@babel/eslint-parser": "7.24.6",
"@tsconfig/svelte": "5.0.4",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "7.11.0",
"@typescript-eslint/parser": "7.11.0",
"eslint": "9.9.1",
"eslint-plugin-security": "3.0.1",
"eslint-plugin-svelte": "2.44.1",
"globals": "^15.9.0",
"husky": "7.0.4",
"lint-staged": "15.2.9",
"patch-package": "8.0.0",
"prettier": "3.2.5",
"prettier-plugin-svelte": "3.2.3",
"svelte-check": "3.4.6",
"svelte-preprocess": "5.0.4",
"typescript": "5.3.3"
},
"peerDependencies": {
"@babel/core": "7.21.3",
"svelte": "3.58.0"
},
"scripts": {
"check-strict": "yarn check-strict:desktop && yarn check-strict:shared",
"check-strict:desktop": "cd packages/desktop && tsc --project tsconfig.strict.json --pretty --noEmit",
"check-strict:shared": "cd packages/shared && tsc --project tsconfig.json --pretty --noEmit",
"check-types": "yarn check-types:shared && yarn check-types:desktop",
"check-types:desktop": "cd packages/desktop && tsc --pretty --noEmit",
"check-types:shared": "cd packages/shared && tsc --project tsconfig.base.json --pretty --noEmit",
"check-svelte": "svelte-check",
"format": "yarn format:write",
"format:check": "prettier -c \"**/*.{ts,js,json,css,svelte}\"",
"format:write": "prettier -w \"**/*.{ts,js,json,css,svelte}\"",
"lint": "yarn lint:fix",
"lint:check": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"pre-commit": "yarn format-check && yarn lint",
"prepare": "husky install",
"postinstall": "yarn postinstall:patch && yarn postinstall:usb",
"postinstall:patch": "patch-package",
"postinstall:usb": "npm rebuild usb --build-from-source",
"test": "yarn test:shared",
"test:shared": "cd packages/shared && yarn test"
},
"resolutions": {
"eip55": "2.1.1",
"glob-parent": " >=5.1.2",
"lodash": ">=4.17.21",
"nanoid": "3.3.7",
"node-abi": "3.54.0",
"nwsapi": "2.2.7",
"prompts": "2.4.2",
"selfsigned": "2.4.1",
"shell-quote": "1.7.3"
},
"lint-staged": {
"*.{ts,js,svelte}": "eslint --cache --fix",
"*.{ts,js,json,css,svelte}": "prettier --write"
}
}