-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.31 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
{
"name": "4fun-upload-playground",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/Wellers0n/4fun-upload",
"author": "Wellerson <[email protected]>",
"license": "MIT",
"private": true,
"scripts": {
"dev": "yarn dev:server & yarn dev:client",
"dev:client": "yarn workspace @4fun-upload/client run dev",
"test:client": "yarn workspace @4fun-upload/client run test",
"dev:server": "yarn workspace @4fun-upload/server run dev",
"migrate:server": "yarn workspace @4fun-upload/server run migrate",
"seed:server": "yarn workspace @4fun-upload/server run seed"
},
"lint-staged": {
"*.js": [
"prettier --write --single-quote true --trailing-comma all --print-width 100",
"yarn jest:lint --passWithNoTests",
"git add"
],
"*.ts": [
"prettier --write --single-quote true --trailing-comma all --print-width 100",
"eslint --fix",
"git add"
],
"*.tsx": [
"prettier --write --single-quote true --trailing-comma all --print-width 100",
"eslint --fix",
"git add"
],
"*.yml": [
"prettier --write",
"git add"
]
},
"pre-commit": "lint-staged",
"workspaces": {
"packages": [
"packages/client",
"packages/server"
]
},
"dependencies": {
"esbuild": "^0.15.15"
}
}