mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-14 00:48:18 -05:00
105 lines
3.9 KiB
JSON
105 lines
3.9 KiB
JSON
{
|
|
"name": "@metafam/the-game",
|
|
"version": "0.2.0",
|
|
"license": "GPL-3.0",
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"update-schema": "env-cmd -x get-graphql-schema -h x-hasura-admin-secret=\\$HASURA_GRAPHQL_ADMIN_SECRET http://localhost:8080/v1/graphql > 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:debug": "COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up --build",
|
|
"build": "lerna run build",
|
|
"web:dev": "lerna run dev --parallel --scope @metafam/web --include-dependencies",
|
|
"web:build": "lerna run build --scope @metafam/web --include-dependencies --stream",
|
|
"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",
|
|
"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:full": "lerna clean && rm -rfv node_modules/ packages/*/node_modules/ packages/*/dist/ packages/web/.next/",
|
|
"format": "prettier --write \"{*,**/*}.{ts,tsx,js,jsx,json,yml,yaml,md}\"",
|
|
"lint": "eslint --ignore-path .gitignore \"./packages/**/*.{ts,tsx,js,jsx}\"",
|
|
"typecheck": "lerna run typecheck",
|
|
"prepare": "lerna run prepare && husky install",
|
|
"precommit": "lerna run --concurrency 1 --stream precommit && yarn lint-staged",
|
|
"prepush": "yarn typecheck",
|
|
"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"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"devDependencies": {
|
|
"@graphql-codegen/add": "2.0.2",
|
|
"@graphql-codegen/cli": "1.21.4",
|
|
"@graphql-codegen/introspection": "1.18.2",
|
|
"@graphql-codegen/typescript": "1.22.0",
|
|
"@graphql-codegen/typescript-graphql-request": "3.2.0",
|
|
"@graphql-codegen/typescript-operations": "1.17.16",
|
|
"@graphql-codegen/typescript-react-apollo": "2.2.4",
|
|
"@graphql-codegen/typescript-resolvers": "1.19.1",
|
|
"@graphql-codegen/typescript-urql": "2.0.6",
|
|
"@types/jsdom": "16.2.13",
|
|
"@types/node": "15.6.1",
|
|
"@types/react": "17.0.6",
|
|
"@types/react-dom": "17.0.5",
|
|
"@typescript-eslint/eslint-plugin": "5.10.2",
|
|
"@typescript-eslint/parser": "5.10.2",
|
|
"caniuse-lite": "1.0.30001309",
|
|
"env-cmd": "10.1.0",
|
|
"eslint": "8.8.0",
|
|
"eslint-config-airbnb": "19.0.4",
|
|
"eslint-config-airbnb-typescript": "16.1.0",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-import-resolver-typescript": "2.5.0",
|
|
"eslint-plugin-import": "2.25.4",
|
|
"eslint-plugin-jest": "26.0.0",
|
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
"eslint-plugin-react": "7.28.0",
|
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
"get-graphql-schema": "2.1.2",
|
|
"graphql": "15.8.0",
|
|
"hasura-cli": "1.3.3",
|
|
"husky": "7.0.4",
|
|
"jest": "26.6.3",
|
|
"lerna": "4.0.0",
|
|
"lint-staged": "12.3.3",
|
|
"prettier": "2.2.1",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"standard-version": "9.3.2",
|
|
"tsdx": "0.14.1",
|
|
"typescript": "4.5.4",
|
|
"wait-on": "5.3.0"
|
|
},
|
|
"resolutions": {
|
|
"@ceramicnetwork/common": "1.11.0",
|
|
"bcrypto": "5.2.0",
|
|
"better-sqlite3": "7.4.6",
|
|
"typescript": "4.5.4"
|
|
},
|
|
"dependencies": {
|
|
"bottleneck": "2.19.5",
|
|
"node-fetch": "3.1.0"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not IE 11"
|
|
]
|
|
}
|