-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
35 lines (35 loc) · 1.51 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
{
"private": true,
"workspaces": [
"web"
],
"scripts": {
"postinstall": "yarn workers:install && yarn ops:install",
"codegen": "yarn web:codegen && yarn ops:codegen",
"build": "yarn web:build && yarn workers:build",
"test": "yarn web:test",
"dev": "npx concurrently \"yarn web:dev\" \"yarn workers:dev\" \"yarn events:dev\" -k -n web,workers,events",
"web:codegen": "cd web && yarn db:generate-types",
"web:build": "yarn web:env && cd web && yarn build",
"web:dev": "yarn web:env && cd web && yarn dev",
"web:env": "if [ \"$CICD\" != \"true\" ]; then cp .env ./web/.env; fi",
"web:test": "cd web && yarn test",
"db:start": "cd web && yarn db:start",
"db:reset": "cd web && yarn db:reset",
"db:stop": "cd web && yarn db:stop",
"workers:install": "cd workers && poetry install",
"workers:build": "cd workers && poetry run build-check",
"workers:dev": "yarn workers:env && cd workers && poetry run python -m uvicorn fund_public_goods.main:app --reload",
"workers:env": "if [ \"$CICD\" != \"true\" ]; then cp .env ./workers/.env; fi",
"workers:test": "cd workers && poetry run pytest -v -s",
"workers:types": "cd ops && poetry run generate-types",
"workers:create_embeddings": "cd workers && poetry run create-embeddings",
"events:dev": "npx inngest-cli dev",
"ops:install": "cd ops && poetry install",
"ops:codegen": "cd ops && poetry run generate-types"
},
"dependencies": {
"concurrently": "8.2.2",
"inngest-cli": "^0.23.1"
}
}