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",
|
2018-02-05 17:34:22 +00:00
|
|
|
"version": "2.3.1",
|
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": {
|
|
|
|
"precommit": "lint-staged",
|
2018-02-21 04:31:27 +00:00
|
|
|
"prepush": "npm test",
|
2017-08-24 21:54:02 +00:00
|
|
|
"clean": "rimraf dist",
|
|
|
|
"build": "npm run clean && webpack -p",
|
|
|
|
"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",
|
|
|
|
"changelog": "github-changes -o mozilla -r send --only-pulls --use-commit-body --no-merges",
|
|
|
|
"contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS",
|
|
|
|
"release": "npm-run-all contributors changelog",
|
2018-02-21 04:31:27 +00:00
|
|
|
"test": "npm-run-all test:*",
|
|
|
|
"test:backend": "nyc mocha --reporter=min test/unit",
|
|
|
|
"test:frontend": "cross-env NODE_ENV=development node test/frontend/runner.js && nyc report --reporter=html",
|
2017-08-24 21:54:02 +00:00
|
|
|
"start": "cross-env NODE_ENV=development webpack-dev-server",
|
2018-02-06 22:31:18 +00:00
|
|
|
"prod": "node server/prod.js",
|
|
|
|
"cover": "nyc --reporter=html mocha test/unit"
|
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": {
|
|
|
|
"node": ">=8.2.0"
|
2017-06-01 22:10:00 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-08-24 21:54:02 +00:00
|
|
|
"babel-core": "^6.26.0",
|
|
|
|
"babel-loader": "^7.1.2",
|
2018-02-21 04:31:27 +00:00
|
|
|
"babel-plugin-istanbul": "^4.1.5",
|
2017-11-30 21:41:09 +00:00
|
|
|
"babel-plugin-yo-yoify": "^1.0.2",
|
2017-11-09 23:07:03 +00:00
|
|
|
"babel-preset-env": "^1.6.1",
|
2017-08-07 02:32:07 +00:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
2018-02-20 18:56:06 +00:00
|
|
|
"babel-preset-stage-3": "^6.24.1",
|
|
|
|
"base64-js": "^1.2.3",
|
2018-02-12 19:35:33 +00:00
|
|
|
"copy-webpack-plugin": "^4.4.1",
|
2018-02-01 21:42:27 +00:00
|
|
|
"cross-env": "^5.1.3",
|
|
|
|
"css-loader": "^0.28.9",
|
|
|
|
"css-mqpacker": "^6.0.2",
|
2018-02-20 18:56:06 +00:00
|
|
|
"eslint": "^4.18.0",
|
2017-06-20 19:18:14 +00:00
|
|
|
"eslint-plugin-mocha": "^4.11.0",
|
2018-02-12 19:35:33 +00:00
|
|
|
"eslint-plugin-node": "^6.0.0",
|
2017-06-20 19:18:14 +00:00
|
|
|
"eslint-plugin-security": "^1.4.0",
|
2017-11-30 21:41:09 +00:00
|
|
|
"expose-loader": "^0.7.4",
|
2018-02-01 21:42:27 +00:00
|
|
|
"extract-loader": "^1.0.2",
|
2018-02-13 19:32:59 +00:00
|
|
|
"extract-text-webpack-plugin": "^3.0.2",
|
2018-02-20 18:56:06 +00:00
|
|
|
"file-loader": "^1.1.7",
|
2017-11-30 21:41:09 +00:00
|
|
|
"fluent-intl-polyfill": "^0.1.0",
|
2018-02-20 18:56:06 +00:00
|
|
|
"git-rev-sync": "^1.10.0",
|
2018-02-01 21:42:27 +00:00
|
|
|
"github-changes": "^1.1.2",
|
|
|
|
"html-loader": "^0.5.5",
|
2017-08-11 22:59:14 +00:00
|
|
|
"husky": "^0.14.3",
|
2018-02-20 18:56:06 +00:00
|
|
|
"lint-staged": "^6.1.1",
|
2018-02-06 00:36:44 +00:00
|
|
|
"mocha": "^5.0.0",
|
2018-02-01 21:42:27 +00:00
|
|
|
"nanobus": "^4.3.2",
|
2018-02-13 19:32:59 +00:00
|
|
|
"nanotiming": "^7.3.0",
|
2017-11-09 23:07:03 +00:00
|
|
|
"npm-run-all": "^4.1.2",
|
2018-02-20 18:56:06 +00:00
|
|
|
"nsp": "^3.2.1",
|
2018-02-13 19:32:59 +00:00
|
|
|
"nyc": "^11.5.0",
|
|
|
|
"postcss-cssnext": "^3.1.0",
|
|
|
|
"postcss-import": "^11.1.0",
|
2018-02-06 00:36:44 +00:00
|
|
|
"postcss-loader": "^2.1.0",
|
2018-02-01 21:42:27 +00:00
|
|
|
"prettier": "^1.10.2",
|
2017-06-20 17:21:11 +00:00
|
|
|
"proxyquire": "^1.8.0",
|
2018-02-21 04:31:27 +00:00
|
|
|
"puppeteer": "^1.1.0",
|
2018-02-12 19:35:33 +00:00
|
|
|
"raven-js": "^3.22.2",
|
2018-02-06 22:31:18 +00:00
|
|
|
"redis-mock": "^0.21.0",
|
2017-10-02 20:03:56 +00:00
|
|
|
"require-from-string": "^2.0.1",
|
2017-09-13 19:01:55 +00:00
|
|
|
"rimraf": "^2.6.2",
|
2018-02-12 19:35:33 +00:00
|
|
|
"sinon": "^4.3.0",
|
2017-09-12 00:09:29 +00:00
|
|
|
"string-hash": "^1.1.3",
|
2018-02-20 18:56:06 +00:00
|
|
|
"stylelint": "^9.0.0",
|
|
|
|
"stylelint-config-standard": "^18.1.0",
|
2018-02-12 19:35:33 +00:00
|
|
|
"stylelint-no-unsupported-browser-features": "^2.0.0",
|
2017-07-21 22:38:35 +00:00
|
|
|
"supertest": "^3.0.0",
|
2017-07-22 03:00:38 +00:00
|
|
|
"testpilot-ga": "^0.3.0",
|
2017-11-30 21:41:09 +00:00
|
|
|
"val-loader": "^1.1.0",
|
2018-02-12 19:35:33 +00:00
|
|
|
"webpack": "^3.11.0",
|
2018-02-21 04:31:27 +00:00
|
|
|
"webpack-dev-middleware": "^2.0.6",
|
2017-11-09 23:07:03 +00:00
|
|
|
"webpack-dev-server": "2.9.1",
|
2017-09-20 20:08:33 +00:00
|
|
|
"webpack-manifest-plugin": "^1.3.2",
|
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": {
|
2018-02-20 18:56:06 +00:00
|
|
|
"aws-sdk": "^2.198.0",
|
2018-02-20 20:52:44 +00:00
|
|
|
"babel-polyfill": "^6.26.0",
|
2017-09-26 17:23:30 +00:00
|
|
|
"body-parser": "^1.18.2",
|
2018-02-01 21:42:27 +00:00
|
|
|
"choo": "^6.7.0",
|
2017-11-10 20:40:18 +00:00
|
|
|
"cldr-core": "^32.0.0",
|
2017-08-24 21:54:02 +00:00
|
|
|
"connect-busboy": "0.0.2",
|
2017-10-02 18:44:35 +00:00
|
|
|
"convict": "^4.0.1",
|
2017-10-10 17:08:11 +00:00
|
|
|
"express": "^4.16.2",
|
2018-02-20 18:56:06 +00:00
|
|
|
"fluent": "^0.6.3",
|
2017-08-24 21:54:02 +00:00
|
|
|
"fluent-langneg": "^0.1.0",
|
2018-02-12 19:35:33 +00:00
|
|
|
"helmet": "^3.11.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",
|
2018-02-12 19:35:33 +00:00
|
|
|
"raven": "^2.4.1",
|
2017-08-24 21:54:02 +00:00
|
|
|
"redis": "^2.8.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",
|
2018-02-07 20:09:23 +00:00
|
|
|
"ar",
|
2017-08-17 01:29:35 +00:00
|
|
|
"ast",
|
2017-08-03 22:19:55 +00:00
|
|
|
"az",
|
2017-11-07 23:54:42 +00:00
|
|
|
"bs",
|
2017-08-03 22:22:44 +00:00
|
|
|
"ca",
|
2017-09-12 22:42:56 +00:00
|
|
|
"cak",
|
2017-08-03 22:19:55 +00:00
|
|
|
"cs",
|
|
|
|
"cy",
|
2017-07-31 21:34:28 +00:00
|
|
|
"de",
|
2017-08-03 22:19:55 +00:00
|
|
|
"dsb",
|
2017-08-06 05:51:31 +00:00
|
|
|
"el",
|
2017-08-17 01:29:35 +00:00
|
|
|
"es-AR",
|
2017-08-06 05:51:31 +00:00
|
|
|
"es-CL",
|
2017-08-03 22:19:55 +00:00
|
|
|
"es-ES",
|
|
|
|
"es-MX",
|
2017-09-26 17:29:26 +00:00
|
|
|
"et",
|
2017-09-12 22:42:56 +00:00
|
|
|
"fa",
|
2017-07-26 16:59:08 +00:00
|
|
|
"fr",
|
2017-08-03 22:19:55 +00:00
|
|
|
"fy-NL",
|
|
|
|
"hsb",
|
|
|
|
"hu",
|
2018-02-07 20:09:23 +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",
|
2017-08-03 22:19:55 +00:00
|
|
|
"kab",
|
2017-08-08 03:59:39 +00:00
|
|
|
"ko",
|
2017-07-26 16:59:08 +00:00
|
|
|
"ms",
|
2017-08-03 22:19:55 +00:00
|
|
|
"nb-NO",
|
|
|
|
"nl",
|
2017-07-31 17:28:04 +00:00
|
|
|
"nn-NO",
|
|
|
|
"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",
|
|
|
|
"sk",
|
2017-07-31 17:28:04 +00:00
|
|
|
"sl",
|
2018-02-07 20:09:23 +00:00
|
|
|
"sq",
|
2017-08-03 22:19:55 +00:00
|
|
|
"sr",
|
|
|
|
"sv-SE",
|
2017-11-07 23:54:42 +00:00
|
|
|
"tl",
|
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
|
|
|
}
|