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",
|
2017-08-08 03:59:39 +00:00
|
|
|
"version": "1.1.0",
|
2017-06-02 20:18:33 +00:00
|
|
|
"author": "Mozilla (https://mozilla.org)",
|
2017-05-24 20:16:38 +00:00
|
|
|
"dependencies": {
|
2017-08-14 19:04:03 +00:00
|
|
|
"aws-sdk": "^2.98.0",
|
2017-05-31 21:08:13 +00:00
|
|
|
"body-parser": "^1.17.2",
|
2017-05-30 16:24:16 +00:00
|
|
|
"connect-busboy": "0.0.2",
|
2017-06-05 22:35:36 +00:00
|
|
|
"convict": "^3.0.0",
|
2017-05-24 20:16:38 +00:00
|
|
|
"express": "^4.15.3",
|
2017-06-07 23:16:38 +00:00
|
|
|
"express-handlebars": "^3.0.0",
|
2017-07-21 22:38:35 +00:00
|
|
|
"helmet": "^3.8.0",
|
2017-06-08 20:45:28 +00:00
|
|
|
"mozlog": "^2.1.1",
|
2017-06-23 17:53:11 +00:00
|
|
|
"raven": "^2.1.0",
|
2017-08-10 02:22:20 +00:00
|
|
|
"redis": "^2.8.0"
|
2017-06-01 22:10:00 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-08-03 21:07:22 +00:00
|
|
|
"asmcrypto.js": "0.0.11",
|
2017-08-04 00:07:40 +00:00
|
|
|
"autoprefixer": "^7.1.2",
|
2017-08-07 02:32:07 +00:00
|
|
|
"babel-core": "^6.25.0",
|
|
|
|
"babel-loader": "^7.1.1",
|
2017-08-02 18:46:38 +00:00
|
|
|
"babel-polyfill": "^6.23.0",
|
2017-08-07 02:32:07 +00:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
2017-08-14 19:04:03 +00:00
|
|
|
"bel": "^5.0.3",
|
2017-06-01 22:10:00 +00:00
|
|
|
"browserify": "^14.4.0",
|
2017-08-16 04:47:34 +00:00
|
|
|
"copy-webpack-plugin": "^4.0.1",
|
2017-08-10 02:22:20 +00:00
|
|
|
"cross-env": "^5.0.5",
|
2017-08-16 04:47:34 +00:00
|
|
|
"css-loader": "^0.28.4",
|
2017-08-04 00:07:40 +00:00
|
|
|
"css-mqpacker": "^6.0.1",
|
|
|
|
"cssnano": "^3.10.0",
|
2017-07-21 22:38:35 +00:00
|
|
|
"eslint": "^4.3.0",
|
2017-06-20 19:18:14 +00:00
|
|
|
"eslint-plugin-mocha": "^4.11.0",
|
2017-07-20 22:16:00 +00:00
|
|
|
"eslint-plugin-node": "^5.1.1",
|
2017-06-20 19:18:14 +00:00
|
|
|
"eslint-plugin-security": "^1.4.0",
|
2017-08-16 04:47:34 +00:00
|
|
|
"extract-loader": "^1.0.0",
|
|
|
|
"file-loader": "^0.11.2",
|
2017-06-24 00:55:39 +00:00
|
|
|
"git-rev-sync": "^1.9.1",
|
2017-08-16 04:47:34 +00:00
|
|
|
"html-loader": "^0.5.1",
|
|
|
|
"html-webpack-plugin": "^2.30.1",
|
2017-08-11 22:59:14 +00:00
|
|
|
"husky": "^0.14.3",
|
2017-07-22 03:00:38 +00:00
|
|
|
"l20n": "^5.0.0",
|
2017-08-11 22:59:14 +00:00
|
|
|
"lint-staged": "^4.0.3",
|
2017-08-16 04:47:34 +00:00
|
|
|
"mkdirp": "^0.5.1",
|
2017-06-20 17:21:11 +00:00
|
|
|
"mocha": "^3.4.2",
|
2017-06-20 19:18:14 +00:00
|
|
|
"npm-run-all": "^4.0.2",
|
2017-08-04 00:07:40 +00:00
|
|
|
"postcss-cli": "^4.1.0",
|
2017-08-16 04:47:34 +00:00
|
|
|
"postcss-loader": "^2.0.6",
|
2017-07-20 22:16:00 +00:00
|
|
|
"prettier": "^1.5.3",
|
2017-06-20 17:21:11 +00:00
|
|
|
"proxyquire": "^1.8.0",
|
2017-07-22 03:00:38 +00:00
|
|
|
"raven-js": "^3.17.0",
|
2017-08-16 04:47:34 +00:00
|
|
|
"rimraf": "^2.6.1",
|
2017-07-24 23:34:00 +00:00
|
|
|
"selenium-webdriver": "^3.5.0",
|
2017-07-20 22:16:00 +00:00
|
|
|
"sinon": "^2.3.8",
|
2017-07-31 07:01:00 +00:00
|
|
|
"stylelint": "^8.0.0",
|
|
|
|
"stylelint-config-standard": "^17.0.0",
|
2017-08-04 00:07:40 +00:00
|
|
|
"stylelint-no-unsupported-browser-features": "^1.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-08-07 02:32:07 +00:00
|
|
|
"webcrypto-liner": "^0.1.25",
|
2017-08-14 19:04:03 +00:00
|
|
|
"webpack": "^3.5.4",
|
2017-08-16 04:47:34 +00:00
|
|
|
"webpack-dev-middleware": "^1.12.0"
|
2017-06-02 20:18:33 +00:00
|
|
|
},
|
2017-06-07 18:26:40 +00:00
|
|
|
"engines": {
|
2017-08-07 18:50:10 +00:00
|
|
|
"node": ">=8.2.0"
|
2017-06-07 18:26:40 +00:00
|
|
|
},
|
2017-07-11 19:34:49 +00:00
|
|
|
"homepage": "https://github.com/mozilla/send/",
|
2017-06-02 20:18:33 +00:00
|
|
|
"license": "MPL-2.0",
|
2017-07-11 19:34:49 +00:00
|
|
|
"repository": "mozilla/send",
|
2017-07-26 16:59:08 +00:00
|
|
|
"availableLanguages": [
|
2017-08-03 22:19:55 +00:00
|
|
|
"az",
|
2017-08-03 22:22:44 +00:00
|
|
|
"ca",
|
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-07-31 21:34:28 +00:00
|
|
|
"en-US",
|
2017-08-06 05:51:31 +00:00
|
|
|
"es-CL",
|
2017-08-03 22:19:55 +00:00
|
|
|
"es-ES",
|
|
|
|
"es-MX",
|
2017-07-26 16:59:08 +00:00
|
|
|
"fr",
|
2017-08-03 22:19:55 +00:00
|
|
|
"fy-NL",
|
|
|
|
"hsb",
|
|
|
|
"hu",
|
2017-08-03 22:28:08 +00:00
|
|
|
"id",
|
2017-08-03 22:19:55 +00:00
|
|
|
"it",
|
|
|
|
"ja",
|
|
|
|
"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",
|
2017-08-03 22:19:55 +00:00
|
|
|
"ru",
|
|
|
|
"sk",
|
2017-07-31 17:28:04 +00:00
|
|
|
"sl",
|
2017-08-03 22:19:55 +00:00
|
|
|
"sr",
|
|
|
|
"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-07-26 16:59:08 +00:00
|
|
|
],
|
2017-06-02 20:18:33 +00:00
|
|
|
"scripts": {
|
2017-08-11 22:59:14 +00:00
|
|
|
"precommit": "lint-staged",
|
2017-08-16 04:47:34 +00:00
|
|
|
"clean": "rimraf dist",
|
2017-07-21 22:38:35 +00:00
|
|
|
"build": "npm-run-all build:*",
|
2017-08-07 02:32:07 +00:00
|
|
|
"build:js": "webpack -p",
|
2017-08-04 00:07:40 +00:00
|
|
|
"build:version": "node scripts/version",
|
2017-08-07 22:20:23 +00:00
|
|
|
"contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS",
|
2017-08-15 18:55:52 +00:00
|
|
|
"dev": "npm run clean && npm run build && npm start",
|
2017-08-04 00:07:40 +00:00
|
|
|
"format": "prettier '{,frontend/src/,scripts/,server/,test/**/!(bundle)}*.{js,css}' --single-quote --write",
|
2017-08-02 03:15:45 +00:00
|
|
|
"get-prod-locales": "node scripts/get-prod-locales",
|
|
|
|
"get-prod-locales:write": "npm run get-prod-locales -- --write",
|
2017-06-09 17:49:53 +00:00
|
|
|
"lint": "npm-run-all lint:*",
|
2017-08-07 23:38:19 +00:00
|
|
|
"lint:css": "stylelint 'frontend/src/*.css'",
|
2017-06-09 17:49:53 +00:00
|
|
|
"lint:js": "eslint .",
|
2017-08-02 03:15:45 +00:00
|
|
|
"lint-locales": "node scripts/lint-locales",
|
|
|
|
"lint-locales:dev": "npm run lint-locales",
|
|
|
|
"lint-locales:prod": "npm run lint-locales -- --production",
|
2017-07-11 19:34:49 +00:00
|
|
|
"start": "node server/server",
|
2017-08-10 02:22:20 +00:00
|
|
|
"test": "cross-env NODE_ENV=test npm-run-all test:*",
|
2017-07-21 22:38:35 +00:00
|
|
|
"test:unit": "mocha test/unit",
|
|
|
|
"test:server": "mocha test/server",
|
2017-08-02 21:13:53 +00:00
|
|
|
"test--browser": "browserify test/frontend/frontend.bundle.js -o test/frontend/bundle.js -d && node test/frontend/driver.js"
|
2017-08-11 22:59:14 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"eslint",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.css": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"stylelint",
|
|
|
|
"git add"
|
|
|
|
]
|
2017-05-24 20:16:38 +00:00
|
|
|
}
|
|
|
|
}
|