forked from sfreeman422/mocker
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.3 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.3 KB
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
68
{
"name": "mocker",
"version": "1.0.0",
"description": "Mock your friends - Monorepo",
"private": true,
"engines": {
"node": ">=24.14.1 <25"
},
"workspaces": [
"packages/*"
],
"scripts": {
"build": "npm run build --workspaces --if-present",
"build:backend": "npm run build -w @mocker/backend",
"build:frontend": "npm run build -w @mocker/frontend",
"build:prod": "npm run build:prod --workspaces --if-present",
"build:prod:backend": "npm run build:prod -w @mocker/backend",
"prepare": "husky",
"start": "npm run start -w @mocker/backend",
"start:prod": "npm run start:prod -w @mocker/backend",
"job:fun-fact": "npm run job:fun-fact -w @mocker/backend",
"test": "npm run test --workspaces --if-present",
"test:backend": "npm run test -w @mocker/backend",
"test:coverage": "npm run test:coverage -w @mocker/backend",
"dev:frontend": "npm run dev -w @mocker/frontend",
"lint": "npm run lint -w @mocker/backend && npm run lint -w @mocker/frontend",
"lint:fix": "npm run lint:fix -w @mocker/backend && npm run lint:fix -w @mocker/frontend",
"lint:backend": "npm run lint -w @mocker/backend",
"lint:frontend": "npm run lint -w @mocker/frontend",
"format:check": "prettier --cache --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
"format:fix": "prettier --cache --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\""
},
"author": "",
"license": "ISC",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.1"
},
"overrides": {
"eslint-plugin-react-hooks": {
"eslint": "$eslint"
}
},
"lint-staged": {
"packages/backend/**/*.{ts,js}": [
"eslint --quiet --fix",
"prettier --write"
],
"packages/frontend/**/*.{ts,tsx,js,jsx}": [
"eslint --config packages/frontend/eslint.config.js --quiet --fix",
"prettier --write"
],
"**/*.{json,md,yml,yaml}": [
"prettier --write"
]
}
}