-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
package.json
132 lines (132 loc) · 6.54 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
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-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-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-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",
"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",
"postinstall": "concurrently \"npm run build\" \"npm run download:content-type-cache && npm run download:h5p\"",
"pre-commit": "concurrently \"npm:lint\" \"npm:format\"",
"prepare": "husky install",
"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",
"semantic-release": "semantic-release",
"start:dbs": "docker-compose -f scripts/mongo-s3-docker-compose.yml up -d",
"start": "npm run start --workspace=packages/h5p-examples",
"start:rest:server": "npm run start --workspace=packages/h5p-rest-example-server",
"stop:dbs": "docker-compose -f scripts/mongo-s3-docker-compose.yml down",
"test:db": "npx jest --config jest.db.config.js --maxWorkers=${BUILD_WORKERS-`nproc`}",
"test:e2e:tests": "npm run test:e2e:tests --workspace=packages/h5p-examples",
"test:e2e": "npm run test:e2e --workspace=packages/h5p-examples",
"test:h5p-mongos3": "npm test --workspace=packages/h5p-mongos3",
"test:h5p-redis-lock": "npm test --workspace=packages/h5p-redis-lock",
"test:h5p-shared-state-server": "jest packages/h5p-shared-state-server/test",
"test:html-exporter": "jest --config packages/h5p-html-exporter/jest.config.js --maxWorkers=${BUILD_WORKERS-`nproc`}",
"test:integration": "npx jest --config jest.integration.config.js --maxWorkers=${BUILD_WORKERS-`nproc`}",
"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": "jest --watch --logHeapUsage --maxWorkers=${BUILD_WORKERS-`nproc`}",
"test": "jest --maxWorkers=${BUILD_WORKERS-`nproc`}",
"typedoc": "NODE_OPTIONS='--max-old-space-size=8096' npx typedoc"
},
"release": {
"branch": "release"
},
"contributors": [
{
"name": "Sebastian Rettig",
"email": "[email protected]"
},
{
"name": "Nikolas Martens"
},
{
"name": "Jan Philip Schellenberg",
"email": "[email protected]",
"url": "http://Lumi.education"
},
{
"name": "Bo Biene",
"email": "[email protected]",
"url": "https://www.qm-team.de/mymento-kursportal/"
},
{
"name": "jdavidavendano"
},
{
"name": "jankapunkt"
}
],
"devDependencies": {
"@commitlint/config-conventional": "19.6.0",
"@eslint/js": "^9.17.0",
"@types/jest": "29.5.14",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"axios": "1.7.9",
"commitlint": "19.6.1",
"concurrently": "9.1.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.35.0",
"globals": "^15.14.0",
"husky": "8.0.3",
"jest": "29.7.0",
"json-autotranslate": "1.14.5",
"lerna": "8.1.9",
"prettier": "2.8.8",
"remark-cli": "12.0.1",
"remark-validate-links": "13.0.2",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typedoc": "0.27.6",
"typescript": "5.7.2",
"typescript-eslint": "^8.18.2"
},
"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-webcomponents",
"packages/h5p-shared-state-server",
"packages/h5p-examples",
"packages/h5p-rest-example-server",
"packages/h5p-rest-example-client"
]
}