fxa/package.json

136 строки
4.3 KiB
JSON

{
"name": "fxa",
"private": true,
"version": "2.0.0",
"description": "Firefox Accounts monorepo",
"scripts": {
"preinstall": "_scripts/check-package-manager.sh",
"authors": "git shortlog -s | cut -c8- | sort -f > AUTHORS",
"start": "nps --prefix=start",
"stop": "nps --prefix=stop",
"restart": "nps --prefix=restart",
"delete": "nps --prefix=delete",
"rebuild-packages": "yarn workspaces foreach run build",
"adb-reverse": "./_scripts/adb-reverse.sh",
"test": "_scripts/test-package.sh",
"config-fxios": "node _scripts/config-fxios.js",
"format": "yarn workspaces foreach run format",
"ports": "pm2 jlist | json -a -c 'this.pm2_env.env.PORT' pm2_env.env.PORT name",
"heroku-postbuild": "yarn workspaces foreach --verbose --include 123done install",
"mysql": "docker exec -it $(docker container ls | grep mysql | cut -d' ' -f1) mysql",
"firefox": "./packages/fxa-dev-launcher/bin/fxa-dev-launcher.mjs",
"generate-lockfile": "docker build . -f _dev/docker/ci-lockfile-generator/Dockerfile -t generate-lockfile && docker run generate-lockfile > yarn.lock",
"l10n:clone": "_scripts/l10n/clone.sh",
"l10n:prime": "_scripts/l10n/prime.sh",
"l10n:bundle": "_scripts/l10n/bundle.sh",
"legal:clone": "_scripts/clone-legal-docs.sh"
},
"homepage": "https://github.com/mozilla/fxa",
"bugs": {
"url": "https://github.com/mozilla/fxa/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/fxa"
},
"author": "Mozilla (https://mozilla.org/)",
"license": "MPL-2.0",
"dependencies": {
"diffparser": "^2.0.1",
"husky": "^4.2.5",
"lint-staged": "^13.2.0",
"node-fetch": "^2.6.7",
"nps": "^5.10.0",
"p-queue": "^7.3.4",
"pm2": "^5.3.0",
"prettier": "^2.3.1",
"replace-in-file": "^6.3.5",
"semver": "^7.3.5",
"tslib": "^2.5.0"
},
"engines": {
"node": "^18.14.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-checkout": "_scripts/git-checkout-hook.sh",
"post-merge": "_scripts/git-merge-hook.sh"
}
},
"lint-staged": {
"packages/!(fxa-payments-server)/**/*.js": [
"prettier --config _dev/.prettierrc --write",
"eslint"
],
"*.{ts,tsx}": [
"prettier --config _dev/.prettierrc --write"
],
"packages/fxa-auth-server/**/*.{ts,tsx}": [
"eslint"
],
"*.css": [
"prettier --config _dev/.prettierrc --write"
],
"*.scss": [
"stylelint --config _dev/.stylelintrc"
],
"*.md": [
"prettier --config _dev/.prettierrc --write"
]
},
"devDependencies": {
"@nx/jest": "16.3.1",
"@nx/js": "16.3.1",
"@nx/workspace": "16.3.1",
"@types/jest": "^29.5.1",
"@types/node": "^18.16.1",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^7.32.0",
"eslint-plugin-fxa": "workspace:*",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.32.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"json": "^11.0.0",
"mocha-junit-reporter": "^2.2.0",
"mocha-multi": "^1.1.7",
"nx": "16.3.1",
"postcss": "^8.4.14",
"stylelint": "^15.6.2",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended-scss": "^12.0.0",
"ts-jest": "29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"@grpc/grpc-js": "~1.6.0",
"@nestjs/cli/typescript": "^4.5.2",
"@types/node": "^18.14.2",
"browserid-crypto": "https://github.com/mozilla-fxa/browserid-crypto.git#5979544d13eeb15a02d0b9a6a7a08a698d54d37d",
"elliptic": ">=6.5.4",
"eslint-plugin-import": "^2.25.2",
"fbjs/isomorphic-fetch": "^3.0.0",
"gobbledygook": "https://github.com/mozilla-fxa/gobbledygook.git#354042684056e57ca77f036989e907707a36cff2",
"google-gax": "2.30.5",
"http-proxy": "^1.18.1",
"minimist": "^1.2.6",
"flat": ">=5.0.2",
"moment:>2.0.0 <3": ">=2.29.4",
"node-forge": ">=1.3.0",
"plist": "^3.0.6",
"protobufjs:>6.0.0 <7": ">=6.11.3",
"tap/typescript": "^4.5.2",
"terser:>4.0.0 <5": ">=4.8.1",
"terser:>5 <6": ">=5.14.2",
"underscore": ">=1.13.2",
"url-parse": "^1.5.8"
},
"packageManager": "yarn@3.3.0"
}