forked from serlo/serlo-editor-for-edusharing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 5.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
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
{
"name": "@serlo/ece-as-a-service",
"version": "0.0.0",
"private": true,
"bugs": {
"url": "https://github.com/serlo/ece-as-a-service/issues"
},
"repository": "serlo/ece-as-a-service",
"license": "Apache-2.0",
"author": "Serlo Education e.V.",
"type": "module",
"scripts": {
"_eslint": "eslint \"{src/**/*,*}.{js,jsx,ts,tsx}\"",
"_prettier": "prettier .",
"build": "next build",
"dev": "yarn start:server-with-edusharing",
"docker:build": "docker build -t ece-as-a-service-local-build:latest . && docker image prune --force --filter label=stage=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 ece-as-a-service-from-local-build ece-as-a-service-local-build",
"docker:stop": "docker container stop ece-as-a-service-from-local-build && docker container rm ece-as-a-service-from-local-build",
"docker:rm": "docker image rm ece-as-a-service-local-build",
"e2e": "npm-run-all --parallel --race start:server 'e2e:run {@}' --",
"e2e:run": "yarn scripts:is-server-running --wait-for 60 3000 && cypress run",
"e2e:open": "cypress open",
"e2e:docker-build": "npm-run-all -c docker:build docker:run e2e docker:stop docker:rm",
"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",
"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:jest": "yarn scripts:is-server-running --wait-for 60 3000 && node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand",
"test:docker-build": "npm-run-all -c docker:build docker:run test docker:stop docker:rm",
"scripts:is-server-running": "ts-node-esm --transpileOnly scripts/is-server-running.ts"
},
"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": {
"@edtr-io/core": "^2.8.2",
"@edtr-io/plugin": "^2.8.2",
"@edtr-io/plugin-anchor": "^2.8.2",
"@edtr-io/plugin-geogebra": "^2.8.2",
"@edtr-io/plugin-highlight": "^2.8.2",
"@edtr-io/plugin-input-exercise": "^2.8.2",
"@edtr-io/plugin-multimedia-explanation": "^2.8.2",
"@edtr-io/plugin-rows": "^2.8.2",
"@edtr-io/plugin-sc-mc-exercise": "^2.8.2",
"@edtr-io/plugin-serlo-injection": "^2.8.3",
"@edtr-io/plugin-spoiler": "^2.8.2",
"@edtr-io/plugin-text": "^2.8.2",
"@edtr-io/renderer": "^2.8.2",
"@edtr-io/store": "^2.8.2",
"@edtr-io/ui": "^2.5.0",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
"@fortawesome/free-solid-svg-icons": "^6.3.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@next/env": "^13.2.3",
"clsx": "^1.2.1",
"default-import": "^1.1.5",
"express": "^4.18.2",
"form-data-encoder": "^2.1.4",
"formdata-node": "^5.0.0",
"fp-ts": "^2.13.1",
"immutable": "^4.2.4",
"io-ts": "^2.2.20",
"json-web-key": "^0.4.0",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.1",
"ltijs": "^5.9.0",
"mongodb": "^5.1.0",
"mongoose": "^6.10.0",
"next": "^13.2.3",
"node-fetch": "^3.3.0",
"raw-body": "^2.5.2",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-dnd": "^15.1.2",
"react-dnd-html5-backend": "^15.1.3",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"redux": "^4.2.1",
"rooks": "^7.4.4",
"styled-components": "^5.3.8",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
"@types/express": "^4.17.17",
"@types/jest": "^29.4.0",
"@types/jsonwebtoken": "^9.0.1",
"@types/multer": "^1.4.7",
"@types/node-fetch": "^2.6.2",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"autoprefixer": "^10.4.13",
"cypress": "^12.7.0",
"esbuild": "^0.17.10",
"eslint": "^8.35.0",
"eslint-config-next": "^13.2.3",
"jest": "^29.4.3",
"multer": "^1.4.5-lts.1",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"prettier": "^2.8.4",
"prettier-plugin-packagejson": "^2.4.3",
"tailwindcss": "^3.2.7",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"packageManager": "yarn@3.4.1",
"engines": {
"node": "^18.0.0"
}
}