-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.41 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
{
"name": "@flocon-trpg/servers",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "yarn workspace '@flocon-trpg/api-server' run build && yarn workspace '@flocon-trpg/web-server' run build:deps",
"format": "yarn lint --fix && yarn prettier && yarn build && yarn sort-package-json && yarn generate-disclaimer",
"generate-disclaimer": "yarn licenses generate-disclaimer --production --recursive --exclude='@types/*,husky,less,npm-run-all,sass,serve' > ./apps/web-server/public/licenses-npm-package.txt",
"install-husky": "husky install",
"lint": "yarn workspaces foreach -pv run lint",
"prettier": "yarn prettier:base --write --cache && yarn workspaces foreach -pv run prettier",
"prettier-check": "yarn prettier:base --check && yarn workspaces foreach -pv run prettier-check",
"prettier:base": "prettier \"**/*.{json,yml,md}\"",
"sort-package-json": "sort-package-json \"package.json\" \"apps/*/package.json\" \"packages/*/package.json\"",
"test": "yarn workspaces foreach -pv run test"
},
"devDependencies": {
"@commitlint/cli": "17.6.6",
"@commitlint/config-conventional": "17.6.6",
"@flocon-trpg/prettier-config": "workspace:^",
"husky": "8.0.3",
"prettier": "2.8.8",
"sort-package-json": "2.4.1"
},
"packageManager": "yarn@3.6.0"
}