forked from Trustroots/trustroots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
292 lines (292 loc) · 10.5 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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
{
"name": "trustroots",
"description": "Trustroots.org",
"version": "0.3.3",
"author": "https://www.trustroots.org/foundation",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/Trustroots/trustroots"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0",
"mongodb": ">=3.6 <=4.4"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"scripts": {
"agenda-maintenance": "node ./bin/db-maintenance/archive-done-agenda-jobs.js",
"build": "npm run clean:public && npm run build:generate-circle-images && npm run build:webpack && npm run build:webpack-service-worker",
"build:generate-circle-images": "NODE_ENV=production npm run generate-circle-images",
"build:webpack": "NODE_ENV=production npm run webpack",
"build:webpack-service-worker": "NODE_ENV=production npm run webpack:service-worker",
"build:tarball": "npm run build && rm -fr trustroots.tar.gz && touch trustroots.tar.gz && tar --exclude=trustroots.tar.gz --exclude-vcs -czf trustroots.tar.gz .",
"check-environment": "npm run install-dependencies && npx check-node-version --package && npm run ensure-config-exists && npm run ensure-uploads-dir-exists",
"clean:public": "rm -fr ./public/dist ./public/assets ./public/push-messaging-sw.js",
"dashboard:jobs": "agendash --db=mongodb://localhost/trustroots-dev --collection=agendaJobs --port=1081",
"dashboard:mail": "maildev",
"distclean": "rm -fr ./node_modules && rm -fr trustroots.tar.gz && npm run clean:public",
"dropdb": "node ./bin/db-drop.js",
"ensure-config-exists": "node ./bin/ensure-config-exists.js",
"ensure-uploads-dir-exists": "node ./bin/ensure-uploads-dir-exists.js",
"fontello": "gulp fontello",
"generate-api-docs": "node ./bin/generate-api-docs.js",
"generate-circle-images": "node ./bin/generate-circle-images.js",
"i18n:extract": "babel --config-file ./babel.config.i18n.js -o /dev/null 'modules/**/*.js'",
"i18n:fix-weblate": "node ./bin/fix-weblate public/locales/en/*.json",
"install-dependencies": "node ./bin/install-deps.js",
"lint:watch": "esw --cache --watch --quiet .",
"lint": "eslint .",
"lint:report": "eslint --output-file ./eslint_report.json --format json .",
"migrate-down": "migrate down",
"migrate": "migrate up",
"postshrinkwrap": "node -e \"fs.utimesSync('./node_modules', new Date(), new Date());\"",
"reformat-files": "prettier --ignore-path .eslintignore --write",
"preseed": "npm run check-environment",
"prestart": "npm run check-environment",
"seed:experiences": "node ./bin/fillTestData/Experiences.js 10 0.8",
"seed:messages": "node ./bin/fillTestData/Messages.js",
"seed:tribes": "node ./bin/fillTestData/Tribes.js",
"seed:users": "node ./bin/fillTestData/Users.js",
"seed": "npm run seed:tribes 100 && npm run seed:users 1000 -- --userNames admin1 admin2 admin3 && npm run seed:messages 2000 10 && npm run seed:experiences --re-create",
"start:develop": "npm run generate-circle-images && gulp develop",
"start:docker": "npm run prestart && concurrently --raw --kill-others --kill-others-on-fail 'npm:lint:watch' 'npm:start:develop' 'npm:webpack:server' 'npm:start:worker'",
"start:prod": "gulp prod",
"start:worker:prod": "gulp worker:prod",
"start:worker": "gulp worker:dev",
"start": "concurrently --raw --kill-others --kill-others-on-fail 'npm:lint:watch' 'npm:start:develop' 'npm:webpack:server' 'npm:start:worker' 'npm:dashboard:mail'",
"test:client:watch": "jest --watch",
"test:client": "jest",
"test:selenium": "python ./scripts/selenium/test.py",
"test:server:watch": "npm run check-environment && NODE_ENV=test gulp test:server:watch",
"test:server": "NODE_ENV=test gulp test:server",
"test": "npm run check-environment && npm run lint && npm run test:client && npm run test:server",
"webpack": "webpack --config config/webpack/webpack.config.js",
"webpack:server": "webpack serve --hot --config config/webpack/webpack.config.js",
"webpack:service-worker": "webpack --config config/webpack/webpack.push-messaging-sw.config.js",
"ensure-indexes": "node ./bin/db-maintenance/ensure-indexes.js",
"prepare": "husky install"
},
"dependencies": {
"@sentry/browser": "6.19.6",
"@sentry/integrations": "6.19.6",
"@sentry/node": "6.19.6",
"@sentry/tracing": "6.19.6",
"acl": "0.4.11",
"agenda": "1.0.3",
"akismet-api": "5.3.0",
"angular": "1.6.10",
"angular-animate": "1.6.10",
"angular-aria": "1.6.10",
"angular-confirm": "1.2.6",
"angular-loading-bar": "0.9.0",
"angular-locker": "2.0.5",
"angular-mailcheck": "0.2.0",
"angular-message-format": "1.6.10",
"angular-mocks": "1.6.10",
"angular-moment": "1.3.0",
"angular-resource": "1.6.10",
"angular-sanitize": "1.6.10",
"angular-touch": "1.6.10",
"angular-trustpass": "0.4.0",
"angular-ui-bootstrap": "2.5.6",
"angular-ui-router": "0.4.3",
"angulargrid": "0.6.5",
"angulartics": "1.6.0",
"angulartics-google-analytics": "0.5.0",
"async": "2.6.3",
"autolinker": "3.15.0",
"axios": "0.21.4",
"basic-auth": "2.0.1",
"body-parser": "1.19.1",
"bootstrap": "3.4.1",
"chalk": "4.1.2",
"check-node-version": "4.2.1",
"classnames": "2.3.1",
"compression": "1.7.4",
"connect-flash": "0.1.1",
"connect-mongo": "4.6.0",
"cookie-parser": "1.4.6",
"del": "6.0.0",
"expect-ct": "1.0.0",
"expo-server-sdk": "2.4.0",
"express": "4.17.3",
"express-paginate": "1.0.2",
"express-session": "1.17.2",
"fbgraph": "1.4.4",
"firebase": "3.9.0",
"firebase-admin": "4.2.1",
"git-rev": "0.2.1",
"glob": "7.2.0",
"gm": "1.23.1",
"gulp": "4.0.2",
"gulp-concat": "2.6.1",
"gulp-eslint": "6.0.0",
"gulp-fontello": "0.5.2",
"gulp-htmlmin": "5.0.1",
"gulp-less": "4.0.1",
"gulp-load-plugins": "2.0.7",
"gulp-ng-annotate": "2.1.0",
"gulp-print": "5.0.2",
"gulp-rename": "2.0.0",
"gulp-shell": "0.8.0",
"gulp-sourcemaps": "3.0.0",
"gulp-uglify": "3.0.2",
"he": "1.2.0",
"helmet": "5.0.2",
"html-to-text": "8.1.0",
"i18next": "20.3.2",
"i18next-browser-languagedetector": "6.1.4",
"i18next-http-backend": "1.3.2",
"imagesloaded": "4.1.4",
"influx": "5.9.3",
"juice": "8.0.0",
"leaflet": "1.7.1",
"leaflet-active-area": "1.2.1",
"lodash": "4.17.21",
"mapbox-gl": "1.13.1",
"match-sorter": "6.3.1",
"medium-editor": "5.23.3",
"method-override": "3.0.0",
"migrate": "1.7.0",
"mkdir-recursive": "0.4.0",
"mmmagic": "0.5.3",
"moment": "2.29.2",
"mongodb": "3.6.11",
"mongoose": "5.13.9",
"mongoose-beautiful-unique-validation": "7.1.1",
"mongoose-integer": "0.1.1",
"mongoose-paginate": "5.0.3",
"mongoose-url-slugs": "1.0.2",
"morgan": "1.10.0",
"multer": "1.4.4",
"natural": "5.1.13",
"ng-file-upload": "12.2.13",
"nodemailer": "6.7.3",
"nunjucks": "3.2.3",
"passport": "0.5.0",
"passport-facebook": "3.0.0",
"passport-github": "1.1.0",
"passport-local": "1.0.0",
"passport-twitter": "1.0.4",
"pluralize": "8.0.0",
"prop-types": "15.7.2",
"randomcolor": "0.6.2",
"react": "17.0.2",
"react-bootstrap": "0.33.1",
"react-dom": "17.0.2",
"react-i18next": "11.15.1",
"react-map-gl": "5.3.16",
"react-medium-editor": "1.8.1",
"react-query": "3.18.1",
"react-responsive": "8.2.0",
"react-select": "5.2.1",
"sanitize-html": "2.6.1",
"serve-favicon": "2.5.0",
"speakingurl": "14.0.1",
"stopword": "1.0.11",
"styled-components": "5.3.5",
"ui-leaflet": "2.0.0",
"use-debounce": "3.4.3",
"use-persisted-state": "0.3.3",
"uuid": "8.3.2",
"validator": "13.7.0",
"wink-statistics": "2.1.1",
"wink-tokenizer": "5.2.3",
"winston": "2.4.5",
"winston-papertrail": "1.0.5"
},
"devDependencies": {
"@babel/cli": "7.16.0",
"@babel/core": "7.16.0",
"@babel/eslint-parser": "7.16.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
"@babel/plugin-proposal-object-rest-spread": "7.16.0",
"@babel/plugin-proposal-optional-chaining": "7.16.7",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.3",
"@sinonjs/fake-timers": "8.1.0",
"@testing-library/jest-dom": "5.13.0",
"@testing-library/react": "11.2.7",
"@wordpress/browserslist-config": "4.1.2",
"agendash": "2.1.1",
"autoprefixer": "10.4.4",
"babel-loader": "8.2.4",
"babel-plugin-angularjs-annotate": "0.10.0",
"babel-plugin-i18next-extract": "0.8.3",
"canvas": "2.8.0",
"concurrently": "6.3.0",
"css-loader": "5.2.7",
"eslint": "8.13.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-webpack": "0.13.2",
"eslint-plugin-angular": "4.1.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest-dom": "3.9.2",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.26.1",
"eslint-plugin-testing-library": "3.1.3",
"eslint-watch": "7.0.0",
"eslint-webpack-plugin": "3.1.1",
"faker": "5.5.3",
"file-loader": "6.2.0",
"gulp-mocha": "3.0.1",
"gulp-nodemon": "2.5.0",
"html-loader": "0.5.5",
"husky": "7.0.4",
"jasmine-core": "3.9.0",
"jest": "26.6.3",
"jquery": "3.6.0",
"less-loader": "7.3.0",
"maildev": "2.0.2",
"mini-css-extract-plugin": "1.6.0",
"minimatch": "3.0.4",
"ng-annotate-loader": "0.7.0",
"ng-annotate-patched": "1.13.0",
"ngreact": "0.5.2",
"nodemailer-stub-transport": "1.1.0",
"nodemon": "2.0.15",
"npm-merge-driver": "2.3.6",
"parse-link-header": "2.0.0",
"postcss": "8.4.12",
"postcss-loader": "4.3.0",
"prettier": "2.6.2",
"promise": "8.1.0",
"proxyquire": "2.1.3",
"react-refresh": "0.11.0",
"semver": "7.3.7",
"sharp": "0.29.3",
"should": "13.2.3",
"sinon": "11.1.2",
"style-loader": "2.0.0",
"supertest": "6.1.6",
"swagger-autogen": "2.23.6",
"url-loader": "4.1.1",
"webpack": "4.46.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
"webpack-dev-server": "3.11.2",
"webpack-merge": "5.8.0",
"webpack-rtl-plugin": "2.0.0",
"yargs": "17.4.1"
},
"optionalDependencies": {
"chokidar": "3.5.3"
},
"bugs": {
"url": "https://github.com/Trustroots/trustroots/issues"
},
"license": "AGPL",
"lint-staged": {
"*.js": [
"npm run reformat-files",
"eslint"
],
"*.{json,md,html,less,yml}": [
"npm run reformat-files"
]
}
}