-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3.61 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
{
"name": "xapi-statements",
"version": "0.0.0-development",
"description": "A service for xAPI statements",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/LearningLocker/xapi-statements.git"
},
"files": [
"dist",
".env.example",
"package-lock.json"
],
"scripts": {
"acp": "git add -A && npm run commit && git push",
"commit": "git-cz",
"build": "tsc",
"start": "node dist/index.js",
"migrate": "node dist/migrate.js",
"rollback": "node dist/rollback.js",
"test": "SERVICE_AWAIT_UPDATES=true mocha $(find dist -name '*.test.js') --timeout 6000 --exit",
"test-s3": "MODELS_REPO=memory STORAGE_REPO=s3 npm run test",
"test-mongo": "MODELS_REPO=mongo STORAGE_REPO=local npm run test",
"test-memory": "MODELS_REPO=memory STORAGE_REPO=local npm run test",
"test-ci": "npm run test-memory && npm run test-mongo",
"test-all": "npm run test-ci && npm run test-s3",
"cover-ci": "nyc --lines 100 --check-coverage --exclude '(dist/**/*s3*|dist/**/*fetch*|dist/**/*fake*|dist/config.js|dist/**/factory.js|dist/**/facade.js)' npm run test-ci",
"cover-all": "nyc --lines 100 --check-coverage --exclude '(dist/**/*fetch*|dist/**/*fake*|dist/config.js|dist/**/factory.js|dist/**/facade.js)' npm run test-all",
"clean": "rm -rf dist",
"lint": "./node_modules/tslint/bin/tslint --project ./tsconfig.json",
"duplication": "./node_modules/jscpd/bin/jscpd",
"semantic-release": "semantic-release"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"engines": {
"node": "6 - 8",
"npm": "3 - 5"
},
"dependencies": {
"accept-language-parser": "^1.4.1",
"atob": "^2.0.3",
"aws-sdk": "^2.97.0",
"bluebird": "^3.5.0",
"body-parser": "^1.17.1",
"boolean": "^0.1.2",
"btoa": "^1.1.2",
"cors": "^2.8.1",
"dotenv": "^4.0.0",
"express": "^4.14.1",
"file-stream-rotator": "^0.2.0",
"fs-extra": "^4.0.2",
"helmet": "^3.5.0",
"jscommons": "^1.3.0",
"jsonwebtoken": "^8.0.1",
"lodash": "^4.17.4",
"mime-types": "^2.1.17",
"moment": "^2.18.0",
"mongodb": "^2.2.26",
"morgan": "^1.8.1",
"node-fetch": "^1.6.3",
"object-hash": "1.2.0",
"promise-retry": "^1.1.1",
"redis": "^2.8.0",
"rulr": "^4.0.0",
"source-map-support": "^0.5.0",
"stream-to-string": "^1.1.0",
"string-to-stream": "^1.1.0",
"uuid": "^3.0.1",
"winston": "^2.3.1",
"winston-aws-cloudwatch": "^1.5.0",
"xapi-validation": "^2.1.0"
},
"devDependencies": {
"@types/bluebird": "3.5.18",
"@types/body-parser": "1.16.7",
"@types/cors": "2.8.1",
"@types/dotenv": "4.0.2",
"@types/express": "4.0.39",
"@types/fs-extra": "4.0.3",
"@types/helmet": "0.0.37",
"@types/jsonwebtoken": "7.2.3",
"@types/lodash": "4.14.81",
"@types/mime-types": "2.1.0",
"@types/mocha": "2.2.44",
"@types/mongodb": "2.2.15",
"@types/morgan": "1.7.35",
"@types/node": "8.0.47",
"@types/node-fetch": "1.6.7",
"@types/object-hash": "1.1.0",
"@types/redis": "2.8.1",
"@types/source-map-support": "0.4.0",
"@types/uuid": "3.4.3",
"@types/winston": "2.3.7",
"assert": "1.4.1",
"commitizen": "2.9.6",
"cz-conventional-changelog": "2.1.0",
"jscpd": "0.6.15",
"mocha": "4.0.1",
"mocha-lcov-reporter": "1.3.0",
"nyc": "11.3.0",
"semantic-release": "9.1.0",
"travis-cov": "0.2.5",
"tslint": "5.8.0",
"tslint-consistent-codestyle": "1.9.0",
"tslint-immutable": "4.4.0",
"typescript": "2.6.1"
}
}