Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/package.json
1447 views
1
{
2
"name": "@cocalc/next",
3
"version": "0.103.5",
4
"description": "CoCalc's nextjs server",
5
"main": "lib/init.js",
6
"exports": {
7
"./init": "./lib/init.js",
8
"./lib/*": "./dist/lib/*.js",
9
"./lib/share": "./dist/lib/share/*.js"
10
},
11
"files": [
12
".next/*",
13
"styles/*",
14
"public/*",
15
"pages/*",
16
"lib/*",
17
"dist/*",
18
"components/*",
19
"README.md",
20
"package.json",
21
"tsconfig.json",
22
"tsconfig-dist.json",
23
"next-env.d.ts",
24
"next.config.js"
25
],
26
"scripts": {
27
"preinstall": "npx only-allow pnpm",
28
"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",
29
"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",
30
"ts-build": "../node_modules/.bin/tsc --build tsconfig-dist.json",
31
"tsc": "../node_modules/.bin/tsc --build tsconfig-dist.json -w --pretty --preserveWatchOutput ",
32
"software": "bash ./software-inventory/setup.sh",
33
"build-deps": "cd ../backend && pnpm build && cd ../util && pnpm build",
34
"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",
35
"clean": "rm -rf node_modules .next dist software-inventory/*.json lib/software-inventory/*.json",
36
"start": "unset PGHOST; pnpm exec next start",
37
"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",
38
"test": "NODE_ENV='dev' pnpm exec jest && NODE_ENV='production' pnpm exec jest ./lib/api/framework.test.ts",
39
"depcheck": "pnpx depcheck --ignores @openapitools/openapi-generator-cli,eslint-config-next,locales,components,lib,public,pages,software-inventory,pg",
40
"prepublishOnly": "pnpm test",
41
"patch-openapi": "sed '/^interface NrfOasData {/s/^interface/export interface/' node_modules/next-rest-framework/dist/index.d.ts > node_modules/next-rest-framework/dist/index.d.ts.temp && mv node_modules/next-rest-framework/dist/index.d.ts.temp node_modules/next-rest-framework/dist/index.d.ts",
42
"generate-openapi": "cd dist && rm -f public && ln -sf ../public public && NODE_ENV='dev' NODE_PATH=`pwd` npx next-rest-framework generate",
43
"validate-openapi": "cd dist && rm -f public && ln -sf ../public public && NODE_ENV='dev' NODE_PATH=`pwd` npx next-rest-framework validate",
44
"i18n:upload": "bash ./locales/upload.sh",
45
"i18n:download": "bash ./locales/download.sh"
46
},
47
"repository": {
48
"type": "git",
49
"url": "git+https://github.com/sagemathinc/cocalc.git"
50
},
51
"author": "SageMath, Inc.",
52
"license": "SEE LICENSE IN LICENSE.md",
53
"bugs": {
54
"url": "https://github.com/sagemathinc/cocalc/issues"
55
},
56
"homepage": "https://github.com/sagemathinc/cocalc/tree/master/src/packages/next",
57
"private": false,
58
"dependencies": {
59
"@ant-design/icons": "^6.0.0",
60
"@ant-design/v5-patch-for-react-19": "^1.0.3",
61
"@cocalc/backend": "workspace:*",
62
"@cocalc/cdn": "workspace:*",
63
"@cocalc/database": "workspace:*",
64
"@cocalc/frontend": "workspace:*",
65
"@cocalc/server": "workspace:*",
66
"@cocalc/util": "workspace:*",
67
"@openapitools/openapi-generator-cli": "^2.19.1",
68
"@vscode/vscode-languagedetection": "^1.0.22",
69
"antd": "^5.24.7",
70
"antd-img-crop": "^4.21.0",
71
"awaiting": "^3.0.0",
72
"base-64": "^1.0.0",
73
"basic-auth": "^2.0.1",
74
"csv-stringify": "^6.3.0",
75
"dayjs": "^1.11.11",
76
"express": "^4.21.2",
77
"lodash": "^4.17.21",
78
"lru-cache": "^7.18.3",
79
"ms": "2.1.2",
80
"next": "15.3.4",
81
"next-rest-framework": "6.0.0-beta.4",
82
"next-translate": "^2.6.2",
83
"password-hash": "^1.2.2",
84
"pg": "^8.7.1",
85
"react": "^19.1.0",
86
"react-dom": "^19.1.0",
87
"react-google-recaptcha-v3": "^1.9.7",
88
"react-intl": "^7.1.11",
89
"serve-index": "^1.9.1",
90
"timeago-react": "^3.0.4",
91
"use-async-effect": "^2.2.7",
92
"uuid": "^8.3.2",
93
"xmlbuilder2": "^3.0.2",
94
"zod": "^3.23.5"
95
},
96
"devDependencies": {
97
"@ant-design/cssinjs": "^1.23.0",
98
"@types/express": "^4.17.21",
99
"@types/node": "^18.16.14",
100
"@types/react": "^19.1.8",
101
"@uiw/react-textarea-code-editor": "^3.1.1",
102
"next-rspack": "^15.3.4",
103
"node-mocks-http": "^1.14.1",
104
"react-test-renderer": "^19.1.0"
105
},
106
"pnpm": {
107
"overrides": {
108
"@types/react": "19.1.8"
109
}
110
}
111
}
112
113