fxa/package.json

98 строки
2.9 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",
"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 -d'\\t' -a -c 'this.pm2_env.env.PORT' pm2_env.env.PORT name",
"heroku-postbuild": "yarn workspace 123done install",
"mysql": "docker exec -it $(docker container ls | grep mysql | cut -d' ' -f1) mysql"
},
"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": "^5.1.2",
"prettier": "^2.3.1",
"redlock": "^5.0.0-beta.2",
"replace-in-file": "^6.1.0",
"semver": "^7.3.5"
},
"engines": {
"node": "^16.12.0"
},
"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.32.0",
"eslint-plugin-fxa": "^2.0.2",
"eslint-plugin-jest": "^24.5.2",
"eslint-plugin-react": "^7.26.1",
"json": "^11.0.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"gobbledygook": "https://github.com/mozilla-fxa/gobbledygook.git#354042684056e57ca77f036989e907707a36cff2",
"tap/typescript": "^4.5.2",
"@nestjs/cli/typescript": "^4.5.2",
"@types/node": "^16.11.3",
"http-proxy": "^1.18.1",
"browserid-crypto": "https://github.com/mozilla-fxa/browserid-crypto.git#5979544d13eeb15a02d0b9a6a7a08a698d54d37d",
"fbjs/isomorphic-fetch": "^3.0.0",
"eslint-plugin-import": "^2.25.2"
},
"packageManager": "yarn@3.1.1"
}