-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
101 lines (101 loc) · 3.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
{
"name": "topcoder-challenges-api",
"version": "1.0.0",
"description": "TopCoder Challenges V5 API",
"main": "app.js",
"scripts": {
"start": "node app.js",
"dev": "nodemon app.js",
"lint": "prettier src/**/*.js",
"lint:fix": "prettier --write src/**/*.js",
"standard-lint": "standard",
"standard-lint:fix": "standard --fix",
"init-es": "node src/init-es.js",
"init-db": "node src/init-db.js",
"sync-es": "node src/scripts/sync-es.js",
"drop-tables": "node src/scripts/drop-tables.js",
"create-tables": "node src/scripts/create-tables.js",
"seed-tables": "node src/scripts/seed-tables.js",
"check-timeline-templates": "node src/scripts/check-templates.js",
"view-data": "node src/scripts/view-data.js",
"view-es-data": "node src/scripts/view-es-data.js",
"test": "mocha --require test/prepare.js -t 20000 test/unit/*.test.js --exit",
"e2e": "mocha --require test/prepare.js -t 20000 test/e2e/*.test.js --exit",
"test:cov": "nyc --reporter=html --reporter=text npm test",
"e2e:cov": "nyc --reporter=html --reporter=text npm run e2e",
"services:up": "docker-compose -f ./local/docker-compose.yml up -d",
"services:down": "docker-compose -f ./local/docker-compose.yml down",
"services:logs": "docker-compose -f ./local/docker-compose.yml logs",
"local:init": "npm run local:reset && npm run seed-tables && npm run sync-es",
"local:reset": "npm run init-es force && npm run init-db force"
},
"author": "TCSCODER",
"license": "MIT",
"repository": "https://github.com/topcoder-platform/challenge-api",
"devDependencies": {
"chai": "^4.2.0",
"chai-http": "^4.2.1",
"mocha": "^6.1.4",
"mocha-prepare": "^0.1.0",
"nodemon": "^2.0.20",
"nyc": "^14.0.0",
"prettier": "^2.8.1",
"standard": "^17.1.0"
},
"dependencies": {
"@grpc/grpc-js": "^1.8.12",
"@opensearch-project/opensearch": "^2.2.0",
"@topcoder-framework/domain-acl": "^0.24.0",
"@topcoder-framework/domain-challenge": "^0.24.1",
"@topcoder-framework/lib-common": "^0.24.1",
"aws-sdk": "^2.1145.0",
"axios": "^0.19.0",
"axios-retry": "^3.4.0",
"bluebird": "^3.5.1",
"body-parser": "^1.15.1",
"compare-versions": "^6.1.0",
"config": "^3.0.1",
"cors": "^2.8.5",
"decimal.js": "^10.4.3",
"deep-equal": "^2.2.0",
"dompurify": "^3.0.2",
"dotenv": "^8.2.0",
"elasticsearch": "^16.7.3",
"express": "^4.15.4",
"express-fileupload": "^1.1.6",
"express-interceptor": "^1.2.0",
"get-parameter-names": "^0.3.0",
"http-aws-es": "^6.0.0",
"http-status-codes": "^1.3.0",
"joi": "^14.0.0",
"jsdom": "^21.1.2",
"json-rules-engine": "^6.1.2",
"jsonwebtoken": "^8.3.0",
"lodash": "^4.17.19",
"markdown-it": "^13.0.1",
"moment": "^2.24.0",
"node-cache": "^5.1.2",
"swagger-ui-express": "^4.1.3",
"tc-core-library-js": "appirio-tech/tc-core-library-js.git#v2.6.4",
"topcoder-bus-api-wrapper": "topcoder-platform/tc-bus-api-wrapper.git",
"uuid": "^3.3.2",
"winston": "^3.8.2",
"xss": "^1.0.8",
"yamljs": "^0.3.0"
},
"standard": {
"ignore": [
"mock-api"
],
"env": [
"mocha"
]
},
"engines": {
"node": "18.x"
},
"volta": {
"node": "18.12.1",
"yarn": "1.22.19"
}
}