196 lines
5.4 KiB
JSON
196 lines
5.4 KiB
JSON
{
|
|
"name": "firefox-send",
|
|
"description": "File Sharing Experiment",
|
|
"version": "3.0.2",
|
|
"author": "Mozilla (https://mozilla.org)",
|
|
"repository": "mozilla/send",
|
|
"homepage": "https://github.com/mozilla/send/",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"build": "npm run clean && webpack",
|
|
"lint": "npm-run-all lint:*",
|
|
"lint:css": "stylelint app/*.css app/**/*.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",
|
|
"contributors": "git shortlog -s | awk -F\\t '{print $2}' > CONTRIBUTORS",
|
|
"release": "npm-run-all contributors changelog",
|
|
"test": "npm-run-all test:*",
|
|
"test:backend": "nyc --reporter=lcovonly mocha --reporter=min test/backend",
|
|
"test:frontend": "cross-env NODE_ENV=development node test/frontend/runner.js",
|
|
"test:report": "nyc report --reporter=html",
|
|
"test-integration": "cross-env NODE_ENV=development wdio test/wdio.docker.conf.js",
|
|
"circleci-test-integration": "cross-env NODE_ENV=development wdio test/wdio.circleci.conf.js",
|
|
"start": "npm run clean && cross-env NODE_ENV=development FXA_CLIENT_ID=fced6b5e3f4c66b9 BASE_URL=http://localhost:8080 webpack-dev-server --mode=development",
|
|
"android": "cross-env ANDROID=1 npm start",
|
|
"prod": "node server/bin/prod.js"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "npm test",
|
|
"post-merge": "npm install"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --single-quote --write",
|
|
"eslint",
|
|
"git add"
|
|
],
|
|
"*.css": [
|
|
"prettier --single-quote --write",
|
|
"stylelint",
|
|
"git add"
|
|
]
|
|
},
|
|
"nyc": {
|
|
"reporter": [
|
|
"text"
|
|
],
|
|
"cache": true
|
|
},
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.3.4",
|
|
"@babel/plugin-proposal-class-properties": "^7.3.4",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
"@babel/preset-env": "^7.3.4",
|
|
"@dannycoates/webcrypto-liner": "^0.1.34",
|
|
"@dannycoates/webpack-dev-server": "^3.1.4",
|
|
"@fullhuman/postcss-purgecss": "^1.1.0",
|
|
"@mattiasbuelens/web-streams-polyfill": "0.2.1",
|
|
"asmcrypto.js": "^0.22.0",
|
|
"babel-loader": "^8.0.5",
|
|
"babel-plugin-istanbul": "^5.1.1",
|
|
"base64-js": "^1.3.0",
|
|
"content-disposition": "^0.5.3",
|
|
"copy-webpack-plugin": "^5.0.0",
|
|
"core-js": "^2.6.5",
|
|
"crc": "^3.8.0",
|
|
"cross-env": "^5.2.0",
|
|
"css-loader": "^2.1.1",
|
|
"css-mqpacker": "^7.0.0",
|
|
"cssnano": "^4.1.10",
|
|
"eslint": "^5.15.1",
|
|
"eslint-plugin-mocha": "^5.3.0",
|
|
"eslint-plugin-node": "^8.0.1",
|
|
"eslint-plugin-security": "^1.4.0",
|
|
"expose-loader": "^0.7.5",
|
|
"extract-loader": "^3.1.0",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"fast-text-encoding": "^1.0.0",
|
|
"file-loader": "^3.0.1",
|
|
"fluent-intl-polyfill": "^0.1.0",
|
|
"git-rev-sync": "^1.12.0",
|
|
"html-loader": "^0.5.5",
|
|
"http_ece": "^1.1.0",
|
|
"husky": "^1.3.1",
|
|
"lint-staged": "^8.1.5",
|
|
"mocha": "^6.0.2",
|
|
"morgan": "^1.9.1",
|
|
"nanobus": "^4.4.0",
|
|
"nanohtml": "^1.4.0",
|
|
"nanotiming": "^7.3.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^13.3.0",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-preset-env": "^6.6.0",
|
|
"prettier": "^1.16.4",
|
|
"proxyquire": "^2.1.0",
|
|
"puppeteer": "1.11.0",
|
|
"raven-js": "^3.27.0",
|
|
"raw-loader": "^1.0.0",
|
|
"redis-mock": "^0.43.0",
|
|
"rimraf": "^2.6.3",
|
|
"script-loader": "^0.7.2",
|
|
"sinon": "^7.2.7",
|
|
"string-hash": "^1.1.3",
|
|
"stylelint": "^9.10.1",
|
|
"stylelint-config-standard": "^18.2.0",
|
|
"stylelint-no-unsupported-browser-features": "^3.0.2",
|
|
"svgo": "^1.2.0",
|
|
"svgo-loader": "^2.2.0",
|
|
"tailwindcss": "^0.7.4",
|
|
"val-loader": "^1.1.1",
|
|
"wdio-docker-service": "^1.4.2",
|
|
"wdio-dot-reporter": "0.0.10",
|
|
"wdio-firefox-profile-service": "^0.1.3",
|
|
"wdio-mocha-framework": "^0.6.3",
|
|
"wdio-sauce-service": "^0.4.14",
|
|
"wdio-spec-reporter": "^0.1.5",
|
|
"webdriverio": "^4.14.3",
|
|
"webpack": "4.28.4",
|
|
"webpack-cli": "^3.2.3",
|
|
"webpack-dev-middleware": "^3.6.1",
|
|
"webpack-manifest-plugin": "^2.0.4",
|
|
"webpack-unassert-loader": "^1.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@google-cloud/storage": "^2.4.2",
|
|
"aws-sdk": "^2.417.0",
|
|
"body-parser": "^1.18.3",
|
|
"choo": "^6.12.1",
|
|
"cldr-core": "^34.0.0",
|
|
"convict": "^4.4.1",
|
|
"express": "^4.16.3",
|
|
"express-ws": "github:dannycoates/express-ws",
|
|
"fluent": "^0.11.0",
|
|
"fluent-langneg": "^0.1.1",
|
|
"fxa-geodb": "^1.0.4",
|
|
"helmet": "^3.15.1",
|
|
"mkdirp": "^0.5.1",
|
|
"mozlog": "^2.2.0",
|
|
"node-fetch": "^2.3.0",
|
|
"raven": "^2.6.4",
|
|
"redis": "^2.8.0",
|
|
"ua-parser-js": "^0.7.19",
|
|
"websocket-stream": "^5.1.2"
|
|
},
|
|
"availableLanguages": [
|
|
"en-US",
|
|
"bn-BD",
|
|
"cak",
|
|
"cs",
|
|
"cy",
|
|
"da",
|
|
"de",
|
|
"dsb",
|
|
"en-CA",
|
|
"en-GB",
|
|
"es-AR",
|
|
"es-ES",
|
|
"es-MX",
|
|
"fr",
|
|
"fy-NL",
|
|
"hr",
|
|
"hsb",
|
|
"hu",
|
|
"id",
|
|
"it",
|
|
"ja",
|
|
"ka",
|
|
"lt",
|
|
"nl",
|
|
"pt-BR",
|
|
"pt-PT",
|
|
"ro",
|
|
"ru",
|
|
"sl",
|
|
"sv-SE",
|
|
"tr",
|
|
"uk",
|
|
"vi",
|
|
"zh-CN",
|
|
"zh-TW"
|
|
]
|
|
}
|