forked from mozilla/send
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
227 lines (227 loc) · 5.62 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
{
"name": "icsend",
"description": "Self-hosting file sharing platform, forked from abandoned Firefox Send",
"version": "3.0.22",
"repository": "komachi/icsend",
"homepage": "https://github.com/komachi/icsend/",
"license": "MPL-2.0",
"private": true,
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && webpack",
"lint": "npm-run-all lint:*",
"lint:css": "stylelint app/*.css app/**/*.css",
"lint:js": "eslint .",
"lint-locales": "node scripts/lint-locales",
"lint-locales:dev": "npm run lint-locales",
"lint-locales:prod": "npm run lint-locales -- --production",
"format": "prettier '**/*.js' 'assets/*.css' --single-quote --write",
"get-prod-locales": "node scripts/get-prod-locales",
"get-prod-locales:write": "npm run get-prod-locales -- --write",
"contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS",
"release": "npm-run-all contributors changelog",
"test": "npm-run-all test:*",
"test:backend": "nyc --reporter=lcovonly mocha --reporter=min test/backend",
"test:frontend": "cross-env NODE_ENV=development node test/frontend/runner.js",
"test:report": "nyc report --reporter=html",
"test-integration": "cross-env NODE_ENV=development wdio test/wdio.docker.conf.js",
"circleci-test-integration": "echo 'webdriverio tests need to be updated to node 12'",
"start": "npm run clean && cross-env NODE_ENV=development L10N_DEV=true BASE_URL=http://localhost:1337 webpack-dev-server --port=1337 --mode=development",
"prod": "node server/bin/prod.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test",
"post-merge": "npm install",
"post-checkout": "scripts/sync-npm-dependencies.sh"
}
},
"lint-staged": {
"*.js": [
"prettier --single-quote --write",
"eslint",
"git add"
],
"*.css": [
"prettier --single-quote --write",
"stylelint",
"git add"
]
},
"nyc": {
"reporter": [
"text"
],
"cache": true
},
"engines": {
"node": "^12.16.3"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.11.5",
"@fullhuman/postcss-purgecss": "^3.0.0",
"asmcrypto.js": "^2.3.2",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.0.0",
"base64-js": "^1.3.1",
"content-disposition": "^0.5.3",
"copy-webpack-plugin": "^6.2.0",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
"css-loader": "^4.3.0",
"css-mqpacker": "^7.0.0",
"cssnano": "^4.1.10",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-security": "^1.4.0",
"expose-loader": "^1.0.0",
"extract-loader": "^5.1.0",
"fast-text-encoding": "^1.0.3",
"file-loader": "^6.1.0",
"git-rev-sync": "^3.0.1",
"html-loader": "^1.3.1",
"http_ece": "^1.1.0",
"husky": "^4.3.0",
"intl-pluralrules": "^1.2.2",
"lint-staged": "^10.4.0",
"mini-css-extract-plugin": "^0.11.3",
"mocha": "^8.1.3",
"morgan": "^1.10.0",
"nanobus": "^4.4.0",
"nanohtml": "^1.9.1",
"nanotiming": "^7.3.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"postcss-loader": "^4.0.3",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.1.2",
"proxyquire": "^2.1.3",
"puppeteer": "^5.3.1",
"raw-loader": "^4.0.1",
"redis-mock": "^0.52.0",
"rimraf": "^3.0.2",
"script-loader": "^0.7.2",
"sinon": "^9.1.0",
"string-hash": "^1.1.3",
"stylelint": "^13.7.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-no-unsupported-browser-features": "^4.0.0",
"svgo": "^1.3.2",
"svgo-loader": "^2.2.1",
"tailwindcss": "^1.8.10",
"val-loader": "^2.1.1",
"web-streams-polyfill": "^3.0.0",
"webcrypto-liner": "^1.2.3",
"webpack": "4.44.2",
"webpack-cli": "^3.3.12",
"webpack-dev-middleware": "^3.7.2",
"webpack-dev-server": "^3.11.0",
"webpack-manifest-plugin": "^2.2.0",
"webpack-unassert-loader": "^1.2.0"
},
"dependencies": {
"@fluent/bundle": "^0.16.0",
"@fluent/langneg": "^0.5.0",
"@google-cloud/storage": "^5.3.0",
"@peculiar/webcrypto": "^1.1.3",
"aws-sdk": "^2.766.0",
"body-parser": "^1.19.0",
"choo": "^7.1.0",
"cldr-core": "^36.0.0",
"configstore": "^5.0.1",
"connect-redis": "^5.0.0",
"convict": "^6.0.0",
"convict-format-with-validator": "^6.0.0",
"express": "^4.17.1",
"express-session": "^1.17.1",
"express-ws": "^4.0.0",
"helmet": "^4.1.1",
"mkdirp": "^1.0.4",
"mozlog": "^3.0.1",
"node-fetch": "^2.6.1",
"redis": "^3.0.2",
"selenium-standalone": "^6.20.0",
"ua-parser-js": "^0.7.22",
"ws": "^7.3.1"
},
"availableLanguages": [
"en-US",
"an",
"ar",
"ast",
"azz",
"be",
"bn",
"br",
"ca",
"cak",
"cs",
"cy",
"da",
"de",
"dsb",
"el",
"en-CA",
"en-GB",
"es-AR",
"es-CL",
"es-ES",
"es-MX",
"et",
"eu",
"fa",
"fi",
"fr",
"fy-NL",
"gn",
"he",
"hr",
"hsb",
"hu",
"hus",
"hy-AM",
"ia",
"id",
"it",
"ja",
"ka",
"kab",
"ko",
"lt",
"meh",
"mix",
"ml",
"nb-NO",
"nl",
"nn-NO",
"oc",
"pa-IN",
"pl",
"ppl",
"pt-BR",
"pt-PT",
"quc",
"ro",
"ru",
"sk",
"sl",
"sq",
"sr",
"su",
"sv-SE",
"te",
"th",
"tr",
"uk",
"vi",
"zgh",
"zh-CN",
"zh-TW"
]
}