-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
117 lines (117 loc) · 4.27 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
{
"name": "wikonnect-teach",
"version": "2.0.0",
"description": "The teachers platform on wikonnect",
"scripts": {
"start": "ts-node-dev express/express.ts",
"prepare": "npm run download:content-type-cache && npm run download:content && npm run download:core && npm run build",
"build": "npx tsc -p ./tsconfig.build.json && cp -r src/schemas build/src/schemas",
"build:watch": "npx tsc -w -p ./tsconfig.build.json",
"uninstall": "rm -rf node_modules && rm -rf test/data/hub-content && rm test/data/content-type-cache/real-content-types.json && rm -rf h5p && rm -rf build",
"download:content": "node scripts/download-examples.js test/data/content-type-cache/real-content-types.json test/data/hub-content",
"download:core": "sh scripts/install.sh",
"clear": "rm -rf test/data/hub-content && rm -rf h5p/temporary-storage && rm test/data/content-type-cache/real-content-types.json",
"download:content-type-cache": "ts-node scripts/update-real-content-type-cache.ts",
"ci": "npm run build && npm run lint && npm run format:check && npm run test && npm run test:integration && npm run test:e2e",
"lint": "./node_modules/.bin/tslint --project tsconfig.json --config tslint.json",
"test": "jest --testTimeout=120000 --logHeapUsage --maxWorkers=2",
"test:watch": "jest --watch",
"test:e2e": "npm run test:e2e:player",
"test:e2e:player": "./node_modules/.bin/ts-node test/e2e/H5PPlayer.DisplayContent.test.ts",
"test:coverage": "npx jest --config jest.coverage.config.js --collect-coverage --testTimeout=120000",
"test:integration": "npx jest --config jest.integration.config.js --maxWorkers=2 --logHeapUsage",
"format:check": "npx prettier --check \"{src,test,express}/**/*.ts\"",
"format": "npx prettier --write \"{src,test,express}/**/*.ts\"",
"semantic-release": "semantic-release"
},
"contributors": [
{
"name": "Sebastian Rettig",
"email": "[email protected]"
},
{
"name": "Nikolas Martens"
},
{
"name": "Jan Philip Schellenberg",
"email": "[email protected]",
"url": "http://Lumi.education"
}
],
"dependencies": {
"@types/request": "^2.48.5",
"ajv": "^6.12.0",
"axios": "^0.19.2",
"axios-fileupload": "0.0.1",
"crc": "^3.8.0",
"debug": "^4.1.1",
"dotenv": "^8.2.0",
"escape-html": "^1.0.3",
"express-handlebars": "^4.0.4",
"express-session": "^1.17.1",
"form-data": "^3.0.0",
"fs-extra": "^9.0.1",
"glob-promise": "^3.4.0",
"handlebars-helpers": "^0.10.0",
"helper-date": "^1.0.1",
"jsonpath": "^1.0.2",
"merge": "^1.2.1",
"mime-types": "^2.1.26",
"mkdirp": "^1.0.3",
"promisepipe": "^3.0.0",
"qs": "^6.9.3",
"request": "^2.88.2",
"sanitize-filename": "^1.6.3",
"shortid": "2.2.15",
"stream-buffers": "^3.0.2",
"tmp-promise": "^2.0.2",
"tslog": "^2.6.0",
"unirest": "^0.6.0",
"yauzl-promise": "^2.1.3",
"yazl": "^2.5.1"
},
"devDependencies": {
"@commitlint/config-conventional": "8.3.4",
"@semantic-release/git": "9.0.0",
"@semantic-release/github": "7.0.5",
"@types/escape-html": "0.0.20",
"@types/express-fileupload": "^1.1.3",
"@types/fs-extra": "8.1.0",
"@types/jest": "25.2.1",
"@types/jsonpath": "0.2.0",
"@types/shortid": "0.0.29",
"@types/stream-buffers": "3.0.3",
"@types/supertest": "2.0.9",
"@types/yargs": "15.0.4",
"@types/yauzl-promise": "2.1.0",
"@types/yazl": "2.4.2",
"axios-mock-adapter": "1.18.1",
"body-parser": "1.19.0",
"commitlint": "8.3.5",
"express": "4.17.1",
"express-fileupload": "^1.1.6",
"husky": "4.2.5",
"i18next": "19.4.4",
"i18next-express-middleware": "2.0.0",
"i18next-node-fs-backend": "2.1.3",
"jest": "25.5.4",
"mockdate": "2.0.5",
"prettier": "2.0.5",
"promise-queue": "2.2.5",
"puppeteer": "3.0.4",
"semantic-release": "17.0.7",
"shortid": "2.2.15",
"source-map-support": "0.5.19",
"stream-mock": "2.0.5",
"supertest": "4.0.2",
"ts-jest": "25.5.0",
"ts-node": "8.10.1",
"ts-node-dev": "^1.0.0-pre.44",
"tslint": "6.1.2",
"tslint-config-airbnb": "5.11.2",
"tslint-config-prettier": "1.18.0",
"typescript": "^3.8.3"
},
"main": "./build/src/index.js",
"types": "./build/src/index.d.ts"
}