-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
114 lines (114 loc) · 5.55 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
{
"name": "lumi",
"version": "0.9.4",
"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",
"@sentry/electron": "3.0.8",
"@sentry/node": "7.51.2",
"body-parser": "1.20.2",
"debug": "4.3.4",
"electron": "20.3.12",
"electron-log": "4.4.8",
"electron-updater": "5.3.0",
"express": "4.19.2",
"express-fileupload": "1.4.0",
"express-http-proxy": "1.6.3",
"fs-extra": "10.1.0",
"i18next": "21.10.0",
"i18next-http-middleware": "3.3.0",
"i18next-node-fs-backend": "2.1.3",
"matomo-tracker": "2.2.4",
"nanoid": "3.3.6",
"object-hash": "3.0.0",
"promisepipe": "3.0.0",
"recursive-readdir": "2.2.3",
"simple-scorm-packager": "0.2.7",
"socket.io": "4.6.2",
"superagent": "8.0.9",
"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: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 && ./builder-configs/build.linux.sh --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 && builder-configs\\build.win.bat --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 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": "eslint . --ext .ts --ext .tsx --quiet",
"publish:mac": "npx --no-install electron-builder --config builder.config.js --mac --publish always",
"publish:win": "cp -r electron/assets/appx build && builder-configs\\build.win.bat --publish always && rm -rf build/appx",
"build:linux:dev": "CSC_IDENTITY_AUTO_DISCOVERY=false npm run build:linux",
"publish:linux": "npm run build && ./builder-configs/build.linux.sh --publish always",
"start:dev": "cross-env NODE_ENV=development DEBUG=lumi:* LOG_LEVEL=debug PORT=8080 ./node_modules/.bin/electron .",
"start": "cross-env DEBUG=lumi:* LOG_LEVEL=debug PORT=8080 ./node_modules/.bin/electron .",
"test:e2e": "npx jest --config jest.e2e.config.js --run-in-band",
"test:watch": "cross-env NODE_ENV=development jest --watch",
"test": "cross-env NODE_ENV=development jest && npm run test --prefix client/",
"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": "17.6.3",
"@commitlint/config-conventional": "17.6.3",
"@semantic-release/git": "10.0.1",
"@types/express": "4.17.17",
"@types/jest": "28.1.0",
"@types/socket.io": "3.0.1",
"@types/socket.io-client": "1.4.36",
"@typescript-eslint/eslint-plugin": "5.59.5",
"@typescript-eslint/parser": "5.59.5",
"cross-env": "7.0.3",
"electron-builder": "24.4.0",
"electron-notarize": "1.2.2",
"eslint": "8.40.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "8.0.3",
"jest": "28.1.0",
"json-autotranslate": "1.11.0",
"prettier": "2.6.2",
"semantic-release": "19.0.5",
"socket.io-client": "4.6.1",
"spectron": "19.0.0",
"supertest": "6.3.3",
"ts-jest": "28.0.8",
"typescript": "4.7.3"
},
"repository": {
"type": "git",
"url": "https://github.com/Lumieducation/Lumi.git"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
}