forked from LearningLocker/xapi-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.6 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
{
"name": "xapi-service",
"version": "1.0.0",
"description": "A service for the xAPI",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/LearningLocker/xapi-service.git"
},
"scripts": {
"build": "./node_modules/typescript/bin/tsc",
"start": "node dist/index.js",
"test": "./node_modules/mocha/bin/mocha $(find dist -name '*.test.js') --timeout 6000",
"test-s3": "AUTH_REPO=test MODELS_REPO=memory STORAGE_REPO=s3 npm run test",
"test-mongo": "AUTH_REPO=test MODELS_REPO=mongo STORAGE_REPO=local npm run test",
"test-memory": "AUTH_REPO=test MODELS_REPO=memory STORAGE_REPO=local npm run test",
"migrate": "node dist/migrate.js",
"rollback": "node dist/rollback.js",
"cover-s3": "nyc --lines 100 --check-coverage --exclude '(dist/fetchAuthRepo|dist/mongoModelsRepo|dist/memoryStorageRepo|dist/config.js)' npm run test-s3",
"cover-memory": "nyc --lines 100 --check-coverage --exclude '(dist/fetchAuthRepo|dist/mongoModelsRepo|dist/s3StorageRepo|dist/config.js)' npm run test-memory",
"cover-mongo": "nyc --lines 100 --check-coverage --exclude '(dist/fetchAuthRepo|dist/memoryModelsRepo|dist/s3StorageRepo|dist/config.js)' npm run test-mongo",
"clean": "rm -rf dist",
"lint": "./node_modules/tslint/bin/tslint -p ./tsconfig.json",
"duplication": "./node_modules/jscpd/bin/jscpd"
},
"engines": {
"node": "^8.0.0",
"npm": "^5.0.0"
},
"dependencies": {
"boolean": "^0.1.2",
"dotenv": "^4.0.0",
"express": "^4.14.1",
"install": "^0.10.1",
"jscommons": "git+https://[email protected]/HT2-Labs/jscommons.git",
"lodash": "^4.17.4",
"mongodb": "^2.2.26",
"npm": "^5.3.0",
"redis": "^2.8.0",
"source-map-support": "^0.4.11",
"xapi-activities": "git+https://[email protected]/LearningLocker/xapi-activities.git",
"xapi-agents": "git+https://[email protected]/LearningLocker/xapi-agents.git",
"xapi-state": "git+https://[email protected]/LearningLocker/xapi-state.git",
"xapi-statements": "git+https://[email protected]/LearningLocker/xapi-statements.git"
},
"devDependencies": {
"@types/dotenv": "^4.0.0",
"@types/express": "^4.0.35",
"@types/lodash": "^4.14.72",
"@types/mongodb": "^2.2.2",
"@types/node": "^8.0.6",
"@types/redis": "^2.6.0",
"@types/source-map-support": "^0.2.28",
"@types/winston": "^2.3.3",
"jscpd": "git://github.com/ryansmith94/jscpd.git#prepublish",
"tslint": "^5.5.0",
"tslint-consistent-codestyle": "^1.6.0",
"tslint-immutable": "^4.0.2",
"typescript": "^2.0.0"
}
}