forked from topcoder-platform/taas-apis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.79 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
{
"name": "taas-apis",
"version": "1.0.0",
"description": "Topcoder TaaS API",
"main": "app.js",
"scripts": {
"start": "node app.js",
"dev": "nodemon app.js",
"lint": "standard",
"lint:fix": "standard --fix",
"init-db": "node src/init-db.js",
"create-index": "node scripts/es/createIndex.js",
"delete-index": "node scripts/es/deleteIndex.js",
"index:all": "node scripts/es/reIndexAll.js",
"index:jobs": "node scripts/es/reIndexJobs.js",
"index:job-candidates": "node scripts/es/reIndexJobCandidates.js",
"index:resource-bookings": "node scripts/es/reIndexResourceBookings.js",
"index:work-periods": "node scripts/es/reIndexWorkPeriods.js",
"data:export": "node scripts/data/exportData.js",
"data:import": "node scripts/data/importData.js",
"migrate": "npx sequelize db:migrate",
"migrate:undo": "npx sequelize db:migrate:undo",
"test": "mocha test/unit/*.test.js --timeout 30000 --exit",
"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 data:import -- --force",
"local:reset": "npm run delete-index -- --force || true && npm run create-index -- --force && npm run init-db force",
"cov": "nyc --reporter=html --reporter=text mocha test/unit/*.test.js --timeout 30000 --exit"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@elastic/elasticsearch": "^7.9.1",
"@joi/date": "^2.0.1",
"@topcoder-platform/topcoder-bus-api-wrapper": "github:topcoder-platform/tc-bus-api-wrapper",
"aws-sdk": "^2.787.0",
"bottleneck": "^2.19.5",
"config": "^3.3.2",
"cors": "^2.8.5",
"date-fns": "^2.16.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-interceptor": "^1.2.0",
"get-parameter-names": "^0.3.0",
"handlebars": "^4.7.6",
"http-status": "^1.4.2",
"http-status-codes": "^2.1.4",
"joi": "^17.2.1",
"lodash": "^4.17.20",
"pg": "^8.4.0",
"pg-hstore": "^2.3.3",
"prompt-confirm": "^2.0.4",
"rewire": "^5.0.0",
"sequelize": "^6.3.5",
"superagent": "^6.1.0",
"tc-core-library-js": "github:appirio-tech/tc-core-library-js#v2.6",
"util": "^0.12.3",
"uuid": "^8.3.1",
"winston": "^3.3.3"
},
"devDependencies": {
"chai": "^4.2.0",
"csv-parser": "^3.0.0",
"mocha": "^8.1.3",
"nodemon": "^2.0.4",
"nyc": "^15.1.0",
"sequelize-cli": "^6.2.0",
"sinon": "^9.2.0",
"standard": "^14.3.4"
},
"standard": {
"ignore": [
"/docs",
"/migrations"
],
"env": [
"mocha"
]
},
"nyc": {
"exclude": [
"src/common/logger.js",
"test/unit/**"
]
}
}