This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
forked from Lumieducation/Lumi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 5.75 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
{
"name": "lumi",
"version": "0.9.0-beta.3",
"private": true,
"description": "A tool to create and display interactive content with H5P",
"author": "Lumi Education Jan Philip Schellenberg & Sebastian Rettig GbR <[email protected]>",
"main": "build/server/main.js",
"dependencies": {
"@lumieducation/h5p-express": "9.1.2",
"@lumieducation/h5p-html-exporter": "9.1.2",
"@lumieducation/h5p-server": "9.1.2",
"@lumieducation/xapi-aggregator": "1.0.1-alpha.7",
"@sentry/electron": "2.5.4",
"@sentry/node": "6.14.1",
"body-parser": "1.19.2",
"debug": "4.3.4",
"electron-log": "4.4.6",
"electron-updater": "4.6.5",
"express": "4.17.3",
"express-fileupload": "1.3.1",
"express-http-proxy": "1.6.3",
"fs-extra": "10.0.1",
"i18next": "21.6.14",
"i18next-fs-backend": "1.1.4",
"i18next-http-middleware": "3.2.0",
"i18next-node-fs-backend": "2.1.3",
"matomo-tracker": "2.2.4",
"nanoid": "3.3.2",
"node-machine-id": "1.1.12",
"object-hash": "3.0.0",
"promisepipe": "3.0.0",
"recursive-readdir": "2.2.2",
"simple-scorm-packager": "0.2.5",
"socket.io": "4.4.1",
"superagent": "7.1.1",
"tmp-promise": "3.0.3",
"upath": "2.0.1"
},
"scripts": {
"build": "npm run build:server && npm run build:client && npm run build:reporter-client",
"build:all": "npm run build && ./node_modules/.bin/electron-builder --config builder.config.js --mac --win --linux --publish never",
"build:all:dev": "CSC_IDENTITY_AUTO_DISCOVERY=false npm run build:all",
"build:client": "npm run build --prefix client && cp -r client/build build/client && rm -rf client/build",
"build:reporter-client": "npm run build --prefix reporter-client",
"build:linux": "npm run build && ./node_modules/.bin/electron-builder --config builder.config.js --linux --publish never",
"build:mac": "npm run build && ./node_modules/.bin/electron-builder --config builder.config.js --mac --publish never",
"build:mac:dev": "CSC_IDENTITY_AUTO_DISCOVERY=false npm run build:mac",
"build:sentry": "cross-env RELEASE=true npm run build:client",
"build:server": "npx tsc --project tsconfig.json",
"build:win": "npm run build && cp -r electron/assets/appx build && npx --no-install electron-builder --config builder.config.js --windows nsis --publish never && rm -rf build/appx",
"build:win32": "npm run build && cp -r electron/assets/appx build && npx --no-install electron-builder --config builder.config.js --windows nsis --publish never --ia32 && rm -rf build/appx",
"ci": "npm run lint && npm run format:check && npm run build && npm run test",
"clean": "rm -rf build/",
"format": "npx prettier --write \"{server,client,test}/**/*.{ts,tsx}\"",
"format:check": "npx prettier --check \"{server,client,test}/**/*.{ts,tsx}\"",
"lint": "./node_modules/.bin/tslint --project tsconfig.json --config tslint.json",
"publish:mac": "npx --no-install electron-builder --config builder.config.js --mac --publish always",
"publish:win": "cp -r electron/assets/appx build && npx --no-install electron-builder --config builder.config.js --win --publish always && rm -rf build/appx",
"build:linux:dev": "CSC_IDENTITY_AUTO_DISCOVERY=false npm run build:linux",
"publish:linux": "npx --no-install electron-builder --config builder.config.js --linux --publish always",
"start": "cross-env DEBUG=lumi:* LOG_LEVEL=debug PORT=8080 ./node_modules/.bin/electron .",
"start:dev": "cross-env NODE_ENV=development DEBUG=lumi:* LOG_LEVEL=debug PORT=8080 ./node_modules/.bin/electron .",
"test": "cross-env NODE_ENV=development jest && npm run test --prefix client/",
"test:watch": "cross-env NODE_ENV=development jest --watch",
"test:e2e": "npx jest --config jest.e2e.config.js --run-in-band",
"semantic-release": "semantic-release",
"uninstall": "rm -rf build/ && rm -rf node_modules/",
"install:h5p-core": "sh scripts/install.sh 22115c0aeaa34faef5109c3f378add2d1647c837 c886fa6ded498bbe0148e9484f9b1534facc264e",
"prepare": "husky install",
"ci:all": "npm ci && (cd client && npm ci) && (cd reporter-client && npm ci)",
"localize": "json-autotranslate -d --directory-structure ngx-translate -c google_translate.json -s google-translate --decode-escapes -t key-based -i locales/lumi -m i18next && prettier --write \"locales/lumi/*.json\""
},
"publishConfig": {
"access": "restricted"
},
"devDependencies": {
"@commitlint/cli": "16.2.3",
"@commitlint/config-conventional": "16.2.1",
"@semantic-release/git": "10.0.1",
"@types/express": "4.17.13",
"@types/jest": "27.0.2",
"@types/socket.io": "3.0.1",
"@types/socket.io-client": "1.4.36",
"@types/tmp": "0.2.3",
"cross-env": "7.0.3",
"electron": "17.3.1",
"electron-builder": "23.0.3",
"electron-notarize": "1.2.1",
"husky": "7.0.4",
"jest": "26.6.0",
"json-autotranslate": "1.10.1",
"prettier": "2.6.1",
"semantic-release": "19.0.2",
"socket.io-client": "4.4.1",
"spectron": "19.0.0",
"supertest": "6.2.2",
"ts-jest": "26.5.6",
"tslint": "6.1.3",
"tslint-config-airbnb": "5.11.2",
"tslint-config-prettier": "1.18.0",
"tslint-react": "5.0.0",
"typescript": "4.6.3",
"y18n": "5.0.8"
},
"repository": {
"type": "git",
"url": "https://github.com/Lumieducation/Lumi.git"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
}