зеркало из https://github.com/mozilla/fxa.git
113 строки
2.9 KiB
JSON
113 строки
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",
|
|
"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"
|
|
},
|
|
"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": {
|
|
"@dannycoates/nps": "^5.9.12",
|
|
"diffparser": "^2.0.1",
|
|
"husky": "^4.2.3",
|
|
"lint-staged": "^10.0.8",
|
|
"node-fetch": "^2.6.0",
|
|
"nodemon": "^2.0.3",
|
|
"pm2": "^4.4.0",
|
|
"prettier": "^2.0.5",
|
|
"replace-in-file": "^5.0.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=12",
|
|
"npm": ">=6.4.1"
|
|
},
|
|
"fxa": {
|
|
"moduleDependencies": {
|
|
"fxa-content-server": [
|
|
"123done",
|
|
"fortress",
|
|
"fxa-auth-server",
|
|
"fxa-js-client",
|
|
"fxa-shared",
|
|
"fxa-profile-server",
|
|
"fxa-payments-server"
|
|
],
|
|
"fxa-auth-server": [
|
|
"fxa-auth-db-mysql",
|
|
"fxa-shared"
|
|
],
|
|
"fxa-js-client": [
|
|
"fxa-auth-server"
|
|
],
|
|
"fxa-profile-server": [
|
|
"fxa-auth-server",
|
|
"fxa-shared"
|
|
]
|
|
}
|
|
},
|
|
"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": "^6.8.0",
|
|
"eslint-plugin-fxa": "^2.0.2",
|
|
"eslint-plugin-jest": "^23.8.2",
|
|
"eslint-plugin-react": "^7.19.0",
|
|
"json": "^9.0.6",
|
|
"stylelint": "^13.4.0",
|
|
"stylelint-config-prettier": "^8.0.1"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"resolutions": {
|
|
"gobbledygook": "git://github.com/mozilla-fxa/gobbledygook.git#354042684056e57ca77f036989e907707a36cff2",
|
|
"tap/typescript": "3.8.3",
|
|
"@types/node": "12.12.38",
|
|
"http-proxy": "^1.18.1"
|
|
}
|
|
}
|