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",
|
2018-10-08 20:31:54 +02:00
|
|
|
"version": "2.5.5",
|
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": {
|
|
|
|
"precommit": "lint-staged",
|
2018-02-21 05:31:27 +01:00
|
|
|
"prepush": "npm test",
|
2018-02-26 00:44:46 +01:00
|
|
|
"check": "nsp check",
|
2017-08-24 23:54:02 +02:00
|
|
|
"clean": "rimraf dist",
|
|
|
|
"build": "npm run clean && webpack -p",
|
|
|
|
"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-02-21 05:31:27 +01:00
|
|
|
"test": "npm-run-all test:*",
|
2018-03-06 01:29:09 +01:00
|
|
|
"test:backend": "nyc mocha --reporter=min test/backend",
|
2018-02-21 05:31:27 +01:00
|
|
|
"test:frontend": "cross-env NODE_ENV=development node test/frontend/runner.js && nyc report --reporter=html",
|
2018-05-04 08:47:44 +02:00
|
|
|
"test-integration": "docker-compose up --abort-on-container-exit --exit-code-from integration-tests --build --remove-orphans --quiet-pull && docker-compose down",
|
|
|
|
"test-integration-stage": "cross-env BASE_URL=https://send.stage.mozaws.net npm run test-integration",
|
2018-03-06 01:29:09 +01:00
|
|
|
"start": "npm run clean && cross-env NODE_ENV=development webpack-dev-server",
|
|
|
|
"prod": "node server/prod.js"
|
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": {
|
|
|
|
"node": ">=8.2.0"
|
2017-06-02 00:10:00 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-03-01 04:24:41 +01:00
|
|
|
"asmcrypto.js": "^0.22.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"babel-core": "^6.26.3",
|
|
|
|
"babel-loader": "^7.1.5",
|
|
|
|
"babel-plugin-istanbul": "^4.1.6",
|
|
|
|
"babel-plugin-yo-yoify": "^1.0.3",
|
|
|
|
"babel-preset-env": "^1.7.0",
|
2017-08-07 04:32:07 +02:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
2018-02-20 19:56:06 +01:00
|
|
|
"babel-preset-stage-3": "^6.24.1",
|
2018-10-08 20:31:54 +02:00
|
|
|
"base64-js": "^1.3.0",
|
|
|
|
"copy-webpack-plugin": "^4.5.2",
|
|
|
|
"cross-env": "^5.2.0",
|
|
|
|
"css-loader": "^0.28.11",
|
2018-02-01 22:42:27 +01:00
|
|
|
"css-mqpacker": "^6.0.2",
|
2018-10-08 20:31:54 +02:00
|
|
|
"eslint": "^4.19.1",
|
2018-03-08 20:31:35 +01:00
|
|
|
"eslint-plugin-mocha": "^4.12.1",
|
2018-02-25 19:59:35 +01:00
|
|
|
"eslint-plugin-node": "^6.0.1",
|
2017-06-20 21:18:14 +02:00
|
|
|
"eslint-plugin-security": "^1.4.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"expose-loader": "^0.7.5",
|
2018-02-01 22:42:27 +01:00
|
|
|
"extract-loader": "^1.0.2",
|
2018-02-13 20:32:59 +01:00
|
|
|
"extract-text-webpack-plugin": "^3.0.2",
|
2018-03-01 04:24:41 +01:00
|
|
|
"fast-text-encoding": "^1.0.0",
|
2018-03-08 20:31:35 +01:00
|
|
|
"file-loader": "^1.1.11",
|
2017-11-30 22:41:09 +01:00
|
|
|
"fluent-intl-polyfill": "^0.1.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"git-rev-sync": "^1.12.0",
|
2018-02-01 22:42:27 +01:00
|
|
|
"html-loader": "^0.5.5",
|
2017-08-12 00:59:14 +02:00
|
|
|
"husky": "^0.14.3",
|
2018-10-08 20:31:54 +02:00
|
|
|
"lint-staged": "^7.3.0",
|
|
|
|
"mocha": "^5.2.0",
|
|
|
|
"nanobus": "^4.3.4",
|
|
|
|
"nanotiming": "^7.3.1",
|
|
|
|
"npm-run-all": "^4.1.3",
|
2018-02-20 19:56:06 +01:00
|
|
|
"nsp": "^3.2.1",
|
2018-10-08 20:31:54 +02:00
|
|
|
"nyc": "^11.9.0",
|
2018-02-13 20:32:59 +01:00
|
|
|
"postcss-cssnext": "^3.1.0",
|
|
|
|
"postcss-import": "^11.1.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"postcss-loader": "^2.1.6",
|
|
|
|
"prettier": "^1.14.3",
|
2017-06-20 19:21:11 +02:00
|
|
|
"proxyquire": "^1.8.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"puppeteer": "^1.9.0",
|
|
|
|
"raven-js": "^3.27.0",
|
2018-02-06 23:31:18 +01:00
|
|
|
"redis-mock": "^0.21.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"require-from-string": "^2.0.2",
|
2017-09-13 21:01:55 +02:00
|
|
|
"rimraf": "^2.6.2",
|
2018-10-08 20:31:54 +02:00
|
|
|
"sinon": "^4.5.0",
|
2017-09-12 02:09:29 +02:00
|
|
|
"string-hash": "^1.1.3",
|
2018-10-08 20:31:54 +02:00
|
|
|
"stylelint": "^9.6.0",
|
2018-03-08 20:31:35 +01:00
|
|
|
"stylelint-config-standard": "^18.2.0",
|
2018-02-12 20:35:33 +01:00
|
|
|
"stylelint-no-unsupported-browser-features": "^2.0.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"svgo": "^1.1.1",
|
|
|
|
"svgo-loader": "^2.2.0",
|
2017-07-22 05:00:38 +02:00
|
|
|
"testpilot-ga": "^0.3.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"val-loader": "^1.1.1",
|
|
|
|
"webpack": "^3.12.0",
|
2018-02-21 05:31:27 +01:00
|
|
|
"webpack-dev-middleware": "^2.0.6",
|
2017-11-10 00:07:03 +01:00
|
|
|
"webpack-dev-server": "2.9.1",
|
2017-09-20 22:08:33 +02:00
|
|
|
"webpack-manifest-plugin": "^1.3.2",
|
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": {
|
2018-10-08 20:31:54 +02:00
|
|
|
"aws-sdk": "^2.329.0",
|
2018-02-20 21:52:44 +01:00
|
|
|
"babel-polyfill": "^6.26.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"choo": "^6.13.0",
|
2017-11-10 21:40:18 +01:00
|
|
|
"cldr-core": "^32.0.0",
|
2017-08-24 23:54:02 +02:00
|
|
|
"connect-busboy": "0.0.2",
|
2018-10-08 20:31:54 +02:00
|
|
|
"convict": "^4.4.0",
|
|
|
|
"express": "^4.16.3",
|
|
|
|
"fluent": "^0.6.4",
|
2017-08-24 23:54:02 +02:00
|
|
|
"fluent-langneg": "^0.1.0",
|
2018-10-08 20:31:54 +02:00
|
|
|
"helmet": "^3.13.0",
|
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-10-08 20:31:54 +02:00
|
|
|
"raven": "^2.6.4",
|
2017-08-24 23:54:02 +02:00
|
|
|
"redis": "^2.8.0"
|
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",
|
2018-02-07 21:09:23 +01:00
|
|
|
"ar",
|
2017-08-17 03:29:35 +02:00
|
|
|
"ast",
|
2017-08-04 00:19:55 +02:00
|
|
|
"az",
|
2017-11-08 00:54:42 +01:00
|
|
|
"bs",
|
2017-08-04 00:22:44 +02: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",
|
2017-08-06 07:51:31 +02:00
|
|
|
"el",
|
2017-08-17 03:29:35 +02:00
|
|
|
"es-AR",
|
2017-08-06 07:51:31 +02:00
|
|
|
"es-CL",
|
2017-08-04 00:19:55 +02:00
|
|
|
"es-ES",
|
|
|
|
"es-MX",
|
2017-09-26 19:29:26 +02:00
|
|
|
"et",
|
2017-09-13 00:42:56 +02:00
|
|
|
"fa",
|
2017-07-26 18:59:08 +02:00
|
|
|
"fr",
|
2017-08-04 00:19:55 +02:00
|
|
|
"fy-NL",
|
|
|
|
"hsb",
|
|
|
|
"hu",
|
2018-02-07 21:09:23 +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",
|
2017-08-04 00:19:55 +02:00
|
|
|
"kab",
|
2017-08-08 05:59:39 +02:00
|
|
|
"ko",
|
2017-07-26 18:59:08 +02:00
|
|
|
"ms",
|
2017-08-04 00:19:55 +02:00
|
|
|
"nb-NO",
|
|
|
|
"nl",
|
2017-07-31 19:28:04 +02:00
|
|
|
"nn-NO",
|
|
|
|
"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",
|
|
|
|
"sk",
|
2017-07-31 19:28:04 +02:00
|
|
|
"sl",
|
2018-02-07 21:09:23 +01:00
|
|
|
"sq",
|
2017-08-04 00:19:55 +02:00
|
|
|
"sr",
|
|
|
|
"sv-SE",
|
2018-05-21 22:58:01 +02:00
|
|
|
"te",
|
2017-11-08 00:54:42 +01:00
|
|
|
"tl",
|
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
|
|
|
}
|