230 lines
5.8 KiB
JSON
230 lines
5.8 KiB
JSON
{
|
|
"name": "send",
|
|
"description": "File Sharing Experiment",
|
|
"version": "3.4.22",
|
|
"author": "Mozilla (https://mozilla.org)",
|
|
"contributors": [
|
|
"Tim Visee <3a4fb3964f@sinenomine.email> (https://timvisee.com)"
|
|
],
|
|
"repository": "gitlab:timvisee/send",
|
|
"homepage": "https://gitlab.com/timvisee/send/",
|
|
"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:8080 DETECT_BASE_URL=true webpack-dev-server --mode=development",
|
|
"android": "cross-env ANDROID=1 npm start",
|
|
"prod": "node server/bin/prod.js"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "npm test"
|
|
}
|
|
},
|
|
"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": "^16.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.9",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@dannycoates/webcrypto-liner": "^0.1.37",
|
|
"@fullhuman/postcss-purgecss": "^4.1.3",
|
|
"@mattiasbuelens/web-streams-polyfill": "0.2.1",
|
|
"@sentry/browser": "^5.30.0",
|
|
"asmcrypto.js": "^0.22.0",
|
|
"babel-loader": "^8.2.4",
|
|
"babel-plugin-istanbul": "^5.2.0",
|
|
"base64-js": "^1.5.1",
|
|
"content-disposition": "^0.5.4",
|
|
"copy-webpack-plugin": "^6.4.0",
|
|
"core-js": "^3.21.1",
|
|
"crc": "^3.8.0",
|
|
"cross-env": "^6.0.3",
|
|
"css-loader": "^5.2.7",
|
|
"css-mqpacker": "^7.0.0",
|
|
"cssnano": "^5.1.12",
|
|
"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",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"fast-text-encoding": "^1.0.3",
|
|
"file-loader": "^6.2.0",
|
|
"git-rev-sync": "^3.0.2",
|
|
"html-loader": "^0.5.5",
|
|
"http_ece": "^1.1.0",
|
|
"husky": "^3.0.9",
|
|
"intl-pluralrules": "^1.3.1",
|
|
"lint-staged": "^9.4.2",
|
|
"mocha": "^10.1.0",
|
|
"morgan": "^1.9.1",
|
|
"nanobus": "^4.5.0",
|
|
"nanohtml": "^1.9.0",
|
|
"nanotiming": "^7.3.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^14.1.1",
|
|
"postcss": "^8.4.14",
|
|
"postcss-loader": "^4.2.0",
|
|
"postcss-preset-env": "^7.7.2",
|
|
"prettier": "^1.19.1",
|
|
"proxyquire": "^2.1.3",
|
|
"puppeteer": "^2.0.0",
|
|
"raw-loader": "^3.1.0",
|
|
"rimraf": "^3.0.0",
|
|
"script-loader": "^0.7.2",
|
|
"sinon": "^7.5.0",
|
|
"string-hash": "^1.1.3",
|
|
"stylelint": "^14.9.1",
|
|
"stylelint-config-standard": "^26.0.0",
|
|
"stylelint-no-unsupported-browser-features": "^5.0.3",
|
|
"svgo": "^2.8.0",
|
|
"svgo-loader": "^3.0.1",
|
|
"tailwindcss": "^2",
|
|
"val-loader": "^2.1.2",
|
|
"webpack": "4.38.0",
|
|
"webpack-cli": "^3.3.12",
|
|
"webpack-dev-middleware": "^3.7.3",
|
|
"webpack-dev-server": "^3.11.3",
|
|
"webpack-manifest-plugin": "^2.2.0",
|
|
"webpack-unassert-loader": "^1.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@dannycoates/express-ws": "^5.0.3",
|
|
"@fluent/bundle": "^0.17.1",
|
|
"@fluent/langneg": "^0.6.2",
|
|
"@google-cloud/storage": "^6.2.3",
|
|
"@sentry/node": "^7.7.0",
|
|
"aws-sdk": "^2.1109.0",
|
|
"body-parser": "^1.20.0",
|
|
"choo": "^7.0.0",
|
|
"cldr-core": "^35.1.0",
|
|
"configstore": "github:dannycoates/configstore#master",
|
|
"convict": "^6.2.4",
|
|
"convict-format-with-validator": "^6.2.0",
|
|
"double-ended-queue": "^2.1.0-0",
|
|
"express": "^4.17.3",
|
|
"helmet": "^3.23.3",
|
|
"mozlog": "^3.0.1",
|
|
"node-fetch": "^2.6.7",
|
|
"redis": "^3.1.1",
|
|
"redis-mock": "^0.47.0",
|
|
"selenium-standalone": "^6.24.0",
|
|
"ua-parser-js": "^0.7.31"
|
|
},
|
|
"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"
|
|
]
|
|
}
|