This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
127 lines (127 loc) · 5.35 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@serlo/serlo-editor-for-edusharing",
"version": "2.5.0",
"private": true,
"bugs": {
"url": "https://github.com/serlo/serlo-editor-for-edusharing/issues"
},
"repository": "serlo/serlo-editor-for-edusharing",
"license": "Apache-2.0",
"author": "Serlo Education e.V.",
"type": "module",
"scripts": {
"_eslint": "eslint --config ./.eslintrc.json \"{src/**/*,*}.{js,jsx,ts,tsx}\"",
"_prettier": "prettier .",
"build": "next build",
"dev": "yarn start:server-with-edusharing",
"dev-no-docker": "next dev",
"docker:build": "docker build -t serlo-editor-for-edusharing-local-build:latest .",
"docker:rm": "docker image rm serlo-editor-for-edusharing-local-build",
"docker:run": "yarn start:mongodb && docker run --add-host=host.docker.internal:host-gateway --env-file .env --env-file .env-docker -p 3000:3000 --detach --name serlo-editor-for-edusharing-from-local-build serlo-editor-for-edusharing-local-build",
"docker:run-sh": "yarn start:mongodb && docker run --add-host=host.docker.internal:host-gateway --entrypoint sh -it --env-file .env --env-file .env-docker -p 3000:3000 --name serlo-editor-for-edusharing-from-local-build serlo-editor-for-edusharing-local-build",
"docker:stop": "docker container stop serlo-editor-for-edusharing-from-local-build && docker container rm serlo-editor-for-edusharing-from-local-build",
"e2e": "npm-run-all --parallel --race start:server 'e2e:run {@}' --",
"e2e:docker-build": "npm-run-all -c docker:build docker:run e2e docker:stop docker:rm",
"e2e:open": "cypress open",
"e2e:run": "yarn scripts:is-server-running --wait-for 60 3000 && cypress run",
"format": "run-p -c \"format:*\"",
"format:eslint": "yarn _eslint --fix",
"format:prettier": "yarn _prettier --write",
"lint": "run-p \"lint:*\"",
"lint:eslint": "yarn _eslint",
"lint:prettier": "yarn _prettier --check",
"lint:tsc": "tsc --noEmit --project tsconfig.json",
"scripts:is-server-running": "node --loader ts-node/esm scripts/is-server-running.ts",
"start:edusharing": "NODE_OPTIONS='--experimental-specifier-resolution=node' nodemon --watch src/server-utils.ts --watch src/edusharing-server --watch src/shared src/edusharing-server/start-server.ts",
"start:mongodb": "yarn scripts:is-server-running --reverse-mode 27017 && docker compose up -d || node -e 'process.exit(0)'",
"start:server": "yarn start:mongodb && TS_NODE_PROJECT='tsconfig.server.json' NODE_OPTIONS='--experimental-specifier-resolution=node' nodemon --watch src --watch .env --ignore src/edusharing-server src/backend/server.ts",
"start:server-with-edusharing": "npm-run-all -p -l start:edusharing start:server",
"stop:mongodb": "docker compose down",
"test": "npm-run-all --parallel --race start:server 'test:jest {@}' --",
"test:docker-build": "npm-run-all -c docker:build docker:run test:jest docker:stop docker:rm",
"test:jest": "yarn scripts:is-server-running --wait-for 60 3000 && node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand"
},
"resolutions": {
"@fortawesome/fontawesome-svg-core": "^6.1.2",
"@fortawesome/free-solid-svg-icons": "^6.1.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@next/env": "^13.5.6",
"@serlo/editor": "0.12.0",
"clsx": "^1.2.1",
"default-import": "^1.1.5",
"express": "^4.18.2",
"fp-ts": "^2.13.1",
"iframe-resizer-react": "^1.1.0",
"io-ts": "^2.2.20",
"json-web-key": "^0.4.0",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.1",
"ltijs": "^5.9.2",
"mongodb": "^5.1.0",
"next": "13.5.6",
"raw-body": "^2.5.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-modal": "^3.16.1",
"react-notify-toast": "Entkenntnis/tmp-react-notify-toast",
"rooks": "^7.4.4",
"ts-node": "^10.9.1",
"yarn": "^1.22.21"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@next/eslint-plugin-next": "^14.0.4",
"@next/swc-linux-x64-gnu": "^14.0.3",
"@svgr/webpack": "^8.1.0",
"@tailwindcss/typography": "^0.5.9",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.11",
"@types/jsonwebtoken": "^9.0.1",
"@types/multer": "^1.4.7",
"@types/node": "^18.18.4",
"@types/react": "^18.0.28",
"@types/react-modal": "^3.16.1",
"@types/react-notify-toast": "^0.5.4",
"@typescript-eslint/parser": "^6.15.0",
"autoprefixer": "^10.4.16",
"cypress": "^12.17.4",
"esbuild": "^0.17.10",
"eslint": "^8.51.0",
"jest": "^29.4.3",
"multer": "^1.4.5-lts.1",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"postcss-flexbugs-fixes": "^5.0.2",
"prettier": "^3.0.3",
"prettier-plugin-packagejson": "^2.4.6",
"prettier-plugin-tailwindcss": "^0.5.5",
"prop-types": "^15.8.1",
"tailwindcss": "^3.3.3",
"tailwindcss-animate": "^1.0.7",
"ts-jest": "^29.0.5",
"typescript": "^5.2.2"
},
"packageManager": "[email protected]",
"engines": {
"node": "^18.0.0"
},
"svgr": {
"svgo": false
},
"postcss": {
"plugins": {
"tailwindcss/nesting": {},
"tailwindcss": {},
"postcss-flexbugs-fixes": {},
"autoprefixer": {}
}
}
}