2017-05-24 22:16:38 +02:00
|
|
|
{
|
2017-07-11 21:34:49 +02:00
|
|
|
"name": "firefox-send",
|
2017-06-24 02:55:39 +02:00
|
|
|
"description": "File Sharing Experiment",
|
2019-03-13 20:14:48 +01:00
|
|
|
"version": "3.0.3",
|
2017-06-02 22:18:33 +02:00
|
|
|
"author": "Mozilla (https://mozilla.org)",
|
2017-08-24 23:54:02 +02:00
|
|
|
"repository": "mozilla/send",
|
|
|
|
"homepage": "https://github.com/mozilla/send/",
|
|
|
|
"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",
|
|
|
|
"circleci-test-integration": "cross-env NODE_ENV=development wdio test/wdio.circleci.conf.js",
|
2018-09-24 22:04:29 +02:00
|
|
|
"start": "npm run clean && cross-env NODE_ENV=development FXA_CLIENT_ID=fced6b5e3f4c66b9 BASE_URL=http://localhost:8080 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",
|
2019-01-04 20:59:30 +01:00
|
|
|
"pre-push": "npm test",
|
|
|
|
"post-merge": "npm install"
|
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": {
|
2018-08-02 21:24:36 +02:00
|
|
|
"node": ">=10.0.0"
|
2017-06-02 00:10:00 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-02-27 21:06:11 +01:00
|
|
|
"@babel/core": "^7.3.4",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.3.4",
|
2018-12-11 18:48:05 +01:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
2019-02-27 21:06:11 +01:00
|
|
|
"@babel/preset-env": "^7.3.4",
|
2019-02-22 00:20:28 +01:00
|
|
|
"@dannycoates/webcrypto-liner": "^0.1.34",
|
2018-07-12 22:13:49 +02:00
|
|
|
"@dannycoates/webpack-dev-server": "^3.1.4",
|
2018-10-26 01:49:22 +02:00
|
|
|
"@fullhuman/postcss-purgecss": "^1.1.0",
|
2019-01-17 01:18:50 +01:00
|
|
|
"@mattiasbuelens/web-streams-polyfill": "0.2.1",
|
2019-02-21 21:22:12 +01:00
|
|
|
"asmcrypto.js": "^0.22.0",
|
2019-01-04 21:05:46 +01:00
|
|
|
"babel-loader": "^8.0.5",
|
2019-02-20 05:12:12 +01:00
|
|
|
"babel-plugin-istanbul": "^5.1.1",
|
2018-07-12 22:13:49 +02:00
|
|
|
"base64-js": "^1.3.0",
|
2018-12-19 21:26:26 +01:00
|
|
|
"content-disposition": "^0.5.3",
|
2019-03-08 00:01:55 +01:00
|
|
|
"copy-webpack-plugin": "^5.0.0",
|
2019-02-20 05:12:12 +01:00
|
|
|
"core-js": "^2.6.5",
|
2018-08-02 21:24:36 +02:00
|
|
|
"crc": "^3.8.0",
|
2018-07-12 22:13:49 +02:00
|
|
|
"cross-env": "^5.2.0",
|
2019-03-08 00:01:55 +01:00
|
|
|
"css-loader": "^2.1.1",
|
2018-08-02 21:24:36 +02:00
|
|
|
"css-mqpacker": "^7.0.0",
|
2019-02-20 05:12:12 +01:00
|
|
|
"cssnano": "^4.1.10",
|
2019-03-08 00:01:55 +01:00
|
|
|
"eslint": "^5.15.1",
|
2019-02-20 05:12:12 +01:00
|
|
|
"eslint-plugin-mocha": "^5.3.0",
|
2019-01-04 21:05:46 +01:00
|
|
|
"eslint-plugin-node": "^8.0.1",
|
2017-06-20 21:18:14 +02:00
|
|
|
"eslint-plugin-security": "^1.4.0",
|
2018-07-12 22:13:49 +02:00
|
|
|
"expose-loader": "^0.7.5",
|
2018-11-26 21:10:10 +01:00
|
|
|
"extract-loader": "^3.1.0",
|
2018-07-13 20:13:09 +02:00
|
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
2018-03-01 04:24:41 +01:00
|
|
|
"fast-text-encoding": "^1.0.0",
|
2019-01-17 01:18:50 +01:00
|
|
|
"file-loader": "^3.0.1",
|
2017-11-30 22:41:09 +01:00
|
|
|
"fluent-intl-polyfill": "^0.1.0",
|
2018-07-12 22:13:49 +02:00
|
|
|
"git-rev-sync": "^1.12.0",
|
2018-02-01 22:42:27 +01:00
|
|
|
"html-loader": "^0.5.5",
|
2019-02-20 05:12:12 +01:00
|
|
|
"http_ece": "^1.1.0",
|
2019-01-04 21:05:46 +01:00
|
|
|
"husky": "^1.3.1",
|
2019-03-08 00:01:55 +01:00
|
|
|
"lint-staged": "^8.1.5",
|
2019-02-27 21:06:11 +01:00
|
|
|
"mocha": "^6.0.2",
|
2018-09-14 20:53:13 +02:00
|
|
|
"morgan": "^1.9.1",
|
2018-12-19 21:26:26 +01:00
|
|
|
"nanobus": "^4.4.0",
|
|
|
|
"nanohtml": "^1.4.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-02-20 05:12:12 +01:00
|
|
|
"nyc": "^13.3.0",
|
2018-09-07 08:08:32 +02:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-03-08 00:01:55 +01:00
|
|
|
"postcss-preset-env": "^6.6.0",
|
2019-02-09 00:58:05 +01:00
|
|
|
"prettier": "^1.16.4",
|
2018-09-04 22:13:25 +02:00
|
|
|
"proxyquire": "^2.1.0",
|
2019-02-18 20:09:37 +01:00
|
|
|
"puppeteer": "1.11.0",
|
2018-09-04 22:13:25 +02:00
|
|
|
"raven-js": "^3.27.0",
|
2018-12-11 18:48:05 +01:00
|
|
|
"raw-loader": "^1.0.0",
|
2019-02-09 00:58:05 +01:00
|
|
|
"redis-mock": "^0.43.0",
|
2019-01-04 21:05:46 +01:00
|
|
|
"rimraf": "^2.6.3",
|
2018-11-26 19:36:49 +01:00
|
|
|
"script-loader": "^0.7.2",
|
2019-03-08 00:01:55 +01:00
|
|
|
"sinon": "^7.2.7",
|
2017-09-12 02:09:29 +02:00
|
|
|
"string-hash": "^1.1.3",
|
2019-01-23 20:46:17 +01:00
|
|
|
"stylelint": "^9.10.1",
|
2018-03-08 20:31:35 +01:00
|
|
|
"stylelint-config-standard": "^18.2.0",
|
2018-10-02 22:15:02 +02:00
|
|
|
"stylelint-no-unsupported-browser-features": "^3.0.2",
|
2019-02-27 21:06:11 +01:00
|
|
|
"svgo": "^1.2.0",
|
2018-09-14 20:53:13 +02:00
|
|
|
"svgo-loader": "^2.2.0",
|
2019-01-23 20:46:17 +01:00
|
|
|
"tailwindcss": "^0.7.4",
|
2018-07-12 22:13:49 +02:00
|
|
|
"val-loader": "^1.1.1",
|
2018-10-02 22:15:02 +02: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 18:48:05 +01:00
|
|
|
"wdio-sauce-service": "^0.4.14",
|
2018-10-02 22:15:02 +02:00
|
|
|
"wdio-spec-reporter": "^0.1.5",
|
2019-03-08 00:01:55 +01:00
|
|
|
"webdriverio": "^4.14.3",
|
2019-02-20 05:12:12 +01:00
|
|
|
"webpack": "4.28.4",
|
2019-02-09 00:58:05 +01:00
|
|
|
"webpack-cli": "^3.2.3",
|
2019-03-08 00:01:55 +01:00
|
|
|
"webpack-dev-middleware": "^3.6.1",
|
2018-09-14 20:53:13 +02:00
|
|
|
"webpack-manifest-plugin": "^2.0.4",
|
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-02-06 19:25:18 +01:00
|
|
|
"@google-cloud/storage": "^2.4.2",
|
2019-03-08 00:01:55 +01:00
|
|
|
"aws-sdk": "^2.417.0",
|
2019-02-15 20:59:39 +01:00
|
|
|
"body-parser": "^1.18.3",
|
2018-07-12 22:13:49 +02:00
|
|
|
"choo": "^6.12.1",
|
2018-11-02 23:42:25 +01:00
|
|
|
"cldr-core": "^34.0.0",
|
2018-12-19 21:26:26 +01:00
|
|
|
"convict": "^4.4.1",
|
2018-07-12 22:13:49 +02:00
|
|
|
"express": "^4.16.3",
|
2018-11-26 21:10:10 +01:00
|
|
|
"express-ws": "github:dannycoates/express-ws",
|
2019-02-20 05:12:12 +01:00
|
|
|
"fluent": "^0.11.0",
|
2019-02-09 00:58:05 +01:00
|
|
|
"fluent-langneg": "^0.1.1",
|
2019-02-12 20:50:06 +01:00
|
|
|
"fxa-geodb": "^1.0.4",
|
2019-02-20 05:12:12 +01:00
|
|
|
"helmet": "^3.15.1",
|
2017-09-06 22:25:27 +02:00
|
|
|
"mkdirp": "^0.5.1",
|
2017-11-30 22:41:09 +01:00
|
|
|
"mozlog": "^2.2.0",
|
2018-11-16 22:06:36 +01:00
|
|
|
"node-fetch": "^2.3.0",
|
2018-09-04 22:13:25 +02:00
|
|
|
"raven": "^2.6.4",
|
2018-06-21 02:05:33 +02:00
|
|
|
"redis": "^2.8.0",
|
2019-02-12 20:50:06 +01:00
|
|
|
"ua-parser-js": "^0.7.19",
|
2018-06-22 22:17:23 +02:00
|
|
|
"websocket-stream": "^5.1.2"
|
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",
|
2019-03-12 18:02:38 +01:00
|
|
|
"bn-BD",
|
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-11 21:45:34 +01:00
|
|
|
"en-CA",
|
|
|
|
"en-GB",
|
2017-08-17 03:29:35 +02:00
|
|
|
"es-AR",
|
2017-08-04 00:19:55 +02:00
|
|
|
"es-ES",
|
|
|
|
"es-MX",
|
2017-07-26 18:59:08 +02:00
|
|
|
"fr",
|
2017-08-04 00:19:55 +02:00
|
|
|
"fy-NL",
|
2019-03-11 21:45:34 +01:00
|
|
|
"hr",
|
2017-08-04 00:19:55 +02:00
|
|
|
"hsb",
|
|
|
|
"hu",
|
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-03-11 21:45:34 +01:00
|
|
|
"lt",
|
2017-08-04 00:19:55 +02:00
|
|
|
"nl",
|
2019-03-13 18:44:23 +01:00
|
|
|
"nn-NO",
|
2017-07-31 19:28:04 +02:00
|
|
|
"pt-BR",
|
2017-07-31 23:34:28 +02:00
|
|
|
"pt-PT",
|
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",
|
2017-08-04 00:19:55 +02:00
|
|
|
"sv-SE",
|
2017-08-06 07:51:31 +02:00
|
|
|
"tr",
|
|
|
|
"uk",
|
2017-08-08 05:59:39 +02:00
|
|
|
"vi",
|
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
|
|
|
}
|