-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
package.json
123 lines (123 loc) · 6.38 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
{
"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 --prefix packages/h5p-examples",
"build:h5p-express": "npm run build --prefix packages/h5p-express",
"build:h5p-html-exporter": "npm run build --prefix packages/h5p-html-exporter",
"build:h5p-react": "npm run build --prefix packages/h5p-react",
"build:h5p-redis-lock": "npm run build --prefix packages/h5p-redis-lock",
"build:h5p-server": "npm run build --prefix packages/h5p-server",
"build:h5p-shared-state-server": "npm run build --prefix packages/h5p-shared-state-server",
"build:h5p-webcomponents": "npm run build --prefix packages/h5p-webcomponents",
"build": "npm run build --prefix packages/h5p-server && concurrently \"npm run build --prefix packages/h5p-express\" \"npm run build --prefix packages/h5p-html-exporter\" \"npm run build --prefix packages/h5p-redis-lock\" \"npm run build --prefix packages/h5p-mongos3\" && concurrently \"npm run build --prefix 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 -c .eslintrc.js --ext .ts packages --quiet",
"lint:rest-client": "npm run lint --prefix packages/h5p-rest-example-client",
"lint": "concurrently \"npm:lint:main\" \"npm:lint:rest-client\" \"npm:lint:docs\"",
"localize": "./localize.sh",
"postinstall": "npx lerna bootstrap && 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 --prefix packages/h5p-examples",
"start:rest:server": "npm run start --prefix 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 --prefix packages/h5p-examples",
"test:e2e": "npm run test:e2e --prefix packages/h5p-examples",
"test:h5p-mongos3": "npm test --prefix packages/h5p-mongos3",
"test:h5p-redis-lock": "npm test --prefix 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 --prefix packages/h5p-server",
"test:upload": "npm run test:upload --prefix packages/h5p-server",
"test:watch:h5p-express": "npm run test:watch --prefix packages/h5p-express",
"test:watch:h5p-mongos3": "npm run test:watch --prefix 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": "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": "17.8.1",
"@types/jest": "29.5.13",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"axios": "1.7.5",
"commitlint": "17.8.1",
"concurrently": "8.2.2",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.30.0",
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2",
"husky": "8.0.3",
"jest": "29.7.0",
"json-autotranslate": "1.14.3",
"lerna": "6.6.2",
"prettier": "2.8.8",
"remark-cli": "11.0.0",
"remark-validate-links": "12.1.1",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typedoc": "0.26.6",
"typescript": "5.5.4"
},
"engines": {
"node": ">=15.0.0",
"npm": ">=7.0.0"
}
}