forked from ubccpsc/classy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
54 lines (54 loc) · 2.02 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
{
"name": "autotest",
"description": "A GitHub service for grading commits and posting feedback.",
"homepage": "https://github.ubc.ca/cpsc310/autotest",
"author": {
"name": "Reid Holmes",
"url": "https://cs.ubc.ca/~rtholmes"
},
"contributors": [
{
"name": "Nick Bradley",
"email": "nick@ncbradley.com",
"url": "https://www.ncbradley.com"
}
],
"license": "MIT",
"version": "0.4.0",
"engines": {
"node": ">= 12.13 < 13"
},
"dependencies": {
"@babel/core": "^7.0.0-0",
"coveralls": "^3.0.2",
"dockerode": "^2.5.7",
"dotenv": "4.0.0",
"fs-extra": "5.0.0",
"jszip": "^3.2.1",
"xunit-viewer": "^6.0.14",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.17.0",
"mongodb": "^3.0.2",
"nyc": "^12.0.2",
"request": "^2.83.0",
"request-promise-native": "^1.0.5",
"restify": "^8.4.0",
"ts-node": "^7.0.0",
"typescript": "^3.7.2"
},
"scripts": {
"build": "tsc",
"build:prod": "tsc --outDir bin --sourceMap false",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
"test": "mocha --require=dotenv/config --require ts-node/register --timeout 10000",
"testCI": "node ./node_modules/.bin/mocha --reporter mocha-junit-reporter --reporter-options mochaFile=../../testOutput/autotest/test/test-results.xml --timeout 10000 --recursive --exit",
"cover": "nyc --reporter text --reporter html ./node_modules/mocha/bin/mocha --require=dotenv/config --require ts-node/register --timeout 10000 --exit",
"coverCI": "./node_modules/.bin/nyc --reporter html --report-dir ../../testOutput/autotest/coverage --reporter=text-lcov yarn run testCI",
"coveralls": "./node_modules/.bin/nyc report --report-dir ../../testOutput/autotest/coverage --reporter=text-lcov | ./node_modules/coveralls/bin/coveralls.js",
"run:dev": "nohup node ./src/AutoTestDaemon.js 310 &> nohup.out &",
"run:prod": "LOG_LEVEL=INFO nohup node ./src/AutoTestDaemon.js 310 &> nohup.out &"
},
"devDependencies": {
"@types/dockerode": "^2.5.9"
}
}