-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathpackage.json
195 lines (195 loc) · 5.75 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"name": "hilary",
"description": "Open Academic Environment (OAE) Back-end",
"version": "16.0.4",
"homepage": "http://www.oaeproject.org",
"author": {
"name": "The Apereo Foundation",
"email": "[email protected]"
},
"private": true,
"type": "module",
"repository": {
"type": "git",
"url": "git://github.com/oaeproject/Hilary.git"
},
"bugs": {
"url": "https://github.com/oaeproject/Hilary/issues"
},
"license": "ECL-2.0",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.8"
},
"dependencies": {
"@elastic/elasticsearch": "7.9.0",
"async": "^3.2.4",
"awssum": "^1.2.0",
"awssum-amazon": "^1.4.0",
"awssum-amazon-s3": "^1.5.0",
"body-parser": "^1.18.2",
"bunyan": "^1.8.12",
"bunyan-prettystream": "^0.1.3",
"cassandra-driver": "^4.4.0",
"chai": "^4.3.6",
"chance": "^1.1.4",
"cheerio": "1.0.0-rc.3",
"clone": "^2.1.1",
"connect": "^3.7.0",
"cookie-parser": "^1.4.6",
"cookie-session": "^1.4.0",
"cron": "^1.8.3",
"csv": "^5.3.2",
"data-structures": "^1.4.2",
"date-fns": "^2.12.0",
"dompurify": "^2.3.8",
"dox": "^0.9.0",
"ent": "^2.2.0",
"ethercalc-client": "github:oaeproject/ethercalc-client#master",
"etherpad-lite-client": "^0.8.0",
"express": "^4.17.1",
"globalize": "0.1.1",
"immutable": "^4.0.0-rc.12",
"ioredis": "^4.28.5",
"ioredis-ratelimit": "^2.1.0",
"isomorphic-git": "^1.3.1",
"jsdom": "^16.2.2",
"jszip": "^3.10.1",
"juice": "^6.0.0",
"less": "1.7.5",
"locale": "^0.1.0",
"lunr": "^2.3.8",
"marked": "^0.8.0",
"mime": "^2.6.0",
"mobile-detect": "^1.3.7",
"multiparty": "^4.2.3",
"node-fetch": "next",
"nodemailer": "^6.7.5",
"nodemailer-html-to-text": "^3.0.0",
"oauth": "^0.9.15",
"oauth-sign": "^0.9.0",
"oauth2orize": "^1.11.1",
"optimist": "^0.6.1",
"ora": "^6.0.0",
"passport": "^0.4.1",
"passport-cas": "git://github.com/oaeproject/passport-cas#samlValidateLoginUrl",
"passport-facebook": "git://github.com/oaeproject/passport-facebook",
"passport-google-oauth": "^1.0.0",
"passport-http": "^0.3.0",
"passport-http-bearer": "^1.0.1",
"passport-ldapauth": "^2.1.4",
"passport-local": "^1.0.0",
"passport-oauth2-client-password": "^0.1.2",
"passport-openid": "^0.4.0",
"passport-twitter": "^1.0.4",
"pdfjs-dist": "2.10.377",
"properties-parser": "^0.3.1",
"puppeteer": "^3.0.2",
"rails-timezone": "^1.0.0",
"ramda": "^0.27.0",
"readdirp": "^3.4.0",
"recaptcha": "^1.2.1",
"redlock": "4.0.0",
"request": "2.88.2",
"rimraf": "^3.0.2",
"sharp": "^0.30.6",
"shortid": "^2.2.8",
"slideshare": "git://github.com/oaeproject/node-slideshare",
"sockjs": "^0.3.20",
"sockjs-client": "^1.4.0",
"strftime": "^0.10.0",
"temp": "^0.9.0",
"timezone-js": "^0.4.13",
"tough-cookie": "3.0.1",
"underscore": "^1.13.4",
"validator": "^13.7.0",
"watch": "^1.0.2",
"ws": "^7.2.1",
"xml2js": "^0.4.23",
"youtube-api": "^2.0.9"
},
"devDependencies": {
"chalk": "^3.0.0",
"eslint": "^7.32.0",
"eslint-plugin-unicorn": "^36.0.0",
"is-builtin-module": "^3.1.0",
"mocha": "^8.3.0",
"mocha-junit-reporter": "2.0.0",
"mocha-lcov-reporter": "^1.3.0",
"nock": "^12.0.2",
"nodemon": "^2.0.3",
"nyc": "^15.0.1",
"pm2": "^4.3.0",
"repl-promised": "^0.1.0",
"shelljs": "^0.8.5",
"xo": "^0.44.0"
},
"scripts": {
"test": "mocha packages/oae-tests/runner/before-tests.js packages/oae-*/tests",
"test-module": "mocha packages/oae-tests/runner/before-tests.js packages/$npm_config_module/tests",
"ci:test": "nyc --reporter=html --reporter=text --reporter=lcov mocha 'node_modules/oae-tests/runner/before-tests.js' 'node_modules/oae-*/tests/**/*.js'",
"ci:test-module": "nyc mocha --reporter mocha-junit-reporter --reporter-options mochaFile=reports/mocha/test-results.xml packages/oae-tests/runner/before-tests.js packages/$npm_config_module/tests",
"test-report-coverage": "npx c8 --reporter=lcov npm run test",
"migrate": "node migrate.js",
"start": "node app.js | npx bunyan",
"serve": "npx pm2 startOrReload process.json --only Hilary",
"serve-all": "npx pm2 startOrReload process.json",
"logs": "npx pm2 logs --raw | npx bunyan",
"lint": "npx xo --quiet --prettier 'packages/**/*.js'",
"lint-module": "npx xo --quiet --prettier 'packages/$npm_config_module/**/*.js'",
"fix-module": "npx xo --fix 'packages/$npm_config_module/**/*.js'"
},
"nyc": {
"include": "./packages/**/*",
"exclude": [
"./3akai-ux",
"./packages/oae-preview-processor/lib/processors/file/domstubs.js "
]
},
"xo": {
"prettier": true,
"extends": [
"prettier"
],
"plugins": [
"prettier"
],
"ignores": [
"node_modules",
"**/processors/file/domstubs.js",
"packages/restjsdoc",
"packages/oae-email/emailTemplates"
],
"rules": {
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"capitalized-comments": "off",
"max-nested-callbacks": "off",
"max-params": "off",
"no-use-before-define": "off",
"no-warning-comments": "off",
"node/prefer-promises/fs": "off",
"node/no-unsupported-features/es-syntax": "off",
"prefer-named-capture-group": "off",
"promise/prefer-await-to-then": "off",
"prettier/prettier": "error"
},
"env": [
"mocha"
],
"overrides": [
{
"files": "**/tests/*.js",
"rules": {
"max-lines": 0,
"handle-callback-err": "off",
"no-undef": "off"
}
}
]
}
}