-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
59 lines (59 loc) · 3.38 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
{
"name": "hypercerts",
"description": "Scalable retrospective reward systems for impact",
"version": "1.0.0-alpha.0",
"author": "Hypercerts Foundation",
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "turbo run build --concurrency=100%",
"build:graph": "turbo run build --filter=@hypercerts-org/graph --",
"copy": "pnpm copy:frontend && pnpm copy:docs && pnpm 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:test": "pnpm --filter ./defender run deploy:test",
"deploy:defender:prod": "pnpm --filter ./defender run deploy:prod",
"deploy:graph:test": "pnpm --filter ./graph run deploy:test",
"deploy:graph:prod": "pnpm --filter ./graph run deploy:prod",
"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 && pnpm 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": "(pnpm 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": "(pnpm 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": "(pnpm 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": "pnpm e2e:infra-down --volumes",
"lint": "turbo run lint --concurrency=100%",
"serve:build": "pnpm 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.10.15"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hypercerts-org/hypercerts.git"
},
"overrides": {
"graphql": "^16.8.1",
"@hypercerts/contracts": {
"ethers": "6.8.0"
},
"@hypercerts/frontend": {
"ethers": "5.7.2"
}
}
}