Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/hub/package.json
Views: 687
{1"name": "@cocalc/hub",2"version": "1.120.6",3"description": "CoCalc: Backend webserver component",4"exports": {5"./*": "./dist/*.js",6"./run/*": "./run/*.js"7},8"dependencies": {9"@cocalc/assets": "workspace:*",10"@cocalc/backend": "workspace:*",11"@cocalc/cdn": "workspace:*",12"@cocalc/database": "workspace:*",13"@cocalc/frontend": "workspace:*",14"@cocalc/hub": "workspace:*",15"@cocalc/next": "workspace:*",16"@cocalc/server": "workspace:*",17"@cocalc/static": "workspace:*",18"@cocalc/util": "workspace:*",19"@isaacs/ttlcache": "^1.2.1",20"@passport-next/passport-google-oauth2": "^1.0.0",21"@passport-next/passport-oauth2": "^2.1.4",22"@types/formidable": "^3.4.5",23"@types/primus": "^7.3.6",24"@types/react": "^18.3.10",25"@types/uuid": "^8.3.1",26"async": "^1.5.2",27"awaiting": "^3.0.0",28"basic-auth": "^2.0.1",29"bindings": "^1.3.0",30"blocked": "^1.1.0",31"commander": "^7.2.0",32"compression": "^1.7.4",33"cookie-parser": "^1.4.3",34"cookies": "^0.8.0",35"cors": "^2.8.5",36"debug": "^4.3.2",37"escape-html": "^1.0.3",38"express": "^4.21.1",39"formidable": "^3.5.1",40"http-proxy": "^1.18.1",41"immutable": "^4.3.0",42"jquery": "^3.6.0",43"json-stable-stringify": "^1.0.1",44"lodash": "^4.17.21",45"lru-cache": "^7.18.3",46"mime": "^1.3.4",47"mkdirp": "^1.0.4",48"ms": "2.1.2",49"next": "14.2.15",50"nyc": "^15.1.0",51"parse-domain": "^5.0.0",52"passport": "^0.6.0",53"password-hash": "^1.2.2",54"primus": "^8.0.7",55"prom-client": "^13.0.0",56"random-key": "^0.3.2",57"react": "^18.3.1",58"react-dom": "^18.3.1",59"read": "^1.0.7",60"require-reload": "^0.2.2",61"safe-json-stringify": "^1.2.0",62"serve-index": "^1.9.1",63"sql-string-escape": "^1.1.6",64"temp": "^0.9.4",65"uglify-js": "^3.14.1",66"underscore": "^1.12.1",67"uuid": "^8.3.2",68"validator": "^13.6.0",69"webpack-dev-middleware": "^7.4.2",70"webpack-hot-middleware": "^2.26.1",71"ws": "^8.18.0"72},73"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.",74"devDependencies": {75"@types/express": "^4.17.21",76"@types/http-proxy": "^1.17.9",77"@types/node": "^18.16.14",78"@types/passport": "^1.0.9",79"@types/react-dom": "^18.3.0",80"coffee-coverage": "^3.0.1",81"coffeescript": "^2.5.1",82"expect": "^26.6.2",83"node-cjsx": "^2.0.0",84"should": "^7.1.1",85"sinon": "^4.5.0"86},87"scripts": {88"preinstall": "npx only-allow pnpm",89"build": "tsc --build && coffee -m -c -o dist/ .",90"hub-project-dev-nobuild": "unset DATA COCALC_ROOT BASE_PATH && export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && export PGHOST=${PGHOST:=`realpath $INIT_CWD/../../data/postgres/socket`} && PGUSER='smc' NODE_ENV=${NODE_ENV:=development} NODE_OPTIONS='--max_old_space_size=8000 --trace-warnings --enable-source-maps --inspect' cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",91"hub-personal": "unset DATA COCALC_ROOT BASE_PATH && export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && export PGHOST=${PGHOST:=`realpath $INIT_CWD/../../data/postgres/socket`} && PGUSER='smc' NODE_ENV=${NODE_ENV:=development} NODE_OPTIONS='--max_old_space_size=8000 --trace-warnings --enable-source-maps --inspect' cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0 --personal",92"hub-project-dev": "pnpm build && NODE_OPTIONS='--inspect' pnpm hub-project-dev-nobuild",93"hub-project-prod": "pnpm build && unset DATA COCALC_ROOT BASE_PATH && export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && export PGHOST=${PGHOST:=`realpath $INIT_CWD/../../data/postgres/socket`} && PGUSER='smc' NODE_ENV=production NODE_OPTIONS='--max_old_space_size=8000 --enable-source-maps' cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",94"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 --enable-source-maps --trace-warnings --inspect' 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",95"hub-docker-prod": "export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && COCALC_DOCKER=true NODE_ENV=production PROJECTS=/projects/[project_id] PORT=443 NODE_OPTIONS='--max_old_space_size=8000 --enable-source-maps' 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",96"hub-docker-prod-nossl": "export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && COCALC_DOCKER=true NODE_ENV=production PROJECTS=/projects/[project_id] PORT=80 NODE_OPTIONS='--max_old_space_size=8000 --enable-source-maps' cocalc-hub-server --mode=multi-user --all --hostname=0.0.0.0",97"tsc": "tsc --watch --pretty --preserveWatchOutput",98"test": "jest dist/",99"prepublishOnly": "test"100},101"repository": {102"type": "git",103"url": "https://github.com/sagemathinc/cocalc"104},105"keywords": [106"python",107"sage",108"sagemath",109"latex",110"terminal",111"web",112"ide",113"math",114"mathematics"115],116"author": "SageMath, Inc.",117"license": "SEE LICENSE.md",118"bugs": {119"url": "https://github.com/sagemathinc/cocalc/issues"120},121"homepage": "https://github.com/sagemathinc/cocalc/tree/master/src/packages/hub",122"bin": {123"cocalc-hub-server": "./run/hub.js",124"cocalc-hub-stats-updater": "./run/stats-updater.js",125"cocalc-hub-delete-projects": "./run/delete-projects.js",126"cocalc-hub-maintenance-expired": "./run/maintenance-expired.js",127"cocalc-hub-maintenance-syncstrings": "./run/maintenance-syncstrings.js",128"cocalc-hub-maintenance-blobs": "./run/maintenance-blobs.js",129"cocalc-hub-stripe-sync": "./run/stripe-sync.js"130}131}132133134