-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.66 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.66 KB
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
{
"name": "topcoder-challenge-recources-api",
"version": "1.0.0",
"description": "TopCoder Challenge Resources V5 API",
"main": "app.js",
"scripts": {
"start": "node app.js",
"start:dev": "nodemon app.js",
"postinstall": "npm run prisma:generate",
"lint": "standard",
"lint:fix": "standard --fix",
"prisma:generate:resource": "npx prisma generate --schema=./prisma/schema.prisma",
"prisma:generate:member": "npx prisma generate --schema=./prisma/member-schema.prisma",
"prisma:generate:challenge": "npx prisma generate --schema=./prisma/challenge-schema.prisma",
"prisma:generate": "npm run prisma:generate:resource && npm run prisma:generate:member && npm run prisma:generate:challenge",
"seed-tables": "node src/scripts/seed-tables.js",
"view-data": "node src/scripts/view-data.js",
"mock-api": "NODE_ENV=test node mock/mock-api",
"mock-challenge-api": "NODE_ENV=test node mock/mock-challenge-api",
"test": "nyc --reporter=html --reporter=text mocha test/unit/test.js --require test/common/prepare.js --timeout 60000 --exit",
"test:newman": "NODE_ENV=test node test/postman/newman.js",
"test:newman:clear": "node test/postman/clearTestData.js"
},
"author": "TCSCODER",
"license": "none",
"devDependencies": {
"mocha": "^5.2.0",
"mocha-prepare": "^0.1.0",
"nock": "^10.0.6",
"nodemon": "^3.1.9",
"nyc": "^14.0.0",
"prisma": "^6.5.0",
"should": "^13.2.3",
"standard": "^12.0.1",
"tc-api-testing-lib": "topcoder-platform/api-automated-testing.git"
},
"dependencies": {
"@prisma/client": "^6.5.0",
"aws-sdk": "^2.466.0",
"bluebird": "^3.5.1",
"body-parser": "^1.15.1",
"config": "^3.0.1",
"cors": "^2.7.1",
"express": "^4.16.4",
"express-interceptor": "^1.2.0",
"get-parameter-names": "^0.3.0",
"http-json-response": "^1.0.1",
"http-status-codes": "^1.3.0",
"joi": "^14.0.0",
"lodash": "^4.17.19",
"moment": "^2.30.1",
"superagent": "^8.0.9",
"swagger-ui-express": "^4.1.3",
"tc-bus-api-wrapper": "github:topcoder-platform/tc-bus-api-wrapper.git",
"tc-core-library-js": "github:topcoder-platform/tc-core-library-js.git#master",
"uuid": "^8.3.0",
"winston": "^3.2.1",
"xss": "^1.0.7",
"yamljs": "^0.3.0"
},
"prisma": {
"schema": "./prisma/schema.prisma"
},
"engines": {
"node": ">=18 <23"
},
"standard": {
"env": [
"mocha"
],
"ignore": [
"migrator/**",
"packages/**"
]
},
"nyc": {
"exclude": [
"mock/*.js",
"test/common/*.js",
"test/unit/*.js",
"test/e2e/*.js"
]
},
"volta": {
"node": "22",
"yarn": "1.22.19"
}
}