-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
67 lines (67 loc) · 2.18 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
63
64
65
66
67
{
"_template": "template[tags(config),json(scripts,workspaces)]",
"private": true,
"license": "MIT",
"workspaces": {
"packages": [
"api",
"web",
"packages/*"
]
},
"devDependencies": {
"@mermaid-js/mermaid-cli": "^9.3.0",
"@redwoodjs/auth-dbauth-setup": "5.3.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.1",
"prisma-erd-generator": "^1.2.4",
"ts-node": "^10.9.1"
},
"eslintConfig": {
"extends": "@redwoodjs/eslint-config",
"root": true
},
"engines": {
"node": "=18.x",
"yarn": ">=1.15"
},
"prisma": {
"seed": "yarn rw exec seed",
"schema": "api/db/schema.prisma"
},
"packageManager": "yarn@3.2.1",
"scripts": {
"start": "node index.js",
"build": "yarn rw build",
"lint": "yarn eslint && yarn pretty",
"eslint": "npx eslint .",
"pretty": "npx prettier --check .",
"pretty:fix": "npx prettier -c -w .",
"dev": "yarn db:daemon && yarn rw dev",
"test": "yarn testdb:daemon && yarn rw test",
"test:nowatch": "yarn rw test --no-watch",
"test:e2e": "./scripts/playwright.ts",
"test:e2e:ci": "npx playwright test -c web/playwright.config.ts --trace on --workers 1 --reporter=list",
"test:e2e:debug": "PWDEBUG=1 npx playwright test --debug -c web/playwright.config.ts",
"testdb": "yarn testdb:down && docker compose up testdb",
"testdb:daemon": "yarn testdb:down && docker compose up -d testdb",
"testdb:down": "docker compose rm -sf testdb",
"db": "yarn db:down && docker compose up db",
"db:daemon": "yarn db:down && docker compose up -d db",
"db:down": "docker compose down",
"db:migrate": "yarn rw prisma migrate",
"db:migrate:dev": "yarn db:migrate dev",
"db:migrate:deploy": "yarn db:migrate deploy",
"db:migrate:data": "yarn rw dataMigrate up",
"db:seed": "yarn rw prisma db seed",
"db:setup": "yarn db:migrate:dev && yarn db:seed && yarn db:migrate:data",
"db:reset": "yarn rw prisma migrate reset",
"db:deploy": "yarn db:migrate:deploy && yarn db:migrate:data",
"schema:format": "npx prisma format"
},
"dependencies": {
"@redwoodjs/core": "5.3.0",
"pm2": "^5.2.2",
"react-use": "^17.4.0"
}
}