-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
60 lines (60 loc) · 2.19 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
{
"name": "project",
"private": "true",
"engines": {
"node": "18.x.x",
"npm": "9.x.x"
},
"workspaces": [
"shared",
"backend",
"frontend"
],
"scripts": {
"install:all": "npm install && npm run build:shared",
"build:shared": "npm run build -w shared",
"build:frontend": "npm run build -w frontend",
"build:backend": "npm run build -w backend",
"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:css": "npm run lint:css --workspaces --if-present -- --fix",
"lint:prettify": "prettier --check \"**/*.{ts,tsx,json,md,scss,html,sql}\"",
"lint": "npm run lint:editor && npm run lint:fs && npm run lint:prettify && npm run lint:type && npm run lint:js && npm run lint:css",
"prettify": "prettier --write \"**/*.{ts,tsx,json,md,scss,html,sql}\"",
"build": "npm run build:shared && npm run build:frontend && npm run build:backend && npm run prepare-build",
"prepare-build": "sh ./prepare-build.sh",
"install:build": "cd ./build/shared/build && npm install --ignore-scripts && cd ../../backend && npm install",
"prestart": "npm run build",
"start": "cd ./build/backend && npm start"
},
"devDependencies": {
"@commitlint/cli": "17.4.4",
"@commitlint/config-conventional": "17.4.4",
"@ls-lint/ls-lint": "2.0.1",
"@typescript-eslint/eslint-plugin": "5.48.1",
"@typescript-eslint/parser": "5.62.0",
"danger": "11.2.4",
"editorconfig-checker": "5.0.1",
"eslint": "8.31.0",
"eslint-plugin-import": "2.27.4",
"eslint-plugin-simple-import-sort": "8.0.0",
"eslint-plugin-sonarjs": "0.18.0",
"eslint-plugin-unicorn": "46.0.0",
"lint-staged": "13.1.2",
"prettier": "3.0.2",
"prettier-plugin-sql": "0.15.1",
"simple-git-hooks": "2.9.0",
"stripe-event-types": "2.4.0",
"stylelint": "15.10.2",
"stylelint-config-standard": "34.0.0",
"stylelint-order": "6.0.3",
"tsc-alias": "1.8.2",
"typescript": "5.1.6"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx commitlint --edit $1"
}
}