193 lines
5.1 KiB
JSON
193 lines
5.1 KiB
JSON
{
|
|
"name": "firefox-send",
|
|
"description": "File Sharing Experiment",
|
|
"version": "2.5.4",
|
|
"author": "Mozilla (https://mozilla.org)",
|
|
"repository": "mozilla/send",
|
|
"homepage": "https://github.com/mozilla/send/",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"prepush": "npm test",
|
|
"check": "nsp check",
|
|
"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",
|
|
"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": "npm-run-all test:*",
|
|
"test:backend": "nyc mocha --reporter=min test/backend",
|
|
"test:frontend": "cross-env NODE_ENV=development node test/frontend/runner.js && nyc report --reporter=html",
|
|
"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",
|
|
"start": "npm run clean && cross-env NODE_ENV=development webpack-dev-server --mode=development",
|
|
"dev": "webpack-serve",
|
|
"prod": "node server/bin/prod.js"
|
|
},
|
|
"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": ">=8.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@dannycoates/webpack-dev-server": "^3.1.4",
|
|
"asmcrypto.js": "^0.22.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-loader": "^7.1.4",
|
|
"babel-plugin-istanbul": "^4.1.6",
|
|
"babel-plugin-yo-yoify": "^2.0.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-stage-2": "^6.24.1",
|
|
"babel-preset-stage-3": "^6.24.1",
|
|
"base64-js": "^1.3.0",
|
|
"copy-webpack-plugin": "^4.5.2",
|
|
"cross-env": "^5.2.0",
|
|
"css-loader": "^1.0.0",
|
|
"css-mqpacker": "^6.0.2",
|
|
"eslint": "^4.19.1",
|
|
"eslint-plugin-mocha": "^4.12.1",
|
|
"eslint-plugin-node": "^6.0.1",
|
|
"eslint-plugin-security": "^1.4.0",
|
|
"expose-loader": "^0.7.5",
|
|
"extract-loader": "^2.0.1",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"fast-text-encoding": "^1.0.0",
|
|
"file-loader": "^1.1.11",
|
|
"fluent-intl-polyfill": "^0.1.0",
|
|
"git-rev-sync": "^1.12.0",
|
|
"github-changes": "^1.1.2",
|
|
"html-loader": "^0.5.5",
|
|
"http_ece": "^1.0.5",
|
|
"husky": "^0.14.3",
|
|
"lint-staged": "^7.2.0",
|
|
"mocha": "^5.2.0",
|
|
"nanobus": "^4.3.2",
|
|
"nanotiming": "^7.3.1",
|
|
"npm-run-all": "^4.1.3",
|
|
"nsp": "^3.2.1",
|
|
"nyc": "^11.9.0",
|
|
"postcss-cssnext": "^3.1.0",
|
|
"postcss-import": "^11.1.0",
|
|
"postcss-loader": "^2.1.5",
|
|
"prettier": "^1.13.7",
|
|
"proxyquire": "^1.8.0",
|
|
"puppeteer": "^1.5.0",
|
|
"raven-js": "^3.26.3",
|
|
"redis-mock": "^0.21.0",
|
|
"require-from-string": "^2.0.2",
|
|
"rimraf": "^2.6.2",
|
|
"sinon": "^4.5.0",
|
|
"string-hash": "^1.1.3",
|
|
"stylelint": "^9.3.0",
|
|
"stylelint-config-standard": "^18.2.0",
|
|
"stylelint-no-unsupported-browser-features": "^3.0.0",
|
|
"svgo": "^1.0.5",
|
|
"svgo-loader": "^2.1.0",
|
|
"testpilot-ga": "^0.3.0",
|
|
"val-loader": "^1.1.1",
|
|
"web-streams-polyfill": "^1.3.2",
|
|
"webpack": "^4.15.1",
|
|
"webpack-cli": "^3.0.8",
|
|
"webpack-dev-middleware": "^3.1.3",
|
|
"webpack-manifest-plugin": "^2.0.3",
|
|
"webpack-unassert-loader": "^1.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@mattiasbuelens/web-streams-adapter": "0.1.0-alpha.1",
|
|
"aws-sdk": "^2.266.1",
|
|
"babel-polyfill": "^6.26.0",
|
|
"choo": "^6.12.1",
|
|
"cldr-core": "^32.0.0",
|
|
"convict": "^4.3.1",
|
|
"express": "^4.16.3",
|
|
"express-ws": "^4.0.0",
|
|
"fluent": "^0.6.4",
|
|
"fluent-langneg": "^0.1.0",
|
|
"helmet": "^3.12.1",
|
|
"mkdirp": "^0.5.1",
|
|
"mozlog": "^2.2.0",
|
|
"raven": "^2.6.3",
|
|
"redis": "^2.8.0",
|
|
"websocket-stream": "^5.1.2"
|
|
},
|
|
"availableLanguages": [
|
|
"en-US",
|
|
"ar",
|
|
"ast",
|
|
"az",
|
|
"bs",
|
|
"ca",
|
|
"cak",
|
|
"cs",
|
|
"cy",
|
|
"da",
|
|
"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",
|
|
"te",
|
|
"tl",
|
|
"tr",
|
|
"uk",
|
|
"vi",
|
|
"zh-CN",
|
|
"zh-TW"
|
|
]
|
|
}
|