-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.21 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.21 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
{
"name": "mwm",
"version": "1.0.0",
"description": "MWM - Integrated Software Solutions",
"private": true,
"workspaces": [
"packages/*",
"backend",
"frontend"
],
"scripts": {
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
"dev:backend": "npm run dev --workspace=backend",
"dev:frontend": "npm run dev --workspace=frontend",
"build": "npm run build --workspaces",
"build:backend": "npm run build --workspace=backend",
"build:frontend": "npm run build --workspace=frontend",
"test": "npm run test --workspaces --if-present",
"test:backend": "npm run test --workspace=backend",
"test:frontend": "npm run test --workspace=frontend",
"test:coverage": "npm run test:coverage --workspaces --if-present",
"lint": "npm run lint --workspaces --if-present",
"lint:fix": "npm run lint:fix --workspaces --if-present",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"",
"prepare": "husky",
"docker:dev": "docker-compose -f docker/docker-compose.dev.yml up -d",
"docker:prod": "docker-compose -f docker/docker-compose.prod.yml up -d",
"docker:down": "docker-compose -f docker/docker-compose.dev.yml down",
"docker:logs": "docker-compose -f docker/docker-compose.dev.yml logs -f",
"clean": "rimraf node_modules backend/node_modules frontend/node_modules packages/*/node_modules"
},
"devDependencies": {
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"concurrently": "^8.2.0",
"husky": "^9.0.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.0",
"rimraf": "^5.0.0",
"typescript": "^5.3.0"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"lint-staged": {
"backend/src/**/*.ts": [
"eslint --fix --config backend/.eslintrc.js",
"prettier --write"
],
"frontend/src/**/*.{ts,tsx}": [
"eslint --fix --config frontend/.eslintrc.js",
"prettier --write"
],
"packages/shared/src/**/*.ts": [
"eslint --fix --config packages/shared/.eslintrc.js",
"prettier --write"
],
"*.{js,jsx,json,md}": [
"prettier --write"
]
}
}