69 lines
3.3 KiB
JSON
69 lines
3.3 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",
|
|
"wait-for:db": "docker/wait-for.sh $DB_HOST $DB_PORT",
|
|
"wait-for:auth": "docker/wait-for.sh localhost $AUTH_SERVER_PORT",
|
|
"start:auth": "yarn wait-for:db && yarn workspace @standardnotes/auth-server start",
|
|
"start:auth-worker": "yarn wait-for:auth && 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 wait-for:auth && 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",
|
|
"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"
|
|
}
|
|
}
|