162 lines
3.9 KiB
JSON
162 lines
3.9 KiB
JSON
{
|
|
"name": "firefox-send",
|
|
"description": "File Sharing Experiment",
|
|
"version": "2.3.1",
|
|
"author": "Mozilla (https://mozilla.org)",
|
|
"repository": "mozilla/send",
|
|
"homepage": "https://github.com/mozilla/send/",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"clean": "rimraf dist",
|
|
"build": "npm run clean && webpack -p",
|
|
"lint": "npm-run-all lint:*",
|
|
"lint:css": "stylelint 'assets/*.css'",
|
|
"lint:js": "eslint .",
|
|
"lint-locales": "node scripts/lint-locales",
|
|
"lint-locales:dev": "npm run lint-locales",
|
|
"lint-locales:prod": "npm run lint-locales -- --production",
|
|
"format": "prettier '**/*.js' 'assets/*.css' --single-quote --write",
|
|
"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",
|
|
"test": "mocha test/unit",
|
|
"start": "cross-env NODE_ENV=development webpack-dev-server",
|
|
"prod": "node server/prod.js"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --single-quote --write",
|
|
"eslint",
|
|
"git add"
|
|
],
|
|
"*.css": [
|
|
"prettier --single-quote --write",
|
|
"stylelint",
|
|
"git add"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=8.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^7.2.5",
|
|
"babel-core": "^6.26.0",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-yo-yoify": "^1.0.2",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-stage-2": "^6.24.1",
|
|
"base64-js": "^1.2.1",
|
|
"copy-webpack-plugin": "^4.3.1",
|
|
"cross-env": "^5.1.3",
|
|
"css-loader": "^0.28.9",
|
|
"css-mqpacker": "^6.0.2",
|
|
"cssnano": "^3.10.0",
|
|
"eslint": "^4.17.0",
|
|
"eslint-plugin-mocha": "^4.11.0",
|
|
"eslint-plugin-node": "^5.2.1",
|
|
"eslint-plugin-security": "^1.4.0",
|
|
"expose-loader": "^0.7.4",
|
|
"extract-loader": "^1.0.2",
|
|
"file-loader": "^1.1.6",
|
|
"fluent-intl-polyfill": "^0.1.0",
|
|
"git-rev-sync": "^1.9.1",
|
|
"github-changes": "^1.1.2",
|
|
"html-loader": "^0.5.5",
|
|
"husky": "^0.14.3",
|
|
"lint-staged": "^4.3.0",
|
|
"mocha": "^5.0.0",
|
|
"nanobus": "^4.3.2",
|
|
"npm-run-all": "^4.1.2",
|
|
"postcss-loader": "^2.1.0",
|
|
"prettier": "^1.10.2",
|
|
"proxyquire": "^1.8.0",
|
|
"raven-js": "^3.22.1",
|
|
"redis-mock": "^0.20.0",
|
|
"require-from-string": "^2.0.1",
|
|
"rimraf": "^2.6.2",
|
|
"selenium-webdriver": "^3.6.0",
|
|
"sinon": "^4.2.2",
|
|
"string-hash": "^1.1.3",
|
|
"stylelint-config-standard": "^17.0.0",
|
|
"stylelint-no-unsupported-browser-features": "^1.0.1",
|
|
"supertest": "^3.0.0",
|
|
"testpilot-ga": "^0.3.0",
|
|
"val-loader": "^1.1.0",
|
|
"webpack": "^3.10.0",
|
|
"webpack-dev-server": "2.9.1",
|
|
"webpack-manifest-plugin": "^1.3.2",
|
|
"webpack-unassert-loader": "^1.2.0"
|
|
},
|
|
"dependencies": {
|
|
"aws-sdk": "^2.189.0",
|
|
"body-parser": "^1.18.2",
|
|
"choo": "^6.7.0",
|
|
"cldr-core": "^32.0.0",
|
|
"connect-busboy": "0.0.2",
|
|
"convict": "^4.0.1",
|
|
"express": "^4.16.2",
|
|
"fluent": "^0.4.3",
|
|
"fluent-langneg": "^0.1.0",
|
|
"helmet": "^3.10.0",
|
|
"mkdirp": "^0.5.1",
|
|
"mozlog": "^2.2.0",
|
|
"raven": "^2.4.0",
|
|
"redis": "^2.8.0"
|
|
},
|
|
"availableLanguages": [
|
|
"en-US",
|
|
"ar",
|
|
"ast",
|
|
"az",
|
|
"bs",
|
|
"ca",
|
|
"cak",
|
|
"cs",
|
|
"cy",
|
|
"de",
|
|
"dsb",
|
|
"el",
|
|
"es-AR",
|
|
"es-CL",
|
|
"es-ES",
|
|
"es-MX",
|
|
"et",
|
|
"fa",
|
|
"fr",
|
|
"fy-NL",
|
|
"hsb",
|
|
"hu",
|
|
"ia",
|
|
"id",
|
|
"it",
|
|
"ja",
|
|
"ka",
|
|
"kab",
|
|
"ko",
|
|
"ms",
|
|
"nb-NO",
|
|
"nl",
|
|
"nn-NO",
|
|
"pt-BR",
|
|
"pt-PT",
|
|
"ro",
|
|
"ru",
|
|
"sk",
|
|
"sl",
|
|
"sq",
|
|
"sr",
|
|
"sv-SE",
|
|
"tl",
|
|
"tr",
|
|
"uk",
|
|
"vi",
|
|
"zh-CN",
|
|
"zh-TW"
|
|
]
|
|
}
|