-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
49 lines (49 loc) · 1.66 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
{
"name": "metastable",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"check": "yarn build:deps && yarn lint && yarn workspace @metastable/client run tsc",
"build": "yarn workspaces foreach -Api --topological-dev run build",
"build:deps": "yarn workspaces foreach -Api --topological-dev --exclude @metastable/client --exclude @metastable/server --exclude metastable run build",
"env": "dotenvx run -f .env.local -f .env",
"electron:build": "yarn env -- yarn workspace @metastable/client run electron:build",
"electron:publish": "yarn env -- yarn workspace @metastable/client run electron:publish",
"start": "yarn workspace @metastable/server run start",
"dev": "yarn workspaces foreach -Rpi --from '@metastable/{client,server}' run dev",
"lint": "yarn workspaces foreach -Api run lint",
"test": "vitest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
],
"__tests__/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"packageManager": "[email protected]",
"devDependencies": {
"@dotenvx/dotenvx": "^1.14.2",
"@eslint/compat": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"typescript-eslint": "^8.4.0",
"vitest": "^1.5.0"
}
}