-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3.18 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
{
"name": "serlo-editor-lti-tool",
"version": "0.0.1",
"private": true,
"license": "Apache-2.0",
"author": "Serlo Education e.V.",
"scripts": {
"build": "npm-run-all --parallel \"build:*\"",
"build:backend": "esbuild ./src/backend/index.ts --bundle --platform=node --outfile=dist/backend/index.cjs",
"build:frontend": "vite build",
"dev": "npm-run-all --parallel \"dev:*\"",
"dev:frontend": "vite build --watch",
"dev:databases": "docker compose up --detach --build",
"dev:backend": "dotenvx run -- tsx --watch src/backend/index.ts",
"dev-edusharing": "dotenvx run -- tsx --watch src/edusharing-mock/start-server.ts",
"dev-itslearning": "dotenvx run -- tsx --watch src/itslearning-mock/start-server.ts",
"format": "npm-run-all --sequential --continue-on-error \"format:*\"",
"format:eslint": "eslint --fix",
"format:prettier": "prettier . --write",
"mariadb": "docker compose exec mariadb mariadb serlo -psecret",
"mariadb-dump": "docker compose exec -T mariadb mariadb-dump -psecret --databases serlo > docker-entrypoint-initdb.d/001-init.sql",
"mariadb-reset": "docker compose exec -T mariadb mariadb -psecret < docker-entrypoint-initdb.d/001-init.sql",
"lint": "npm-run-all --parallel \"lint:*\"",
"lint:eslint": "eslint",
"lint:prettier": "prettier --check .",
"lint:tsc": "tsc --noEmit",
"start": "yarn && yarn build && dotenvx run -- node dist/backend/index.cjs",
"test": "dotenvx run -- codeceptjs run --config e2e/codecept.conf.ts",
"wait-for-server": "timeout 120 bash -c 'until curl http://localhost:3000/lti/keys; do sleep 3; done'"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.685.0",
"@aws-sdk/s3-request-presigner": "^3.674.0",
"@dotenvx/dotenvx": "^1.21.1",
"@paralleldrive/cuid2": "^2.2.2",
"@serlo/editor": "0.19.0",
"express": "^4.19.2",
"fp-ts": "2.16.9",
"http-proxy-middleware": "^3.0.3",
"io-ts": "^2.2.21",
"jsonwebtoken": "9.0.2",
"jwt-decode": "4.0.0",
"lodash": "^4.17.21",
"ltijs": "^5.9.5",
"mongodb": "5.1.0",
"mysql2": "^3.11.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"url-join": "4.0.1",
"uuid": "^11.0.1"
},
"devDependencies": {
"@eslint/compat": "^1.2.1",
"@eslint/js": "^9.14.0",
"@types/jsonwebtoken": "9.0.7",
"@types/lodash": "^4",
"@types/ltijs": "4.0.11",
"@types/multer": "^1",
"@types/node": "^22.7.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/url-join": "^4.0.3",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react-swc": "^3.7.1",
"codeceptjs": "^3.6.7",
"esbuild": "^0.24.0",
"eslint": "^9.13.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.14",
"globals": "^15.11.0",
"json-web-key": "^0.4.0",
"jwks-rsa": "^3.1.0",
"multer": "^1.4.5-lts.1",
"npm-run-all": "^4.1.5",
"playwright": "^1.48.2",
"prettier": "3.3.3",
"prettier-plugin-packagejson": "^2.5.3",
"ts-node": "^10.9.2",
"tsx": "4.19.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.0",
"vite": "^5.4.3"
},
"packageManager": "[email protected]"
}