2017-05-24 22:16:38 +02:00
|
|
|
{
|
2020-10-15 20:04:29 +02:00
|
|
|
"name": "send",
|
2017-06-24 02:55:39 +02:00
|
|
|
"description": "File Sharing Experiment",
|
2023-01-16 17:23:07 +01:00
|
|
|
"version": "3.4.22",
|
2017-06-02 22:18:33 +02:00
|
|
|
"author": "Mozilla (https://mozilla.org)",
|
2020-10-15 20:04:29 +02:00
|
|
|
"contributors": [
|
|
|
|
"Tim Visee <3a4fb3964f@sinenomine.email> (https://timvisee.com)"
|
|
|
|
],
|
|
|
|
"repository": "gitlab:timvisee/send",
|
|
|
|
"homepage": "https://gitlab.com/timvisee/send/",
|
2017-08-24 23:54:02 +02:00
|
|
|
"license": "MPL-2.0",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"clean": "rimraf dist",
|
2018-07-12 22:13:49 +02:00
|
|
|
"build": "npm run clean && webpack",
|
2017-08-24 23:54:02 +02:00
|
|
|
"lint": "npm-run-all lint:*",
|
2018-02-13 20:32:59 +01:00
|
|
|
"lint:css": "stylelint app/*.css app/**/*.css",
|
2017-08-24 23:54:02 +02:00
|
|
|
"lint:js": "eslint .",
|
|
|
|
"lint-locales": "node scripts/lint-locales",
|
|
|
|
"lint-locales:dev": "npm run lint-locales",
|
|
|
|
"lint-locales:prod": "npm run lint-locales -- --production",
|
2017-09-13 21:01:55 +02:00
|
|
|
"format": "prettier '**/*.js' 'assets/*.css' --single-quote --write",
|
2017-08-24 23:54:02 +02:00
|
|
|
"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",
|
2018-07-25 21:46:40 +02:00
|
|
|
"test": "npm-run-all test:*",
|
2018-10-02 22:15:02 +02:00
|
|
|
"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",
|
2018-10-04 02:39:39 +02:00
|
|
|
"test-integration": "cross-env NODE_ENV=development wdio test/wdio.docker.conf.js",
|
2020-04-30 02:33:12 +02:00
|
|
|
"circleci-test-integration": "echo 'webdriverio tests need to be updated to node 12'",
|
2021-05-07 13:06:59 +02:00
|
|
|
"start": "npm run clean && cross-env NODE_ENV=development L10N_DEV=true BASE_URL=http://localhost:8080 DETECT_BASE_URL=true webpack-dev-server --mode=development",
|
2018-09-25 00:08:39 +02:00
|
|
|
"android": "cross-env ANDROID=1 npm start",
|
2018-06-22 22:32:24 +02:00
|
|
|
"prod": "node server/bin/prod.js"
|
2017-08-24 23:54:02 +02:00
|
|
|
},
|
2018-10-02 22:15:02 +02:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
2021-06-28 17:19:30 +02:00
|
|
|
"pre-push": "npm test"
|
2018-10-02 22:15:02 +02:00
|
|
|
}
|
|
|
|
},
|
2017-08-24 23:54:02 +02:00
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"eslint",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.css": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"stylelint",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2018-02-06 23:31:18 +01:00
|
|
|
"nyc": {
|
|
|
|
"reporter": [
|
2018-02-21 05:31:27 +01:00
|
|
|
"text"
|
2018-02-06 23:31:18 +01:00
|
|
|
],
|
|
|
|
"cache": true
|
|
|
|
},
|
2017-08-24 23:54:02 +02:00
|
|
|
"engines": {
|
2021-12-01 18:20:43 +01:00
|
|
|
"node": "^16.13.0"
|
2017-06-02 00:10:00 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-04-07 13:22:46 +02:00
|
|
|
"@babel/core": "^7.17.9",
|
2022-01-17 13:09:19 +01:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
2018-12-11 18:48:05 +01:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
2022-01-24 17:20:29 +01:00
|
|
|
"@babel/preset-env": "^7.16.11",
|
2022-09-04 12:26:12 +02:00
|
|
|
"@dannycoates/webcrypto-liner": "^0.1.37",
|
2022-07-26 18:52:29 +02:00
|
|
|
"@fullhuman/postcss-purgecss": "^4.1.3",
|
2022-09-04 12:26:12 +02:00
|
|
|
"@mattiasbuelens/web-streams-polyfill": "0.2.1",
|
2021-01-18 16:04:11 +01:00
|
|
|
"@sentry/browser": "^5.30.0",
|
2022-09-04 12:26:03 +02:00
|
|
|
"asmcrypto.js": "^0.22.0",
|
2022-03-28 21:45:05 +02:00
|
|
|
"babel-loader": "^8.2.4",
|
2022-09-04 12:26:10 +02:00
|
|
|
"babel-plugin-istanbul": "^5.2.0",
|
2020-11-16 18:07:08 +01:00
|
|
|
"base64-js": "^1.5.1",
|
2021-12-19 23:04:26 +01:00
|
|
|
"content-disposition": "^0.5.4",
|
2022-07-26 19:21:12 +02:00
|
|
|
"copy-webpack-plugin": "^6.4.0",
|
2022-03-07 14:39:38 +01:00
|
|
|
"core-js": "^3.21.1",
|
2018-08-02 21:24:36 +02:00
|
|
|
"crc": "^3.8.0",
|
2019-10-04 08:32:49 +02:00
|
|
|
"cross-env": "^6.0.3",
|
2022-07-26 18:52:29 +02:00
|
|
|
"css-loader": "^5.2.7",
|
2022-09-04 12:26:07 +02:00
|
|
|
"css-mqpacker": "^7.0.0",
|
2022-07-26 18:52:29 +02:00
|
|
|
"cssnano": "^5.1.12",
|
2022-09-04 12:26:10 +02:00
|
|
|
"eslint": "^6.6.0",
|
|
|
|
"eslint-config-prettier": "^6.15.0",
|
|
|
|
"eslint-plugin-mocha": "^6.2.1",
|
|
|
|
"eslint-plugin-node": "^10.0.0",
|
|
|
|
"eslint-plugin-security": "^1.4.0",
|
|
|
|
"expose-loader": "^0.7.5",
|
|
|
|
"extract-loader": "^3.2.0",
|
2018-07-13 20:13:09 +02:00
|
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
2022-09-04 12:26:07 +02:00
|
|
|
"fast-text-encoding": "^1.0.3",
|
2022-07-26 19:21:12 +02:00
|
|
|
"file-loader": "^6.2.0",
|
2022-07-26 13:18:17 +02:00
|
|
|
"git-rev-sync": "^3.0.2",
|
2022-09-04 12:26:10 +02:00
|
|
|
"html-loader": "^0.5.5",
|
2019-02-20 05:12:12 +01:00
|
|
|
"http_ece": "^1.1.0",
|
2019-10-21 19:24:07 +02:00
|
|
|
"husky": "^3.0.9",
|
2021-10-06 18:08:47 +02:00
|
|
|
"intl-pluralrules": "^1.3.1",
|
2019-10-21 19:24:07 +02:00
|
|
|
"lint-staged": "^9.4.2",
|
2022-11-14 19:32:13 +01:00
|
|
|
"mocha": "^10.1.0",
|
2018-09-14 20:53:13 +02:00
|
|
|
"morgan": "^1.9.1",
|
2021-03-15 21:16:57 +01:00
|
|
|
"nanobus": "^4.5.0",
|
2019-11-06 05:19:07 +01:00
|
|
|
"nanohtml": "^1.9.0",
|
2018-07-12 22:13:49 +02:00
|
|
|
"nanotiming": "^7.3.1",
|
2018-11-26 21:10:10 +01:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-05-30 04:26:32 +02:00
|
|
|
"nyc": "^14.1.1",
|
2022-07-26 18:52:29 +02:00
|
|
|
"postcss": "^8.4.14",
|
|
|
|
"postcss-loader": "^4.2.0",
|
|
|
|
"postcss-preset-env": "^7.7.2",
|
2019-11-11 17:44:25 +01:00
|
|
|
"prettier": "^1.19.1",
|
2019-08-12 18:59:11 +02:00
|
|
|
"proxyquire": "^2.1.3",
|
2019-11-11 17:44:25 +01:00
|
|
|
"puppeteer": "^2.0.0",
|
2019-07-23 19:30:43 +02:00
|
|
|
"raw-loader": "^3.1.0",
|
2019-08-26 17:58:34 +02:00
|
|
|
"rimraf": "^3.0.0",
|
2022-09-04 12:26:10 +02:00
|
|
|
"script-loader": "^0.7.2",
|
2019-09-23 18:22:22 +02:00
|
|
|
"sinon": "^7.5.0",
|
2017-09-12 02:09:29 +02:00
|
|
|
"string-hash": "^1.1.3",
|
2022-07-26 19:21:12 +02:00
|
|
|
"stylelint": "^14.9.1",
|
|
|
|
"stylelint-config-standard": "^26.0.0",
|
|
|
|
"stylelint-no-unsupported-browser-features": "^5.0.3",
|
2022-07-26 13:56:20 +02:00
|
|
|
"svgo": "^2.8.0",
|
|
|
|
"svgo-loader": "^3.0.1",
|
2022-07-26 18:52:29 +02:00
|
|
|
"tailwindcss": "^2",
|
2022-07-26 19:21:12 +02:00
|
|
|
"val-loader": "^2.1.2",
|
2019-08-07 21:14:27 +02:00
|
|
|
"webpack": "4.38.0",
|
2020-10-15 16:42:39 +02:00
|
|
|
"webpack-cli": "^3.3.12",
|
2021-01-09 17:15:26 +01:00
|
|
|
"webpack-dev-middleware": "^3.7.3",
|
2022-11-14 19:43:09 +01:00
|
|
|
"webpack-dev-server": "^3.11.3",
|
2019-10-04 08:32:49 +02:00
|
|
|
"webpack-manifest-plugin": "^2.2.0",
|
2017-08-26 00:38:26 +02:00
|
|
|
"webpack-unassert-loader": "^1.2.0"
|
2017-06-02 22:18:33 +02:00
|
|
|
},
|
2017-08-24 23:54:02 +02:00
|
|
|
"dependencies": {
|
2019-08-07 22:47:26 +02:00
|
|
|
"@dannycoates/express-ws": "^5.0.3",
|
2022-07-26 13:03:10 +02:00
|
|
|
"@fluent/bundle": "^0.17.1",
|
|
|
|
"@fluent/langneg": "^0.6.2",
|
2022-07-26 13:05:53 +02:00
|
|
|
"@google-cloud/storage": "^6.2.3",
|
|
|
|
"@sentry/node": "^7.7.0",
|
2022-04-07 13:22:46 +02:00
|
|
|
"aws-sdk": "^2.1109.0",
|
|
|
|
"body-parser": "^1.20.0",
|
2019-08-26 17:58:34 +02:00
|
|
|
"choo": "^7.0.0",
|
2019-04-26 20:39:24 +02:00
|
|
|
"cldr-core": "^35.1.0",
|
2022-09-04 12:26:09 +02:00
|
|
|
"configstore": "github:dannycoates/configstore#master",
|
2023-01-10 23:22:09 +01:00
|
|
|
"convict": "^6.2.4",
|
2022-04-25 10:30:48 +02:00
|
|
|
"convict-format-with-validator": "^6.2.0",
|
2022-09-04 12:26:05 +02:00
|
|
|
"double-ended-queue": "^2.1.0-0",
|
2022-03-07 14:39:38 +01:00
|
|
|
"express": "^4.17.3",
|
2020-10-15 16:42:39 +02:00
|
|
|
"helmet": "^3.23.3",
|
2022-07-26 19:21:12 +02:00
|
|
|
"mozlog": "^3.0.1",
|
2022-01-17 13:09:19 +01:00
|
|
|
"node-fetch": "^2.6.7",
|
2021-06-28 17:28:06 +02:00
|
|
|
"redis": "^3.1.1",
|
2021-02-16 14:54:36 +01:00
|
|
|
"redis-mock": "^0.47.0",
|
2021-06-23 21:02:46 +02:00
|
|
|
"selenium-standalone": "^6.24.0",
|
2021-12-01 18:13:10 +01:00
|
|
|
"ua-parser-js": "^0.7.31"
|
2017-06-07 20:26:40 +02:00
|
|
|
},
|
2017-07-26 18:59:08 +02:00
|
|
|
"availableLanguages": [
|
2017-08-24 23:54:02 +02:00
|
|
|
"en-US",
|
2020-01-02 08:29:52 +01:00
|
|
|
"an",
|
2019-07-30 01:24:48 +02:00
|
|
|
"ar",
|
2019-03-18 23:26:06 +01:00
|
|
|
"ast",
|
2020-04-23 07:33:37 +02:00
|
|
|
"azz",
|
2019-11-11 09:38:46 +01:00
|
|
|
"be",
|
2019-07-10 06:50:12 +02:00
|
|
|
"bn",
|
2019-07-30 01:24:48 +02:00
|
|
|
"br",
|
2019-03-13 18:44:23 +01:00
|
|
|
"ca",
|
2017-09-13 00:42:56 +02:00
|
|
|
"cak",
|
2017-08-04 00:19:55 +02:00
|
|
|
"cs",
|
|
|
|
"cy",
|
2018-05-21 22:58:01 +02:00
|
|
|
"da",
|
2017-07-31 23:34:28 +02:00
|
|
|
"de",
|
2017-08-04 00:19:55 +02:00
|
|
|
"dsb",
|
2019-03-26 17:45:35 +01:00
|
|
|
"el",
|
2019-03-11 21:45:34 +01:00
|
|
|
"en-CA",
|
|
|
|
"en-GB",
|
2017-08-17 03:29:35 +02:00
|
|
|
"es-AR",
|
2019-03-18 23:26:06 +01:00
|
|
|
"es-CL",
|
2017-08-04 00:19:55 +02:00
|
|
|
"es-ES",
|
|
|
|
"es-MX",
|
2019-07-30 01:24:48 +02:00
|
|
|
"et",
|
2019-08-12 19:10:07 +02:00
|
|
|
"eu",
|
2020-04-23 07:33:37 +02:00
|
|
|
"fa",
|
2019-03-26 17:45:35 +01:00
|
|
|
"fi",
|
2017-07-26 18:59:08 +02:00
|
|
|
"fr",
|
2017-08-04 00:19:55 +02:00
|
|
|
"fy-NL",
|
2020-01-02 08:29:52 +01:00
|
|
|
"gn",
|
2019-07-30 01:24:48 +02:00
|
|
|
"he",
|
2019-03-11 21:45:34 +01:00
|
|
|
"hr",
|
2017-08-04 00:19:55 +02:00
|
|
|
"hsb",
|
|
|
|
"hu",
|
2020-04-23 07:33:37 +02:00
|
|
|
"hus",
|
|
|
|
"hy-AM",
|
2019-03-18 23:26:06 +01:00
|
|
|
"ia",
|
2017-08-04 00:28:08 +02:00
|
|
|
"id",
|
2017-08-04 00:19:55 +02:00
|
|
|
"it",
|
|
|
|
"ja",
|
2017-11-08 00:54:42 +01:00
|
|
|
"ka",
|
2019-04-17 18:35:50 +02:00
|
|
|
"kab",
|
|
|
|
"ko",
|
2019-03-11 21:45:34 +01:00
|
|
|
"lt",
|
2019-11-11 09:38:46 +01:00
|
|
|
"meh",
|
2020-01-02 08:29:52 +01:00
|
|
|
"mix",
|
2019-07-30 01:24:48 +02:00
|
|
|
"ml",
|
2019-08-12 19:10:07 +02:00
|
|
|
"nb-NO",
|
2017-08-04 00:19:55 +02:00
|
|
|
"nl",
|
2019-03-13 18:44:23 +01:00
|
|
|
"nn-NO",
|
2019-08-12 19:10:07 +02:00
|
|
|
"oc",
|
2019-07-30 01:24:48 +02:00
|
|
|
"pa-IN",
|
2019-03-18 23:26:06 +01:00
|
|
|
"pl",
|
2019-11-11 09:38:46 +01:00
|
|
|
"ppl",
|
2017-07-31 19:28:04 +02:00
|
|
|
"pt-BR",
|
2017-07-31 23:34:28 +02:00
|
|
|
"pt-PT",
|
2019-11-11 09:38:46 +01:00
|
|
|
"quc",
|
2018-02-07 21:09:23 +01:00
|
|
|
"ro",
|
2017-08-04 00:19:55 +02:00
|
|
|
"ru",
|
2019-03-13 18:44:23 +01:00
|
|
|
"sk",
|
2017-07-31 19:28:04 +02:00
|
|
|
"sl",
|
2019-04-17 18:35:50 +02:00
|
|
|
"sq",
|
2019-03-26 17:45:35 +01:00
|
|
|
"sr",
|
2019-07-30 01:24:48 +02:00
|
|
|
"su",
|
2017-08-04 00:19:55 +02:00
|
|
|
"sv-SE",
|
2019-10-21 19:36:34 +02:00
|
|
|
"te",
|
2019-07-30 01:24:48 +02:00
|
|
|
"th",
|
2017-08-06 07:51:31 +02:00
|
|
|
"tr",
|
|
|
|
"uk",
|
2017-08-08 05:59:39 +02:00
|
|
|
"vi",
|
2019-07-30 01:24:48 +02:00
|
|
|
"zgh",
|
2017-08-04 00:19:55 +02:00
|
|
|
"zh-CN",
|
|
|
|
"zh-TW"
|
2017-08-24 23:54:02 +02:00
|
|
|
]
|
2017-05-24 22:16:38 +02:00
|
|
|
}
|