Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 6.66 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 6.66 KB
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
128
129
130
131
132
{
"name": "@lumieducation/h5p-monorepo",
"private": true,
"version": "7.0.1",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/Lumieducation/H5P-Nodejs-library"
},
"scripts": {
"build:h5p-clamav-scanner": "npm run build --workspace=packages/h5p-clamav-scanner",
"build:h5p-examples": "npm run build --workspace=packages/h5p-examples",
"build:h5p-express": "npm run build --workspace=packages/h5p-express",
"build:h5p-html-exporter": "npm run build --workspace=packages/h5p-html-exporter",
"build:h5p-react": "npm run build --workspace=packages/h5p-react",
"build:h5p-redis-lock": "npm run build --workspace=packages/h5p-redis-lock",
"build:h5p-server": "npm run build --workspace=packages/h5p-server",
"build:h5p-shared-state-server": "npm run build --workspace=packages/h5p-shared-state-server",
"build:h5p-svg-sanitizer": "npm run build --workspace=packages/h5p-svg-sanitizer",
"build:h5p-webcomponents": "npm run build --workspace=packages/h5p-webcomponents",
"build": "npm run build --workspace=packages/h5p-server && concurrently \"npm run build --workspace=packages/h5p-express\" \"npm run build --workspace=packages/h5p-html-exporter\" \"npm run build --workspace=packages/h5p-redis-lock\" \"npm run build --workspace=packages/h5p-svg-sanitizer\" \"npm run build --workspace=packages/h5p-clamav-scanner\" \"npm run build --workspace=packages/h5p-mongos3\" && concurrently \"npm run build --workspace=packages/h5p-examples\" \"npm run build:h5p-webcomponents\" && npm run build:h5p-react && npm run build:h5p-shared-state-server",
"clean": "rm -rf typedoc node_modules test/data/content-type-cache/real-content-types.json test/data/hub-content",
"download:content-type-cache": "ts-node scripts/update-real-content-type-cache.ts",
"download:content": "node scripts/download-examples.js test/data/content-type-cache/real-content-types.json test/data/hub-content",
"download:h5p": "sh scripts/install.sh",
"format:check": "npx prettier --check \"packages/*/{src,test,examples}/**/*.{ts,tsx}\"",
"format": "npx prettier --write \"packages/*/{src,test,examples}/**/*.{ts,tsx}\"",
"lint:docs": "remark -u validate-links ./docs --frail --quiet",
"lint:main": "eslint . --quiet",
"lint": "concurrently \"npm:lint:main\" \"npm:lint:docs\"",
"localize": "./localize.sh",
"prepare": "husky",
"publish:h5p-express": "cd packages/h5p-express && npm publish",
"publish:h5p-html-exporter": "cd packages/h5p-html-exporter && npm publish",
"publish:h5p-mongos3": "cd packages/h5p-mongos3 && npm publish",
"release:build": "lerna run --parallel build",
"release:publish:dry-run": "lerna publish from-package --dist-tag next --contents build --registry=\"http://localhost:4873/\"",
"release:publish": "lerna publish from-package --dist-tag next --contents build",
"release:version": "lerna version --exact --no-changelog --no-push --no-git-tag-version",
"setup": "concurrently \"npm run build\" \"npm run download:content-type-cache && npm run download:h5p\"",
"start:dbs": "docker-compose -f scripts/mongo-s3-docker-compose.yml up -d",
"start:rest:server": "npm run start --workspace=packages/h5p-rest-example-server",
"start": "npm run start --workspace=packages/h5p-examples",
"stop:dbs": "docker-compose -f scripts/mongo-s3-docker-compose.yml down",
"test:h5p-clamav-scanner": "vitest run --config packages/h5p-clamav-scanner/vitest.config.ts",
"test:h5p-mongos3": "vitest run --config vitest.db.config.ts",
"test:h5p-redis-lock": "npm test --workspace=packages/h5p-redis-lock",
"test:h5p-shared-state-server": "vitest run --config vitest.config.ts -- packages/h5p-shared-state-server/test",
"test:html-exporter": "vitest run --config packages/h5p-html-exporter/vitest.config.ts",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:server+upload": "npm run test:server+upload --workspace=packages/h5p-server",
"test:upload": "npm run test:upload --workspace=packages/h5p-server",
"test:watch:h5p-express": "npm run test:watch --workspace=packages/h5p-express",
"test:watch:h5p-mongos3": "npm run test:watch --workspace=packages/h5p-mongos3",
"test:watch": "vitest --config vitest.config.ts",
"test": "vitest run --config vitest.config.ts"
},
"release": {
"branch": "release"
},
"contributors": [
{
"name": "Sebastian Rettig",
"email": "serettig@posteo.de"
},
{
"name": "Nikolas Martens"
},
{
"name": "Jan Philip Schellenberg",
"email": "jps@Lumi.education",
"url": "http://Lumi.education"
},
{
"name": "Bo Biene",
"email": "biene@inray.de",
"url": "https://www.qm-team.de/mymento-kursportal/"
},
{
"name": "jdavidavendano"
},
{
"name": "jankapunkt"
}
],
"devDependencies": {
"@commitlint/config-conventional": "20.5.3",
"@eslint/js": "^9.17.0",
"@typescript-eslint/eslint-plugin": "8.59.2",
"@typescript-eslint/parser": "8.59.2",
"@vitest/coverage-v8": "^4.0.18",
"axios": "1.16.0",
"commitlint": "20.5.3",
"concurrently": "9.2.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-react": "^7.35.0",
"globals": "^17.0.0",
"husky": "9.1.7",
"json-autotranslate": "1.16.2",
"lerna": "9.0.7",
"prettier": "3.6.2",
"remark-cli": "12.0.1",
"remark-validate-links": "13.1.0",
"ts-node": "10.9.2",
"typedoc": "0.28.19",
"typedoc-plugin-missing-exports": "^4.0.0",
"typedoc-plugin-rename-defaults": "^0.7.3",
"typescript": "5.9.3",
"typescript-eslint": "^8.18.2",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=7.0.0"
},
"workspaces": [
"packages/h5p-server",
"packages/h5p-express",
"packages/h5p-html-exporter",
"packages/h5p-mongos3",
"packages/h5p-webcomponents",
"packages/h5p-react",
"packages/h5p-redis-lock",
"packages/h5p-shared-state-server",
"packages/h5p-svg-sanitizer",
"packages/h5p-clamav-scanner",
"packages/h5p-examples",
"packages/h5p-rest-example-server",
"packages/h5p-rest-example-client"
]
}