2017-05-24 20:16:38 +00:00
|
|
|
{
|
2017-07-11 19:34:49 +00:00
|
|
|
"name": "firefox-send",
|
2017-06-24 00:55:39 +00:00
|
|
|
"description": "File Sharing Experiment",
|
2019-06-03 19:25:09 +00:00
|
|
|
"version": "3.0.12",
|
2017-06-02 20:18:33 +00:00
|
|
|
"author": "Mozilla (https://mozilla.org)",
|
2017-08-24 21:54:02 +00:00
|
|
|
"repository": "mozilla/send",
|
|
|
|
"homepage": "https://github.com/mozilla/send/",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"clean": "rimraf dist",
|
2018-07-12 20:13:49 +00:00
|
|
|
"build": "npm run clean && webpack",
|
2017-08-24 21:54:02 +00:00
|
|
|
"lint": "npm-run-all lint:*",
|
2018-02-13 19:32:59 +00:00
|
|
|
"lint:css": "stylelint app/*.css app/**/*.css",
|
2017-08-24 21:54:02 +00: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 19:01:55 +00:00
|
|
|
"format": "prettier '**/*.js' 'assets/*.css' --single-quote --write",
|
2017-08-24 21:54:02 +00: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 19:46:40 +00:00
|
|
|
"test": "npm-run-all test:*",
|
2018-10-02 20:15:02 +00: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 00:39:39 +00:00
|
|
|
"test-integration": "cross-env NODE_ENV=development wdio test/wdio.docker.conf.js",
|
|
|
|
"circleci-test-integration": "cross-env NODE_ENV=development wdio test/wdio.circleci.conf.js",
|
2019-03-31 20:03:50 +00:00
|
|
|
"start": "npm run clean && cross-env NODE_ENV=development L10N_DEV=true FXA_CLIENT_ID=fced6b5e3f4c66b9 BASE_URL=http://localhost:8080 webpack-dev-server --mode=development",
|
2018-09-24 22:08:39 +00:00
|
|
|
"android": "cross-env ANDROID=1 npm start",
|
2018-06-22 20:32:24 +00:00
|
|
|
"prod": "node server/bin/prod.js"
|
2017-08-24 21:54:02 +00:00
|
|
|
},
|
2018-10-02 20:15:02 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
2019-01-04 19:59:30 +00:00
|
|
|
"pre-push": "npm test",
|
|
|
|
"post-merge": "npm install"
|
2018-10-02 20:15:02 +00:00
|
|
|
}
|
|
|
|
},
|
2017-08-24 21:54:02 +00:00
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"eslint",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.css": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"stylelint",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2018-02-06 22:31:18 +00:00
|
|
|
"nyc": {
|
|
|
|
"reporter": [
|
2018-02-21 04:31:27 +00:00
|
|
|
"text"
|
2018-02-06 22:31:18 +00:00
|
|
|
],
|
|
|
|
"cache": true
|
|
|
|
},
|
2017-08-24 21:54:02 +00:00
|
|
|
"engines": {
|
2018-08-02 19:24:36 +00:00
|
|
|
"node": ">=10.0.0"
|
2017-06-01 22:10:00 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-07-11 17:46:07 +00:00
|
|
|
"@babel/core": "^7.5.4",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.5.0",
|
2018-12-11 17:48:05 +00:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
2019-07-11 17:46:07 +00:00
|
|
|
"@babel/preset-env": "^7.5.4",
|
2019-03-18 19:43:20 +00:00
|
|
|
"@dannycoates/webcrypto-liner": "^0.1.37",
|
2019-04-26 18:39:24 +00:00
|
|
|
"@fullhuman/postcss-purgecss": "^1.2.0",
|
2019-01-17 00:18:50 +00:00
|
|
|
"@mattiasbuelens/web-streams-polyfill": "0.2.1",
|
2019-02-21 20:22:12 +00:00
|
|
|
"asmcrypto.js": "^0.22.0",
|
2019-05-30 02:26:32 +00:00
|
|
|
"babel-loader": "^8.0.6",
|
2019-05-04 00:04:26 +00:00
|
|
|
"babel-plugin-istanbul": "^5.1.4",
|
2018-07-12 20:13:49 +00:00
|
|
|
"base64-js": "^1.3.0",
|
2018-12-19 20:26:26 +00:00
|
|
|
"content-disposition": "^0.5.3",
|
2019-04-26 18:39:24 +00:00
|
|
|
"copy-webpack-plugin": "^5.0.3",
|
2019-07-11 17:46:07 +00:00
|
|
|
"core-js": "^3.1.4",
|
2018-08-02 19:24:36 +00:00
|
|
|
"crc": "^3.8.0",
|
2018-07-12 20:13:49 +00:00
|
|
|
"cross-env": "^5.2.0",
|
2019-06-14 18:58:39 +00:00
|
|
|
"css-loader": "^3.0.0",
|
2018-08-02 19:24:36 +00:00
|
|
|
"css-mqpacker": "^7.0.0",
|
2019-02-20 04:12:12 +00:00
|
|
|
"cssnano": "^4.1.10",
|
2019-07-11 17:46:07 +00:00
|
|
|
"eslint": "^6.0.1",
|
2019-02-20 04:12:12 +00:00
|
|
|
"eslint-plugin-mocha": "^5.3.0",
|
2019-06-07 01:01:57 +00:00
|
|
|
"eslint-plugin-node": "^9.1.0",
|
2017-06-20 19:18:14 +00:00
|
|
|
"eslint-plugin-security": "^1.4.0",
|
2018-07-12 20:13:49 +00:00
|
|
|
"expose-loader": "^0.7.5",
|
2018-11-26 20:10:10 +00:00
|
|
|
"extract-loader": "^3.1.0",
|
2018-07-13 18:13:09 +00:00
|
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
2018-03-01 03:24:41 +00:00
|
|
|
"fast-text-encoding": "^1.0.0",
|
2019-06-07 01:01:57 +00:00
|
|
|
"file-loader": "^4.0.0",
|
2017-11-30 21:41:09 +00:00
|
|
|
"fluent-intl-polyfill": "^0.1.0",
|
2018-07-12 20:13:49 +00:00
|
|
|
"git-rev-sync": "^1.12.0",
|
2018-02-01 21:42:27 +00:00
|
|
|
"html-loader": "^0.5.5",
|
2019-02-20 04:12:12 +00:00
|
|
|
"http_ece": "^1.1.0",
|
2019-07-11 17:46:07 +00:00
|
|
|
"husky": "^3.0.0",
|
|
|
|
"lint-staged": "^9.2.0",
|
2019-04-26 18:39:24 +00:00
|
|
|
"mocha": "^6.1.4",
|
2018-09-14 18:53:13 +00:00
|
|
|
"morgan": "^1.9.1",
|
2018-12-19 20:26:26 +00:00
|
|
|
"nanobus": "^4.4.0",
|
2019-06-07 01:01:57 +00:00
|
|
|
"nanohtml": "^1.6.3",
|
2018-07-12 20:13:49 +00:00
|
|
|
"nanotiming": "^7.3.1",
|
2018-11-26 20:10:10 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-05-30 02:26:32 +00:00
|
|
|
"nyc": "^14.1.1",
|
2018-09-07 06:08:32 +00:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-07-11 17:46:07 +00:00
|
|
|
"postcss-preset-env": "^6.7.0",
|
2019-06-14 18:58:39 +00:00
|
|
|
"prettier": "^1.18.2",
|
2018-09-04 20:13:25 +00:00
|
|
|
"proxyquire": "^2.1.0",
|
2019-07-11 17:46:07 +00:00
|
|
|
"puppeteer": "^1.18.1",
|
2019-06-07 01:01:57 +00:00
|
|
|
"raven-js": "^3.27.2",
|
|
|
|
"raw-loader": "^3.0.0",
|
|
|
|
"redis-mock": "^0.44.0",
|
2019-01-04 20:05:46 +00:00
|
|
|
"rimraf": "^2.6.3",
|
2018-11-26 18:36:49 +00:00
|
|
|
"script-loader": "^0.7.2",
|
2019-04-17 16:27:50 +00:00
|
|
|
"sinon": "^7.3.2",
|
2017-09-12 00:09:29 +00:00
|
|
|
"string-hash": "^1.1.3",
|
2019-06-14 18:58:39 +00:00
|
|
|
"stylelint": "^10.1.0",
|
2019-04-17 16:27:50 +00:00
|
|
|
"stylelint-config-standard": "^18.3.0",
|
2018-10-02 20:15:02 +00:00
|
|
|
"stylelint-no-unsupported-browser-features": "^3.0.2",
|
2019-04-17 16:27:50 +00:00
|
|
|
"svgo": "^1.2.2",
|
2019-06-14 18:58:39 +00:00
|
|
|
"svgo-loader": "^2.2.1",
|
2019-07-11 17:46:07 +00:00
|
|
|
"tailwindcss": "^1.0.5",
|
2018-07-12 20:13:49 +00:00
|
|
|
"val-loader": "^1.1.1",
|
2018-10-02 20:15:02 +00:00
|
|
|
"wdio-docker-service": "^1.4.2",
|
|
|
|
"wdio-dot-reporter": "0.0.10",
|
|
|
|
"wdio-firefox-profile-service": "^0.1.3",
|
|
|
|
"wdio-mocha-framework": "^0.6.3",
|
2018-12-11 17:48:05 +00:00
|
|
|
"wdio-sauce-service": "^0.4.14",
|
2019-03-13 00:47:54 +00:00
|
|
|
"wdio-selenium-standalone-service": "0.0.12",
|
2018-10-02 20:15:02 +00:00
|
|
|
"wdio-spec-reporter": "^0.1.5",
|
2019-03-31 20:03:11 +00:00
|
|
|
"webdriverio": "^4.14.4",
|
2019-07-11 17:46:07 +00:00
|
|
|
"webpack": "^4.35.3",
|
|
|
|
"webpack-cli": "^3.3.5",
|
2019-05-30 02:26:32 +00:00
|
|
|
"webpack-dev-middleware": "^3.7.0",
|
2019-07-11 17:46:07 +00:00
|
|
|
"webpack-dev-server": "^3.7.2",
|
2018-09-14 18:53:13 +00:00
|
|
|
"webpack-manifest-plugin": "^2.0.4",
|
2017-08-25 22:38:26 +00:00
|
|
|
"webpack-unassert-loader": "^1.2.0"
|
2017-06-02 20:18:33 +00:00
|
|
|
},
|
2017-08-24 21:54:02 +00:00
|
|
|
"dependencies": {
|
2019-07-11 17:46:07 +00:00
|
|
|
"@google-cloud/storage": "^3.0.2",
|
|
|
|
"aws-sdk": "^2.492.0",
|
2019-04-26 18:39:24 +00:00
|
|
|
"body-parser": "^1.19.0",
|
2019-04-11 18:05:40 +00:00
|
|
|
"choo": "^6.13.3",
|
2019-04-26 18:39:24 +00:00
|
|
|
"cldr-core": "^35.1.0",
|
2019-06-07 01:01:57 +00:00
|
|
|
"convict": "^5.0.0",
|
2019-05-30 02:26:32 +00:00
|
|
|
"express": "^4.17.1",
|
2018-11-26 20:10:10 +00:00
|
|
|
"express-ws": "github:dannycoates/express-ws",
|
2019-04-11 18:05:40 +00:00
|
|
|
"fluent": "^0.12.0",
|
2019-07-11 17:46:07 +00:00
|
|
|
"fluent-langneg": "^0.2.0",
|
2019-02-12 19:50:06 +00:00
|
|
|
"fxa-geodb": "^1.0.4",
|
2019-05-30 02:26:32 +00:00
|
|
|
"helmet": "^3.18.0",
|
2017-09-06 20:25:27 +00:00
|
|
|
"mkdirp": "^0.5.1",
|
2017-11-30 21:41:09 +00:00
|
|
|
"mozlog": "^2.2.0",
|
2019-05-30 02:26:32 +00:00
|
|
|
"node-fetch": "^2.6.0",
|
2018-09-04 20:13:25 +00:00
|
|
|
"raven": "^2.6.4",
|
2018-06-21 00:05:33 +00:00
|
|
|
"redis": "^2.8.0",
|
2019-03-13 00:47:54 +00:00
|
|
|
"selenium-standalone": "^6.15.6",
|
2019-06-14 18:58:39 +00:00
|
|
|
"ua-parser-js": "^0.7.20",
|
2019-04-26 18:39:24 +00:00
|
|
|
"websocket-stream": "^5.5.0"
|
2017-06-07 18:26:40 +00:00
|
|
|
},
|
2017-07-26 16:59:08 +00:00
|
|
|
"availableLanguages": [
|
2017-08-24 21:54:02 +00:00
|
|
|
"en-US",
|
2019-03-18 22:26:06 +00:00
|
|
|
"ast",
|
2019-07-10 04:50:12 +00:00
|
|
|
"bn",
|
2019-03-13 17:44:23 +00:00
|
|
|
"ca",
|
2017-09-12 22:42:56 +00:00
|
|
|
"cak",
|
2017-08-03 22:19:55 +00:00
|
|
|
"cs",
|
|
|
|
"cy",
|
2018-05-21 20:58:01 +00:00
|
|
|
"da",
|
2017-07-31 21:34:28 +00:00
|
|
|
"de",
|
2017-08-03 22:19:55 +00:00
|
|
|
"dsb",
|
2019-03-26 16:45:35 +00:00
|
|
|
"el",
|
2019-03-11 20:45:34 +00:00
|
|
|
"en-CA",
|
|
|
|
"en-GB",
|
2017-08-17 01:29:35 +00:00
|
|
|
"es-AR",
|
2019-03-18 22:26:06 +00:00
|
|
|
"es-CL",
|
2017-08-03 22:19:55 +00:00
|
|
|
"es-ES",
|
|
|
|
"es-MX",
|
2019-03-26 16:45:35 +00:00
|
|
|
"fi",
|
2017-07-26 16:59:08 +00:00
|
|
|
"fr",
|
2017-08-03 22:19:55 +00:00
|
|
|
"fy-NL",
|
2019-03-11 20:45:34 +00:00
|
|
|
"hr",
|
2017-08-03 22:19:55 +00:00
|
|
|
"hsb",
|
|
|
|
"hu",
|
2019-03-18 22:26:06 +00:00
|
|
|
"ia",
|
2017-08-03 22:28:08 +00:00
|
|
|
"id",
|
2017-08-03 22:19:55 +00:00
|
|
|
"it",
|
|
|
|
"ja",
|
2017-11-07 23:54:42 +00:00
|
|
|
"ka",
|
2019-04-17 16:35:50 +00:00
|
|
|
"kab",
|
|
|
|
"ko",
|
2019-03-11 20:45:34 +00:00
|
|
|
"lt",
|
2017-08-03 22:19:55 +00:00
|
|
|
"nl",
|
2019-03-13 17:44:23 +00:00
|
|
|
"nn-NO",
|
2019-03-18 22:26:06 +00:00
|
|
|
"pl",
|
2017-07-31 17:28:04 +00:00
|
|
|
"pt-BR",
|
2017-07-31 21:34:28 +00:00
|
|
|
"pt-PT",
|
2018-02-07 20:09:23 +00:00
|
|
|
"ro",
|
2017-08-03 22:19:55 +00:00
|
|
|
"ru",
|
2019-03-13 17:44:23 +00:00
|
|
|
"sk",
|
2017-07-31 17:28:04 +00:00
|
|
|
"sl",
|
2019-04-17 16:35:50 +00:00
|
|
|
"sq",
|
2019-03-26 16:45:35 +00:00
|
|
|
"sr",
|
2017-08-03 22:19:55 +00:00
|
|
|
"sv-SE",
|
2017-08-06 05:51:31 +00:00
|
|
|
"tr",
|
|
|
|
"uk",
|
2017-08-08 03:59:39 +00:00
|
|
|
"vi",
|
2017-08-03 22:19:55 +00:00
|
|
|
"zh-CN",
|
|
|
|
"zh-TW"
|
2017-08-24 21:54:02 +00:00
|
|
|
]
|
2017-05-24 20:16:38 +00:00
|
|
|
}
|