2014-11-05 04:38:23 +03:00
|
|
|
{
|
2019-03-30 04:22:03 +03:00
|
|
|
"name": "fxa",
|
2020-05-15 03:48:39 +03:00
|
|
|
"private": true,
|
2019-03-30 04:22:03 +03:00
|
|
|
"version": "2.0.0",
|
|
|
|
"description": "Firefox Accounts monorepo",
|
2014-11-05 04:38:23 +03:00
|
|
|
"scripts": {
|
2020-05-15 03:48:39 +03:00
|
|
|
"preinstall": "_scripts/check-package-manager.sh",
|
2019-04-24 10:13:34 +03:00
|
|
|
"authors": "git shortlog -s | cut -c8- | sort -f > AUTHORS",
|
2020-05-15 03:48:39 +03:00
|
|
|
"audit": "echo 'audit is currently unavailable'",
|
2020-04-10 21:33:30 +03:00
|
|
|
"start": "nps --prefix=start",
|
|
|
|
"stop": "nps --prefix=stop",
|
|
|
|
"restart": "nps --prefix=restart",
|
2020-03-12 23:52:09 +03:00
|
|
|
"adb-reverse": "./_scripts/adb-reverse.sh",
|
2020-04-09 01:58:16 +03:00
|
|
|
"test": "_scripts/test-package.sh",
|
2019-06-25 20:47:56 +03:00
|
|
|
"config-fxios": "node _scripts/config-fxios.js",
|
2020-05-15 03:48:39 +03:00
|
|
|
"format": "yarn workspaces foreach run format",
|
2020-04-13 02:54:49 +03:00
|
|
|
"ports": "pm2 jlist | json -d'\t' -a -c 'this.pm2_env.env.PORT' pm2_env.env.PORT name"
|
2014-12-30 08:57:38 +03:00
|
|
|
},
|
2019-03-30 04:22:03 +03:00
|
|
|
"homepage": "https://github.com/mozilla/fxa",
|
2015-06-08 03:35:33 +03:00
|
|
|
"bugs": {
|
2019-03-30 04:22:03 +03:00
|
|
|
"url": "https://github.com/mozilla/fxa/issues"
|
2015-06-08 03:35:33 +03:00
|
|
|
},
|
2014-12-30 08:57:38 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2019-03-30 04:22:03 +03:00
|
|
|
"url": "https://github.com/mozilla/fxa"
|
2014-11-05 04:38:23 +03:00
|
|
|
},
|
2015-06-08 03:35:33 +03:00
|
|
|
"author": "Mozilla (https://mozilla.org/)",
|
|
|
|
"license": "MPL-2.0",
|
2014-11-05 04:38:23 +03:00
|
|
|
"dependencies": {
|
2020-04-10 21:33:30 +03:00
|
|
|
"@dannycoates/nps": "^5.9.12",
|
2019-03-30 04:22:03 +03:00
|
|
|
"diffparser": "^2.0.1",
|
2020-03-12 23:52:09 +03:00
|
|
|
"husky": "^4.2.3",
|
|
|
|
"lint-staged": "^10.0.8",
|
|
|
|
"node-fetch": "^2.6.0",
|
2020-05-15 03:48:39 +03:00
|
|
|
"pm2": "^4.4.0",
|
|
|
|
"prettier": "^2.0.5",
|
2020-03-12 23:52:09 +03:00
|
|
|
"replace-in-file": "^5.0.2"
|
2019-03-30 04:22:03 +03:00
|
|
|
},
|
|
|
|
"engines": {
|
2020-03-03 22:52:33 +03:00
|
|
|
"node": ">=12",
|
2019-03-30 04:22:03 +03:00
|
|
|
"npm": ">=6.4.1"
|
|
|
|
},
|
|
|
|
"fxa": {
|
|
|
|
"moduleDependencies": {
|
|
|
|
"fxa-content-server": [
|
2019-07-18 08:55:54 +03:00
|
|
|
"123done",
|
2019-08-06 23:52:06 +03:00
|
|
|
"fortress",
|
2019-03-30 04:22:03 +03:00
|
|
|
"fxa-auth-server",
|
|
|
|
"fxa-js-client",
|
|
|
|
"fxa-shared",
|
|
|
|
"fxa-profile-server",
|
2019-12-17 21:10:13 +03:00
|
|
|
"fxa-payments-server"
|
2019-03-30 04:22:03 +03:00
|
|
|
],
|
|
|
|
"fxa-auth-server": [
|
|
|
|
"fxa-auth-db-mysql",
|
|
|
|
"fxa-shared"
|
|
|
|
],
|
|
|
|
"fxa-js-client": [
|
|
|
|
"fxa-auth-server"
|
|
|
|
],
|
|
|
|
"fxa-profile-server": [
|
2019-12-23 23:48:20 +03:00
|
|
|
"fxa-auth-server",
|
|
|
|
"fxa-shared"
|
2019-03-30 04:22:03 +03:00
|
|
|
]
|
2019-03-13 17:20:45 +03:00
|
|
|
}
|
2019-06-25 20:47:56 +03:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2019-11-19 22:47:55 +03:00
|
|
|
"pre-commit": "lint-staged",
|
2020-05-22 02:06:10 +03:00
|
|
|
"pre-push": "_scripts/audit.sh",
|
|
|
|
"post-checkout": "_scripts/git-checkout-hook.sh",
|
|
|
|
"post-merge": "_scripts/git-merge-hook.sh"
|
2019-06-25 20:47:56 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
2020-05-30 00:53:35 +03:00
|
|
|
"prettier --config _dev/.prettierrc --write",
|
|
|
|
"eslint -c _dev/.eslintrc"
|
2019-06-25 20:47:56 +03:00
|
|
|
],
|
2019-10-02 19:23:15 +03:00
|
|
|
"*.{ts,tsx}": [
|
2020-03-12 23:52:09 +03:00
|
|
|
"prettier --config _dev/.prettierrc --write"
|
2019-08-16 09:12:35 +03:00
|
|
|
],
|
2019-06-25 20:47:56 +03:00
|
|
|
"*.css": [
|
2020-03-12 23:52:09 +03:00
|
|
|
"prettier --config _dev/.prettierrc --write"
|
2019-06-25 20:47:56 +03:00
|
|
|
],
|
2020-04-27 21:21:23 +03:00
|
|
|
"*.scss": [
|
2020-05-17 22:44:41 +03:00
|
|
|
"stylelint --config _dev/.stylelintrc"
|
2020-04-27 21:21:23 +03:00
|
|
|
],
|
2019-06-25 20:47:56 +03:00
|
|
|
"*.md": [
|
2020-03-12 23:52:09 +03:00
|
|
|
"prettier --config _dev/.prettierrc --write"
|
2019-06-25 20:47:56 +03:00
|
|
|
]
|
2019-10-31 20:50:59 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-03-12 23:52:09 +03:00
|
|
|
"eslint": "^6.8.0",
|
|
|
|
"eslint-plugin-fxa": "^2.0.2",
|
2020-06-16 23:19:39 +03:00
|
|
|
"eslint-plugin-jest": "^23.13.2",
|
2020-03-28 01:12:04 +03:00
|
|
|
"eslint-plugin-react": "^7.19.0",
|
2020-05-17 22:44:41 +03:00
|
|
|
"json": "^9.0.6",
|
|
|
|
"stylelint": "^13.4.0",
|
|
|
|
"stylelint-config-prettier": "^8.0.1"
|
2020-05-15 03:48:39 +03:00
|
|
|
},
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"resolutions": {
|
|
|
|
"gobbledygook": "git://github.com/mozilla-fxa/gobbledygook.git#354042684056e57ca77f036989e907707a36cff2",
|
|
|
|
"tap/typescript": "3.8.3",
|
2020-05-26 20:33:10 +03:00
|
|
|
"@types/node": "12.12.38",
|
|
|
|
"http-proxy": "^1.18.1"
|
2019-03-30 04:22:03 +03:00
|
|
|
}
|
2014-11-05 04:38:23 +03:00
|
|
|
}
|