-
Notifications
You must be signed in to change notification settings - Fork 103
/
package.json
58 lines (58 loc) · 2.29 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
{
"private": true,
"workspaces": [
"packages/desktop",
"packages/shared"
],
"devDependencies": {
"@babel/eslint-parser": "^7.24.7",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.42.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-svelte3": "^4.0.0",
"husky": "^7.0.0",
"lint-staged": "^12.3.3",
"patch-package": "^7.0.0",
"prettier": "^2.3.2",
"prettier-plugin-svelte": "^2.7.0",
"retypeapp": "^3.1.0",
"typescript": "^5.0.3"
},
"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",
"docs:start": "cd docs/ && retype start",
"format": "yarn format:write",
"format:check": "prettier --plugin prettier-plugin-svelte -c \"**/*.{ts,js,json,scss,css,svelte}\"",
"format:write": "prettier --plugin prettier-plugin-svelte -w \"**/*.{ts,js,json,scss,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": "patch-package",
"test": "yarn test:shared",
"test:shared": "cd packages/shared && yarn test"
},
"resolutions": {
"ansi-regex": "5.0.1",
"glob-parent": " >=5.1.2",
"lodash": ">=4.17.21",
"nanoid": "^3.1.31",
"node-abi": "^3.8.0",
"nwsapi": "^2.2.1",
"prompts": "^2.4.2",
"selfsigned": "^2.0.1",
"shell-quote": "1.7.3"
},
"lint-staged": {
"*.{ts,js,svelte}": "eslint --cache --fix",
"*.{ts,js,json,scss,css,svelte}": "prettier --write"
}
}