-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.43 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
{
"name": "project",
"private": "true",
"engines": {
"node": "20.x.x",
"npm": "10.x.x"
},
"workspaces": [
"shared",
"backend",
"frontend"
],
"scripts": {
"build:shared": "npm run build -w shared",
"build:frontend": "npm run build -w frontend",
"build:backend": "npm run build -w backend",
"build": "npm run build:shared && npm run build:backend && npm run build:frontend && sh ./prepare-build.sh",
"lint:editor": "editorconfig-checker",
"lint:fs": "ls-lint",
"lint:type": "npm run lint:type --workspaces --if-present",
"lint:js": "npm run lint:js --workspaces --if-present -- --max-warnings=0",
"lint:js:fix": "eslint --fix \"**/*.{ts,tsx}\" --max-warnings=0",
"lint:css": "npm run lint:css --workspaces --if-present",
"lint:css:fix": "stylelint --fix \"**/*.{scss,css}\"",
"lint:format": "prettier --check \"**/*.{ts,tsx,json,md,scss,html,yml}\"",
"lint": "npm run lint:editor && npm run lint:fs && npm run lint:format && npm run lint:type && npm run lint:js && npm run lint:css",
"lint:fix": "npm run lint:fix -w frontend && npm run lint:fix -w backend",
"format": "prettier --write \"**/*.{ts,tsx,json,md,css,html,yml}\"",
"migrate": "npm run migrate:dev -w backend",
"prestart": "npm install --include=dev && npm run build && npm run migrate",
"start": "cd ./build/backend && npm run start"
},
"devDependencies": {
"@commitlint/cli": "19.4.0",
"@commitlint/config-conventional": "19.2.2",
"@ls-lint/ls-lint": "2.2.3",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "6.19.1",
"danger": "12.3.3",
"editorconfig-checker": "5.1.8",
"eslint": "8.56.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-simple-import-sort": "8.0.0",
"eslint-plugin-sonarjs": "0.23.0",
"eslint-plugin-unicorn": "50.0.1",
"lint-staged": "15.2.9",
"prettier": "3.3.3",
"simple-git-hooks": "2.11.1",
"stylelint": "16.8.1",
"stylelint-config-standard": "36.0.0",
"stylelint-order": "6.0.4",
"tsc-alias": "1.8.2",
"typescript": "5.3.3"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx commitlint --edit $1"
},
"dependencies": {
"uuid": "10.0.0"
}
}