forked from hypercerts-org/hypercerts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 3.62 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
68
{
"name": "hypercerts",
"description": "Scalable retrospective reward systems for impact",
"version": "0.0.0",
"author": "Hypercerts Foundation",
"license": "Apache-2.0",
"private": true,
"workspaces": {
"packages": [
"contracts",
"cors-proxy",
"defender",
"docs",
"frontend",
"graph",
"sdk",
"vendor/observabletreemap",
"e2e-tests"
],
"nohoist": [
"graph"
]
},
"scripts": {
"build": "turbo run build --concurrency=100%",
"build:frontend": "turbo run build --filter=@hypercerts-org/frontend",
"build:contracts": "turbo run build --filter=@hypercerts-org/contracts",
"build:defender": "turbo run build --filter=hypercerts-defender",
"build:graph": "turbo run build --filter=@hypercerts-org/graph",
"build:sdk": "turbo run build --filter=@hypercerts-org/sdk",
"copy": "yarn copy:frontend && yarn copy:docs && yarn copy:html",
"copy:docs": "mkdir -p ./build/docs/ && cp -r ./docs/build/* ./build/docs/",
"copy:frontend": "mkdir -p ./build/ && cp -r ./frontend/out/* ./build/ && cp ./frontend/_redirects ./build/",
"copy:html": "find build/ -name '*.html' -type f | grep -v index.html | sed s/\\.html$// | xargs -I _ bash -c 'mkdir -p _ && cp -v _.html _/index.html'",
"deploy:cors-proxy": "turbo run deploy --filter=@hypercerts-org/cors-proxy --parallel",
"deploy:defender": "turbo run deploy --filter=hypercerts-defender --parallel",
"deploy:graph": "turbo run deploy --filter=@hypercerts-org/graph --parallel",
"deploy:os-observer": "turbo run deploy --filter=@hypercerts-org/os-observer --parallel",
"deploy:site": "turbo run build --filter=@hypercerts-org/docs --filter=hypercerts-protocol && turbo run deploy --filter=@hypercerts-org/frontend && yarn copy",
"dev:cors-proxy": "turbo run dev --filter=@hypercerts-org/cors-proxy --parallel",
"dev:frontend": "turbo run dev --filter=@hypercerts-org/frontend --parallel",
"format:staged": "lint-staged",
"e2e:serve-for-dev": "(yarn e2e:infra-down || true) && docker compose -f docker/compose.yaml --env-file ./.env.local --env-file ./docker/base.env --env-file ./docker/dev.env up",
"e2e:serve-for-test": "(yarn e2e:infra-down || true) && ENVIRONMENT=tests docker compose -f docker/compose.yaml --env-file ./docker/base.env --env-file ./docker/dev.env --env-file ./.env.local --profile testing up",
"e2e:run-tests": "(yarn e2e:infra-down || true) && docker compose -f docker/compose.yaml --env-file ./docker/base.env --env-file ./docker/e2e.env --profile testing run --service-ports playwright",
"e2e:ci-run-tests": "CI=1 docker compose -f docker/compose.yaml --env-file ./docker/base.env --env-file ./docker/e2e.env --profile testing run --service-ports playwright",
"e2e:ci-logs": "CI=1 docker compose -f docker/compose.yaml --env-file ./docker/base.env --env-file ./docker/e2e.env --profile testing logs",
"e2e:infra-down": "docker compose -f docker/compose.yaml --env-file ./docker/base.env --env-file ./.env.local --env-file ./docker/base.env down",
"e2e:clean": "yarn e2e:infra-down --volumes",
"lint": "turbo run lint --concurrency=100%",
"serve:build": "yarn serve build",
"start:os-observer": "turbo run start --filter=@hypercerts-org/os-observer --",
"test": "turbo run test --concurrency=1",
"prepare": "husky install"
},
"devDependencies": {
"@playwright/test": "^1.35.1",
"@synthetixio/synpress": "^3.7.1",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.3",
"turbo": "^1.7.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hypercerts-org/hypercerts.git"
}
}