-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
54 lines (54 loc) · 1.41 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": "judge-taskmaster",
"version": "0.0.6",
"description": "Coding Blocks worker-runner ",
"main": "dist/run.js",
"author": "Arnav Gupta <a@cb.lk>",
"license": "MIT",
"devDependencies": {
"@types/amqplib": "^0.5.4",
"@types/chai": "^4.0.4",
"@types/mocha": "^5.0.0",
"@types/node": "10",
"@types/shelljs": "^0.8.3",
"chai": "^4.1.2",
"mocha": "^5.0.4",
"mocha-parallel-tests": "^2.0.0",
"nyc": "^11.3.0",
"ts-node": "^7.0.0",
"typescript": "^3.8.3"
},
"dependencies": {
"amqplib": "^0.5.2",
"axios": "^0.19.2",
"newrelic": "^6.5.0",
"raven": "^2.6.4",
"shelljs": "^0.8.1",
"yaml": "^1.10.0"
},
"nyc": {
"extension": [
".ts",
".js"
],
"reporter": [
"text",
"lcovonly"
],
"sourceMap": true
},
"scripts": {
"build": "tsc",
"prestart": "npm run build",
"start": "NODE_PATH=dist ./wait-for-it.sh ${AMQP_HOST}:${AMQP_PORT} -- node dist/taskmaster.js",
"dev": "NODE_PATH=dist nodemon dist/taskmaster.js",
"test": "docker build . -t codingblocks/judge-taskmaster && NODE_PATH=src mocha --timeout 25000 --exit --require ts-node/register test/**/*.ts",
"test.parallel": "NODE_PATH=src mocha-parallel-tests --timeout 25000 --exit --require ts-node/register test/**/*.ts",
"cover": "nyc npm test"
},
"engines": {
"node": "8 || 10",
"npm": ">= 5",
"yarn": ">= 1"
}
}