Files
TheGame/package.json
2024-08-13 19:04:31 -04:00

107 lines
4.7 KiB
JSON
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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": "yarn@4.3.1"
}