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/next/package.json
Views: 687
{1"name": "@cocalc/next",2"version": "0.103.5",3"description": "CoCalc's nextjs server",4"main": "lib/init.js",5"exports": {6"./init": "./lib/init.js",7"./lib/*": "./dist/lib/*.js",8"./lib/share": "./dist/lib/share/*.js"9},10"files": [11".next/*",12"styles/*",13"public/*",14"pages/*",15"lib/*",16"dist/*",17"components/*",18"README.md",19"package.json",20"tsconfig.json",21"tsconfig-dist.json",22"next-env.d.ts",23"next.config.js"24],25"scripts": {26"preinstall": "npx only-allow pnpm",27"build": "pnpm patch-openapi && pnpm exec next telemetry disable && rm -rf .next && pnpm build-dev && NODE_OPTIONS='--max_old_space_size=8000' next build && pnpm generate-openapi",28"build-dev": "pnpm patch-openapi && pnpm exec next telemetry disable && rm -rf dist && pnpm software && ../node_modules/.bin/tsc --build tsconfig-dist.json && pnpm generate-openapi",29"tsc": "../node_modules/.bin/tsc --build tsconfig-dist.json -w --pretty --preserveWatchOutput ",30"software": "bash ./software-inventory/setup.sh",31"build-deps": "cd ../backend && pnpm build && cd ../util && pnpm build",32"build-project": "pnpm build-deps && npx next telemetry disable && pnpm build-dev && NODE_OPTIONS='--max_old_space_size=8000' BASE_PATH=/$COCALC_PROJECT_ID/port/5000 next build",33"clean": "rm -rf node_modules .next dist",34"start": "unset PGHOST; pnpm exec next start",35"start-project": "unset PGHOST PGUSER COCALC_ROOT; export PORT=5000 BASE_PATH=/$COCALC_PROJECT_ID/port/5000; echo https://cocalc.com$BASE_PATH; pnpm start",36"test": "NODE_ENV='dev' pnpm exec jest && NODE_ENV='production' pnpm exec jest ./lib/api/framework.test.ts",37"prepublishOnly": "pnpm test",38"patch-openapi": "sed -i '/^interface NrfOasData {/s/^interface/export interface/' node_modules/next-rest-framework/dist/index.d.ts",39"generate-openapi": "cd dist && rm -f public && ln -sf ../public public && NODE_ENV='dev' NODE_PATH=`pwd` npx next-rest-framework generate",40"validate-openapi": "cd dist && rm -f public && ln -sf ../public public && NODE_ENV='dev' NODE_PATH=`pwd` npx next-rest-framework validate"41},42"repository": {43"type": "git",44"url": "git+https://github.com/sagemathinc/cocalc.git"45},46"author": "SageMath, Inc.",47"license": "SEE LICENSE IN LICENSE.md",48"bugs": {49"url": "https://github.com/sagemathinc/cocalc/issues"50},51"homepage": "https://github.com/sagemathinc/cocalc/tree/master/src/packages/next",52"private": false,53"dependencies-comment": "IMPORTANT: we install typescript as a normal dependency (not devDependencies) since it may be needed at runtime due to server settings changing!!",54"dependencies": {55"@ant-design/icons": "^4.8.3",56"@cocalc/assets": "workspace:*",57"@cocalc/backend": "workspace:*",58"@cocalc/cdn": "workspace:*",59"@cocalc/database": "workspace:*",60"@cocalc/frontend": "workspace:*",61"@cocalc/server": "workspace:*",62"@cocalc/util": "workspace:*",63"@openapitools/openapi-generator-cli": "^2.13.4",64"@types/react": "^18.3.10",65"@types/react-dom": "^18.3.0",66"@vscode/vscode-languagedetection": "^1.0.22",67"antd": "^5.21.1",68"antd-img-crop": "^4.21.0",69"awaiting": "^3.0.0",70"base-64": "^1.0.0",71"basic-auth": "^2.0.1",72"cookies": "^0.8.0",73"csv-stringify": "^6.3.0",74"dayjs": "^1.11.11",75"express": "^4.21.1",76"lodash": "^4.17.21",77"lru-cache": "^7.18.3",78"ms": "2.1.2",79"next": "14.2.15",80"next-remove-imports": "^1.0.11",81"next-rest-framework": "6.0.0-beta.4",82"password-hash": "^1.2.2",83"pg": "^8.7.1",84"react": "^18.3.1",85"react-dom": "^18.3.1",86"react-google-recaptcha": "^2.1.0",87"react-google-recaptcha-v3": "^1.9.7",88"serve-index": "^1.9.1",89"sha1": "^1.1.1",90"sharp": "^0.32.6",91"timeago-react": "^3.0.4",92"tslib": "^2.3.1",93"use-async-effect": "^2.2.7",94"uuid": "^8.3.2",95"xmlbuilder2": "^3.0.2",96"zod": "^3.23.5"97},98"devDependencies": {99"@babel/preset-typescript": "^7.23.3",100"@types/express": "^4.17.21",101"@types/node": "^18.16.14",102"node-mocks-http": "^1.14.1",103"react-test-renderer": "^18.2.0"104}105}106107108