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