mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-25 06:08:03 -05:00
* Fix console output with lerna for backend * fix app start command * Hasura waits that databse is up * Update readme
29 lines
980 B
JSON
29 lines
980 B
JSON
{
|
|
"name": "@the-game/monorepo",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "lerna run build",
|
|
"start:app:dev": "CI=true lerna run --parallel start:app:dev",
|
|
"start:backend": "lerna run --scope @the-game/backend --stream start:backend",
|
|
"start:backend:dev": "lerna run --parallel start:backend:dev",
|
|
"docker:start": "docker-compose up --build -d",
|
|
"docker:stop": "docker-compose down",
|
|
"docker:clean": "docker-compose down -v",
|
|
"hasura": "hasura --project ./hasura",
|
|
"hasura:console": "npm run hasura console -- --no-browser",
|
|
"hasura:migrate:init": "npm run hasura migrate create \"init\" -- --from-server",
|
|
"hasura:migrate:apply": "npm run hasura migrate apply",
|
|
"test": "cd packages/tests && yarn test && cd ../..",
|
|
"typecheck": "yarn workspaces run typecheck"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"dependencies": {
|
|
"lerna": "^3.16.4",
|
|
"hasura-cli": "1.2.1"
|
|
}
|
|
}
|