2022-06-17 10:47:25 +00:00
|
|
|
{
|
|
|
|
"name": "@standardnotes/server-monorepo",
|
|
|
|
"private": true,
|
|
|
|
"author": "Standard Notes",
|
|
|
|
"workspaces": {
|
|
|
|
"packages": [
|
|
|
|
"packages/*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"engines": {
|
2022-11-14 09:21:18 +00:00
|
|
|
"node": ">=18.0.0 <19.0.0"
|
2022-06-17 10:47:25 +00:00
|
|
|
},
|
2022-06-17 11:06:44 +00:00
|
|
|
"scripts": {
|
2022-06-22 10:33:00 +00:00
|
|
|
"lint": "yarn workspaces foreach -p -j 10 --verbose run lint",
|
|
|
|
"lint:auth": "yarn workspace @standardnotes/auth-server lint",
|
2022-06-21 12:33:45 +00:00
|
|
|
"lint:scheduler": "yarn workspace @standardnotes/scheduler-server lint",
|
2022-10-20 11:37:02 +00:00
|
|
|
"lint:syncing-server-js": "yarn workspace @standardnotes/syncing-server lint",
|
2022-06-22 14:44:45 +00:00
|
|
|
"lint:files": "yarn workspace @standardnotes/files-server lint",
|
2022-06-23 09:33:14 +00:00
|
|
|
"lint:api-gateway": "yarn workspace @standardnotes/api-gateway lint",
|
2022-07-11 09:58:13 +00:00
|
|
|
"lint:event-store": "yarn workspace @standardnotes/event-store lint",
|
2022-10-13 09:40:06 +00:00
|
|
|
"lint:websockets": "yarn workspace @standardnotes/websockets-server lint",
|
2022-10-06 09:54:22 +00:00
|
|
|
"lint:workspace": "yarn workspace @standardnotes/workspace-server lint",
|
2022-11-04 08:50:02 +00:00
|
|
|
"lint:analytics": "yarn workspace @standardnotes/analytics lint",
|
2022-11-18 10:54:35 +00:00
|
|
|
"lint:revisions": "yarn workspace @standardnotes/revisions-server lint",
|
2022-06-22 10:33:00 +00:00
|
|
|
"clean": "yarn workspaces foreach -p --verbose run clean",
|
2022-06-24 13:18:41 +00:00
|
|
|
"setup:env": "cp .env.sample .env && yarn workspaces foreach -p --verbose run setup:env",
|
2023-02-06 05:52:11 +00:00
|
|
|
"wait-for:db": "docker/wait-for.sh $DB_HOST $DB_PORT",
|
|
|
|
"wait-for:auth": "docker/wait-for.sh localhost $AUTH_SERVER_PORT",
|
2023-02-06 06:12:25 +00:00
|
|
|
"wait-for:syncing-server": "docker/wait-for.sh localhost $SYNCING_SERVER_PORT",
|
2023-02-06 05:52:11 +00:00
|
|
|
"start:auth": "yarn wait-for:db && yarn workspace @standardnotes/auth-server start",
|
2023-02-06 06:12:25 +00:00
|
|
|
"start:auth-worker": "yarn wait-for:db && yarn workspace @standardnotes/auth-server worker",
|
2022-06-21 12:04:58 +00:00
|
|
|
"start:scheduler": "yarn workspace @standardnotes/scheduler-server worker",
|
2023-02-06 06:12:25 +00:00
|
|
|
"start:syncing-server": "yarn wait-for:db && yarn workspace @standardnotes/syncing-server start",
|
|
|
|
"start:syncing-server-worker": "yarn wait-for:db && yarn workspace @standardnotes/syncing-server worker",
|
2022-06-22 14:44:45 +00:00
|
|
|
"start:files": "yarn workspace @standardnotes/files-server start",
|
|
|
|
"start:files-worker": "yarn workspace @standardnotes/files-server worker",
|
2023-02-06 06:12:25 +00:00
|
|
|
"start:api-gateway": "yarn wait-for:auth && yarn wait-for:syncing-server && yarn workspace @standardnotes/api-gateway start",
|
2022-10-13 09:40:06 +00:00
|
|
|
"start:websockets": "yarn workspace @standardnotes/websockets-server start",
|
2022-10-06 09:54:22 +00:00
|
|
|
"start:workspace": "yarn workspace @standardnotes/workspace-server start",
|
2022-11-04 08:50:02 +00:00
|
|
|
"start:analytics": "yarn workspace @standardnotes/analytics worker",
|
2022-11-18 10:54:35 +00:00
|
|
|
"start:revisions": "yarn workspace @standardnotes/revisions-server start",
|
2022-07-06 08:01:18 +00:00
|
|
|
"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",
|
2022-06-27 21:44:43 +00:00
|
|
|
"postversion": "./scripts/push-tags-one-by-one.sh",
|
|
|
|
"upgrade:snjs": "yarn workspaces foreach --verbose run upgrade:snjs"
|
2022-06-17 11:06:44 +00:00
|
|
|
},
|
2022-06-17 10:47:25 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@commitlint/cli": "^17.0.2",
|
|
|
|
"@commitlint/config-conventional": "^17.0.2",
|
2022-06-20 08:31:54 +00:00
|
|
|
"@lerna-lite/cli": "^1.5.1",
|
|
|
|
"@lerna-lite/list": "^1.5.1",
|
|
|
|
"@lerna-lite/run": "^1.5.1",
|
2022-10-06 10:43:30 +00:00
|
|
|
"@types/jest": "^29.1.1",
|
2023-01-18 08:49:38 +00:00
|
|
|
"@types/newrelic": "^9.4.0",
|
2022-11-14 09:28:42 +00:00
|
|
|
"@types/node": "^18.11.9",
|
2022-10-19 08:36:30 +00:00
|
|
|
"@typescript-eslint/parser": "^5.40.1",
|
2023-01-20 09:16:04 +00:00
|
|
|
"eslint": "^8.32.0",
|
2023-01-23 10:07:03 +00:00
|
|
|
"eslint-config-prettier": "^8.6.0",
|
2022-06-27 21:52:20 +00:00
|
|
|
"ini": "^3.0.0",
|
2022-07-27 11:12:25 +00:00
|
|
|
"npm-check-updates": "^16.0.1",
|
2022-06-21 12:25:56 +00:00
|
|
|
"prettier": "^2.7.1",
|
2022-08-29 11:57:37 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2022-10-19 08:25:01 +00:00
|
|
|
"typescript": "^4.8.4"
|
2022-06-17 10:47:25 +00:00
|
|
|
},
|
2022-10-19 08:25:01 +00:00
|
|
|
"packageManager": "yarn@4.0.0-rc.25",
|
2022-06-24 13:18:41 +00:00
|
|
|
"dependencies": {
|
2022-12-28 07:05:42 +00:00
|
|
|
"@sentry/node": "^7.28.1",
|
2023-01-18 08:49:38 +00:00
|
|
|
"newrelic": "^9.8.0"
|
2022-06-24 13:18:41 +00:00
|
|
|
}
|
2022-06-17 10:47:25 +00:00
|
|
|
}
|