@cocalc/hub
Version:
CoCalc: Backend webserver component
147 lines • 5.65 kB
JSON
{
"name": "@cocalc/hub",
"version": "1.120.6",
"description": "CoCalc: Backend webserver component",
"exports": {
"./*": "./dist/*.js",
"./run/*": "./run/*.js"
},
"workspaces": [
"./",
"../assets",
"../backend",
"../cdn",
"../database",
"../frontend",
"../next",
"../server",
"../static",
"../util"
],
"dependencies": {
"@cocalc/assets": "^1.10.1",
"@cocalc/backend": "^1.21.1",
"@cocalc/cdn": "^1.15.1",
"@cocalc/database": "^0.35.8",
"@cocalc/frontend": "^1.102.7",
"@cocalc/next": "^0.103.5",
"@cocalc/server": "^0.44.5",
"@cocalc/static": "^1.136.7",
"@cocalc/util": "^1.76.5",
"@passport-next/passport-google-oauth2": "^1.0.0",
"@passport-next/passport-oauth2": "^2.1.1",
"@sendgrid/client": "^7.4.6",
"@types/express": "^4.17.13",
"@types/lru-cache": "^5.1.1",
"@types/nodemailer": "^6.4.4",
"@types/react": "^17.0.33",
"@types/uuid": "^8.3.1",
"async": "^1.5.2",
"async-await-utils": "^3.0.1",
"awaiting": "^3.0.0",
"basic-auth": "^2.0.1",
"bindings": "^1.3.0",
"blocked": "^1.1.0",
"bottleneck": "^2.19.5",
"commander": "^7.2.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.3",
"cookies": "^0.8.0",
"cors": "^2.8.5",
"debug": "^4.3.2",
"dot-object": "^2.1.3",
"express": "^4.17.1",
"express-session": "^1.10.4",
"http-proxy": "^1.18.1",
"immutable": "^3.8.2",
"jquery": "^3.6.0",
"jsdom": "^16.2.2",
"json-stable-stringify": "^1.0.1",
"lodash": "^4.17.21",
"lru-cache": "^6.0.0",
"mime": "^1.3.4",
"mkdirp": "^1.0.4",
"next": "12.3.4",
"nodemailer": "^6.7.0",
"nyc": "^15.1.0",
"parse-domain": "^5.0.0",
"passport": "^0.6.0",
"password-hash": "^1.2.2",
"primus": "^8.0.6",
"prom-client": "^13.0.0",
"random-key": "^0.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"read": "^1.0.7",
"require-reload": "^0.2.2",
"rimraf": "^2.4.4",
"safe-json-stringify": "^1.2.0",
"saml2js": "^0.1.2",
"sanitize-html": "^2.3.2",
"serve-index": "^1.9.1",
"sql-string-escape": "^1.1.6",
"temp": "^0.9.4",
"uglify-js": "^3.14.1",
"underscore": "^1.12.1",
"uuid": "^8.3.2",
"validator": "^13.6.0"
},
"devDependenicesNotes": "For license and size reasons, we make @cocalc/crm a dev dependency so it is NOT installed unless explicitly installed as a separate step.",
"devDependencies": {
"@types/http-proxy": "^1.17.9",
"@types/jest": "^29.2.3",
"@types/node": "^14.18.10",
"@types/passport": "^1.0.9",
"@types/react-dom": "^17.0.2",
"@types/sanitize-html": "^2.3.1",
"coffee-coverage": "^3.0.1",
"coffeescript": "^2.5.1",
"expect": "^26.6.2",
"jest": "^29.3.1",
"node-cjsx": "^2.0.0",
"should": "^7.1.1",
"sinon": "^4.5.0",
"typescript": "^4.7.4"
},
"scripts": {
"build": "npx tsc && coffee -m -c -o dist/ .",
"hub-project-dev-nobuild": "unset DATA COCALC_ROOT BASE_PATH && export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && export PGHOST=${PGHOST:=$INIT_CWD/../../data/postgres/socket} && PGUSER='smc' NODE_ENV=development NODE_OPTIONS='--max_old_space_size=6000 --trace-warnings --enable-source-maps' npx cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",
"hub-project-dev": "npm run build && npm run hub-project-dev-nobuild",
"hub-project-prod": "npm run build && unset DATA COCALC_ROOT BASE_PATH && export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && export PGHOST=${PGHOST:=$INIT_CWD/../../data/postgres/socket} && PGUSER='smc' NODE_ENV=production NODE_OPTIONS='--max_old_space_size=8000 --enable-source-maps' npx cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",
"hub-docker-dev": "export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && COCALC_DOCKER=true NODE_ENV=development PROJECTS=/projects/[project_id] PORT=443 NODE_OPTIONS='--max_old_space_size=8000 --trace-warnings --enable-source-maps' npx cocalc-hub-server --mode=multi-user --all --hostname=0.0.0.0 --https-key=/projects/conf/cert/key.pem --https-cert=/projects/conf/cert/cert.pem",
"hub-docker-prod": "export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && COCALC_DOCKER=true NODE_OPTIONS=--max_old_space_size=8000 NODE_ENV=production PROJECTS=/projects/[project_id] PORT=443 NODE_OPTIONS=--enable-source-maps npx cocalc-hub-server --mode=multi-user --all --hostname=0.0.0.0 --https-key=/projects/conf/cert/key.pem --https-cert=/projects/conf/cert/cert.pem",
"tsc": "npx tsc --watch --pretty --preserveWatchOutput",
"test": "npx jest dist/",
"prepublishOnly": "grep '\"next\"' package.json |grep -v \\\\^ && npm test"
},
"repository": {
"type": "git",
"url": "https://github.com/sagemathinc/cocalc"
},
"keywords": [
"python",
"sage",
"sagemath",
"latex",
"terminal",
"web",
"ide",
"math",
"mathematics"
],
"author": "SageMath, Inc.",
"license": "SEE LICENSE.md",
"bugs": {
"url": "https://github.com/sagemathinc/cocalc/issues"
},
"homepage": "https://github.com/sagemathinc/cocalc/tree/master/src/packages/hub",
"bin": {
"cocalc-hub-server": "./run/hub.js",
"cocalc-hub-stats-updater": "./run/stats-updater.js",
"cocalc-hub-delete-projects": "./run/delete-projects.js",
"cocalc-hub-maintenance-expired": "./run/maintenance-expired.js",
"cocalc-hub-maintenance-syncstrings": "./run/maintenance-syncstrings.js",
"cocalc-hub-maintenance-blobs": "./run/maintenance-blobs.js",
"cocalc-hub-stripe-sync": "./run/stripe-sync.js"
}
}