-
Notifications
You must be signed in to change notification settings - Fork 78
/
package.json
106 lines (106 loc) · 4.73 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "@metafam/the-game",
"version": "0.2.0",
"license": "GPL-2.0",
"type": "module",
"engines": {
"node": ">=20"
},
"private": true,
"scripts": {
"pass": "echo ¡Passing‼️",
"update-schema": "env-cmd -x rover graph introspect http://localhost:8080/v1/graphql --header \"x-hasura-admin-secret:\\$HASURA_GRAPHQL_ADMIN_SECRET\" --output schema.graphql",
"docker:start": "docker compose up -d",
"docker:build": "docker compose up --build -d",
"docker:stop": "docker compose down",
"docker:clean": "docker compose down -v",
"docker:dev": "DOCKER_BUILDKIT=1 docker compose up --build",
"docker:debug": "docker compose --progress=plain up --build",
"build": "lerna run --concurrency 1 --stream build",
"web:dev": "lerna run dev --parallel --scope @metafam/web --include-dependencies",
"web:build": "lerna run build --scope @metafam/web --include-dependencies --stream",
"web:deps:build": "lerna run --concurrency 1 --stream build --scope @metafam/utils --scope @metafam/ds",
"backend:dev": "lerna run dev --parallel --scope @metafam/backend",
"backend:build": "lerna run build --scope @metafam/backend --include-dependencies --stream",
"hasura": "hasura --project ./hasura",
"hasura:console": "yarn hasura console --no-browser --skip-update-check",
"hasura:migrate:init": "yarn hasura migrate create \"init\" --from-server",
"hasura:seed-db": "node hasura/seed-db.mjs",
"generate": "lerna run generate --parallel --",
"test": "lerna run test --parallel --",
"test:full": "yarn lint && yarn typecheck && yarn test",
"clean": "lerna clean",
"clean:libndist": "CMD='rm -rf node_modules/ packages/*/node_modules/ packages/*/dist/ packages/web/.next/' && echo \"$CMD\" && sh -c \"eval $CMD\"",
"clean:autogen": "find -type d -name autogen -exec rm -rfv '{}' \\; || true",
"clean:full": "yarn clean:libndist && yarn clean:autogen",
"format": "prettier --write \"{*,**/*}.{ts,tsx,js,jsx,json,yml,yaml,md}\"",
"lint": "NODE_OPTIONS='--max-old-space-size=4096' eslint",
"typecheck": "lerna run typecheck",
"prepare-disabled": "lerna run prepare && husky install",
"precommit": "yarn generate && lerna run --concurrency 1 --stream precommit && yarn lint-staged",
"discord-bot": "yarn --cwd packages/discord-bot/",
"backend": "yarn --cwd packages/backend/",
"utils": "yarn --cwd packages/utils/",
"web": "yarn --cwd packages/web/",
"ds": "yarn --cwd packages/design-system/",
"release": "standard-version",
"composedb:create-composite": "composedb composite:create packages/utils/schema/user-profile.graphql --output packages/utils/schema/user-profile-composite.json",
"composedb:create-definition": "composedb composite:compile packages/utils/schema/user-profile-composite.json packages/utils/schema/user-profile-definition.json --ceramic-url=${CERAMIC_URL:-https://ceramic.metagame.wtf}",
"composedb:graphql-generate": "composedb composite:compile packages/utils/schema/user-profile-composite.json packages/utils/src/graphql/composeDBDefinition.ts --ceramic-url=${CERAMIC_URL:-https://ceramic.metagame.wtf}",
"composedb:graphql-server": "composedb graphql:server --graphiql packages/utils/schema/user-profile-definition.json --ceramic-url=${CERAMIC_URL:-https://ceramic.metagame.wtf}"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"dag-jose": "^4.0.0",
"tslib": "^2.4.0",
"uuid": "8.3.2"
},
"devDependencies": {
"@apollo/rover": "^0.23.0",
"@composedb/cli": "^0.7.1",
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.7.0",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.3.2",
"@graphql-codegen/typescript-graphql-request": "^6.2.0",
"@graphql-codegen/typescript-resolvers": "^4.2.1",
"@graphql-codegen/typescript-urql": "^4.0.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.2.1",
"@types/node": "^20.8.6",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"concurrently": "7.0.0",
"env-cmd": "10.1.0",
"eslint": "^9.7.0",
"hasura-cli": "2.23.0",
"husky": "7.0.4",
"jest": "^29.2.2",
"lerna": "^8.1.6",
"lint-staged": "^15.2.7",
"prettier": "2.7.1",
"standard-version": "9.3.2",
"ts-jest": "^29.0.3",
"typescript": "^5.5.3",
"typescript-eslint": "^7.16.1",
"wait-on": "6.0.1"
},
"resolutions": {
"graphql": "16.9.0",
"multihashes": "4.0.3",
"node-gyp": "10.0.1",
"better-sqlite3": "9.4.5",
"nan": "2.18.0",
"one-webcrypto": "1.0.3"
},
"browserslist": [
"defaults",
"not IE 11"
],
"packageManager": "[email protected]"
}