84 lines
4.4 KiB
JSON
84 lines
4.4 KiB
JSON
{
|
|
"name": "@standardnotes/server-monorepo",
|
|
"private": true,
|
|
"author": "Standard Notes",
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0 <19.0.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "yarn workspaces foreach -p -j 10 --verbose run lint",
|
|
"lint:auth": "yarn workspace @standardnotes/auth-server lint",
|
|
"lint:scheduler": "yarn workspace @standardnotes/scheduler-server lint",
|
|
"lint:syncing-server-js": "yarn workspace @standardnotes/syncing-server lint",
|
|
"lint:files": "yarn workspace @standardnotes/files-server lint",
|
|
"lint:api-gateway": "yarn workspace @standardnotes/api-gateway lint",
|
|
"lint:event-store": "yarn workspace @standardnotes/event-store lint",
|
|
"lint:websockets": "yarn workspace @standardnotes/websockets-server lint",
|
|
"lint:workspace": "yarn workspace @standardnotes/workspace-server lint",
|
|
"lint:analytics": "yarn workspace @standardnotes/analytics lint",
|
|
"lint:revisions": "yarn workspace @standardnotes/revisions-server lint",
|
|
"clean": "yarn workspaces foreach -p --verbose run clean",
|
|
"setup:env": "cp .env.sample .env && yarn workspaces foreach -p --verbose run setup:env",
|
|
"start:auth": "yarn workspace @standardnotes/auth-server start",
|
|
"start:auth-worker": "yarn workspace @standardnotes/auth-server worker",
|
|
"start:scheduler": "yarn workspace @standardnotes/scheduler-server worker",
|
|
"start:syncing-server": "yarn workspace @standardnotes/syncing-server start",
|
|
"start:syncing-server-worker": "yarn workspace @standardnotes/syncing-server worker",
|
|
"start:files": "yarn workspace @standardnotes/files-server start",
|
|
"start:files-worker": "yarn workspace @standardnotes/files-server worker",
|
|
"start:api-gateway": "yarn workspace @standardnotes/api-gateway start",
|
|
"start:websockets": "yarn workspace @standardnotes/websockets-server start",
|
|
"start:workspace": "yarn workspace @standardnotes/workspace-server start",
|
|
"start:analytics": "yarn workspace @standardnotes/analytics worker",
|
|
"start:revisions": "yarn workspace @standardnotes/revisions-server start",
|
|
"start:revisions-worker": "yarn workspace @standardnotes/revisions-server worker",
|
|
"wait-for:db": "docker/wait-for.sh $DB_HOST $DB_PORT",
|
|
"wait-for:cache": "docker/wait-for.sh $REDIS_HOST $REDIS_PORT",
|
|
"wait-for:infra": "yarn wait-for:db && yarn wait-for:cache",
|
|
"wait-for:syncing-server": "docker/wait-for.sh localhost $SYNCING_SERVER_PORT",
|
|
"wait-for:auth": "docker/wait-for.sh localhost $AUTH_SERVER_PORT",
|
|
"wait-for:files": "docker/wait-for.sh localhost $FILES_SERVER_PORT",
|
|
"wait-for:revisions": "docker/wait-for.sh localhost $REVISIONS_SERVER_PORT",
|
|
"supervisor:start:syncing-server": "yarn wait-for:infra && yarn start:syncing-server",
|
|
"supervisor:start:syncing-server-worker": "yarn wait-for:syncing-server && yarn start:syncing-server-worker",
|
|
"supervisor:start:auth": "yarn wait-for:syncing-server && yarn start:auth",
|
|
"supervisor:start:auth-worker": "yarn wait-for:auth && yarn start:auth-worker",
|
|
"supervisor:start:files": "yarn wait-for:auth && yarn start:files",
|
|
"supervisor:start:files-worker": "yarn wait-for:files && yarn start:files-worker",
|
|
"supervisor:start:revisions": "yarn wait-for:files && yarn start:revisions",
|
|
"supervisor:start:revisions-worker": "yarn wait-for:revisions && yarn start:revisions-worker",
|
|
"supervisor:start:api-gateway": "yarn wait-for:revisions && yarn start:api-gateway",
|
|
"release": "lerna version --conventional-graduate --conventional-commits --yes -m \"chore(release): publish new version\"",
|
|
"publish": "lerna publish from-git --yes --no-verify-access --loglevel verbose",
|
|
"postversion": "./scripts/push-tags-one-by-one.sh",
|
|
"upgrade:snjs": "yarn workspaces foreach --verbose run upgrade:snjs"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.0.2",
|
|
"@commitlint/config-conventional": "^17.0.2",
|
|
"@lerna-lite/cli": "^1.5.1",
|
|
"@lerna-lite/list": "^1.5.1",
|
|
"@lerna-lite/run": "^1.5.1",
|
|
"@types/jest": "^29.1.1",
|
|
"@types/newrelic": "^9.4.0",
|
|
"@types/node": "^18.11.9",
|
|
"@typescript-eslint/parser": "^5.40.1",
|
|
"eslint": "^8.32.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"ini": "^3.0.0",
|
|
"npm-check-updates": "^16.0.1",
|
|
"prettier": "^2.7.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.8.4"
|
|
},
|
|
"packageManager": "yarn@4.0.0-rc.25",
|
|
"dependencies": {
|
|
"@sentry/node": "^7.28.1",
|
|
"newrelic": "^9.8.0"
|
|
}
|
|
}
|