Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 3.37 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 3.37 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
{
"name": "nodejs-rest-api",
"version": "3.17.1",
"description": "nodejs REST API to interact with GenShare",
"main": "src/server.js",
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"start": "node src/server.js",
"start:prod": "NODE_ENV=production node src/server.js",
"start:dev": "NODE_ENV=development NO_DB_REFRESH=true node src/server.js",
"manage-permissions": "node scripts/manage_permissions.js",
"manage-users": "node scripts/manage_users.js",
"manage-genshare": "node scripts/manage_genshare_versions.js",
"analyze-logs": "node scripts/analyze_logs.js",
"refresh-ds-logs": "node scripts/refresh_ds_logs.js",
"refresh-user-logs": "node scripts/refresh_user_logs.js",
"test": "jest --testPathPatterns='test/(unit|middleware|integration/processPDF)' --forceExit --detectOpenHandles",
"test:integration": "NODE_ENV=test jest --testPathPatterns='test/integration/(db|s3)' --forceExit --detectOpenHandles --testTimeout=30000",
"test:e2e": "NODE_ENV=test jest --testPathPatterns='test/e2e' --forceExit --detectOpenHandles --testTimeout=120000",
"test:all": "npm test && npm run test:integration && npm run test:e2e",
"test:coverage": "jest --coverage --forceExit --detectOpenHandles",
"lint": "eslint . --ext .js",
"lint:fix": "eslint . --ext .js --fix",
"prepare": "husky install",
"sync-version": "node scripts/sync_version.js",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"post-version": "git push && git push --tags",
"release": "standard-version",
"db:init": "node scripts/maintenance/initDB.js init",
"db:refresh": "node scripts/maintenance/initDB.js refresh",
"db:check": "node scripts/maintenance/initDB.js check",
"db:check-notification": "node scripts/maintenance/initDB.js check-scholarone-notifications",
"db:list-notifications": "node scripts/maintenance/initDB.js list-scholarone-notifications",
"s3:audit": "node scripts/maintenance/refresh_s3_data.js",
"s3:refresh": "node scripts/maintenance/refresh_s3_data.js --apply",
"s3:refresh:rehash": "node scripts/maintenance/refresh_s3_data.js --apply --rehash",
"scholarone:hold:on": "node scripts/toggle_scholarone_notifications_hold.js on",
"scholarone:hold:off": "node scripts/toggle_scholarone_notifications_hold.js off",
"scholarone:hold:status": "node scripts/toggle_scholarone_notifications_hold.js status"
},
"lint-staged": {
"*.js": "eslint --fix"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.804.0",
"archiver": "^7.0.1",
"axios": "^1.9.0",
"express": "^4.17.1",
"express-rate-limit": "^5.2.6",
"form-data": "^4.0.0",
"googleapis": "^173.0.0",
"jsonwebtoken": "^9.0.2",
"morgan": "^1.10.0",
"multer": "^2.0.0",
"nodemailer": "^8.0.2",
"on-headers": "^1.0.2",
"papaparse": "^5.4.1",
"readline": "^1.3.0",
"semver": "^7.6.3",
"sqlite3": "^6.0.1",
"winston": "^3.15.0"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"conventional-changelog-cli": "^4.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.24.0",
"husky": "^8.0.3",
"jest": "^30.2.0",
"lint-staged": "^15.0.0",
"standard-version": "^9.5.0",
"supertest": "^7.2.2"
}
}