-
Notifications
You must be signed in to change notification settings - Fork 167
/
package.json
53 lines (53 loc) · 1.52 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
{
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"dev:api": "cd packages/api && yarn dev",
"dev:website": "cd packages/website && yarn dev",
"test": "run-s test:*",
"test:client": "yarn --cwd packages/client test",
"test:api": "yarn --cwd packages/api test",
"test:website": "yarn --cwd packages/website test",
"build:client:docs": "yarn --cwd packages/client typedoc",
"build:website": "yarn --cwd packages/website build",
"format": "prettier --write .",
"format:check": "prettier --check .",
"clean": "rm -rf node_modules yarn.lock packages/*/{yarn.lock,package-lock.json,.next,out,coverage,.nyc_output,worker,dist,node_modules}",
"setup-database": "yarn --cwd packages/database setup",
"create-migration": "yarn --cwd packages/database create-migration",
"apply-migrations": "yarn --cwd packages/database apply-migrations"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.*": "prettier --ignore-unknown --write"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"devDependencies": {
"lint-staged": "^12.3.4",
"npm-run-all": "^4.1.5",
"prettier": "2.5.1",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.3.1",
"typescript": "5.2.2",
"webpack": "^5.72.0",
"wrangler": "^2.0.23"
},
"resolutions": {
"prettier": "2.5.1",
"@types/react": "^17.0.34"
},
"engines": {
"node": ">= 16.0"
}
}