fxa/package.json

129 строки
3.4 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",
"audit": "echo 'audit is currently unavailable'",
"start": "nps --prefix=start",
"stop": "nps --prefix=stop",
"restart": "nps --prefix=restart",
"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 -d'\t' -a -c 'this.pm2_env.env.PORT' pm2_env.env.PORT name",
"heroku-postbuild": "yarn workspace 123done install"
},
"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": "^10.2.11",
"node-fetch": "^2.6.1",
"nps": "^5.10.0",
"pm2": "^4.5.6",
"prettier": "^2.3.0",
"replace-in-file": "^6.1.0",
"semver": "^7.3.5"
},
"engines": {
"node": "^14.15.1"
},
"fxa": {
"moduleDependencies": {
"fxa-content-server": [
"123done",
"fortress",
"fxa-auth-server",
"fxa-auth-client",
"fxa-shared",
"fxa-profile-server",
"fxa-payments-server",
"fxa-settings"
],
"fxa-auth-server": [
"fxa-auth-db-mysql",
"fxa-shared"
],
"fxa-auth-client": [
"fxa-auth-server"
],
"fxa-event-broker": [
"fxa-shared"
],
"fxa-profile-server": [
"fxa-auth-server",
"fxa-shared"
],
"fxa-payments-server": [
"fxa-shared",
"fxa-react"
],
"fxa-settings": [
"fxa-shared",
"fxa-react",
"fxa-content-server"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "_scripts/audit.sh",
"post-checkout": "_scripts/git-checkout-hook.sh",
"post-merge": "_scripts/git-merge-hook.sh"
}
},
"lint-staged": {
"*.js": [
"prettier --config _dev/.prettierrc --write",
"eslint -c _dev/.eslintrc"
],
"*.{ts,tsx}": [
"prettier --config _dev/.prettierrc --write"
],
"*.css": [
"prettier --config _dev/.prettierrc --write"
],
"*.scss": [
"stylelint --config _dev/.stylelintrc"
],
"*.md": [
"prettier --config _dev/.prettierrc --write"
]
},
"devDependencies": {
"eslint": "^7.27.0",
"eslint-plugin-fxa": "^2.0.2",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-react": "^7.23.2",
"json": "^11.0.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"gobbledygook": "git://github.com/mozilla-fxa/gobbledygook.git#354042684056e57ca77f036989e907707a36cff2",
"tap/typescript": "^4.2.4",
"@nestjs/cli/typescript": "^4.2.4",
"@types/node": "^14.14.5",
"http-proxy": "^1.18.1",
"browserid-crypto": "git://github.com/mozilla-fxa/browserid-crypto.git#5979544d13eeb15a02d0b9a6a7a08a698d54d37d",
"fbjs/isomorphic-fetch": "^3.0.0"
}
}