2014-11-05 04:38:23 +03:00
|
|
|
{
|
2019-03-30 04:22:03 +03:00
|
|
|
"name": "fxa",
|
|
|
|
"version": "2.0.0",
|
|
|
|
"description": "Firefox Accounts monorepo",
|
2014-11-05 04:38:23 +03:00
|
|
|
"scripts": {
|
2019-04-24 10:13:34 +03:00
|
|
|
"authors": "git shortlog -s | cut -c8- | sort -f > AUTHORS",
|
2019-11-04 20:13:12 +03:00
|
|
|
"postinstall": "_scripts/install_all.sh",
|
2019-12-21 03:26:06 +03:00
|
|
|
"npm-ci-all": "lerna exec --parallel --ignore fxa-amplitude-send -- npm ci",
|
2019-11-19 22:47:55 +03:00
|
|
|
"audit": "lerna run audit --parallel",
|
2020-03-06 02:07:50 +03:00
|
|
|
"start": "_scripts/check_ports.sh && pm2 start mysql_servers.json && echo \"Use 'npm stop' to stop all the servers\"",
|
2019-10-28 23:34:38 +03:00
|
|
|
"stop": "pm2 kill",
|
2020-01-14 23:41:31 +03:00
|
|
|
"firefox": "./packages/fxa-dev-launcher/bin/fxa-dev-launcher",
|
|
|
|
"start-firefox": "npm run firefox",
|
2020-03-12 23:52:09 +03:00
|
|
|
"adb-reverse": "./_scripts/adb-reverse.sh",
|
2019-03-30 04:22:03 +03:00
|
|
|
"test": "lerna run test",
|
2019-06-25 20:47:56 +03:00
|
|
|
"config-fxios": "node _scripts/config-fxios.js",
|
|
|
|
"format": "lerna run format"
|
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": {
|
2019-03-30 04:22:03 +03:00
|
|
|
"diffparser": "^2.0.1",
|
2020-03-12 23:52:09 +03:00
|
|
|
"husky": "^4.2.3",
|
|
|
|
"lerna": "^3.20.2",
|
|
|
|
"lint-staged": "^10.0.8",
|
|
|
|
"node-fetch": "^2.6.0",
|
|
|
|
"pm2": "^4.2.3",
|
2019-11-11 22:41:47 +03:00
|
|
|
"prettier": "^1.19.1",
|
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-oauth-server",
|
|
|
|
"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",
|
|
|
|
"pre-push": "npm run audit"
|
2019-06-25 20:47:56 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
2019-11-09 01:35:36 +03:00
|
|
|
"eslint -c .eslintrc",
|
2020-03-12 23:52:09 +03:00
|
|
|
"prettier --write"
|
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 --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 --write"
|
2019-06-25 20:47:56 +03:00
|
|
|
],
|
|
|
|
"*.md": [
|
2020-03-12 23:52:09 +03:00
|
|
|
"prettier --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",
|
|
|
|
"eslint-plugin-jest": "^23.8.2"
|
2019-03-30 04:22:03 +03:00
|
|
|
}
|
2014-11-05 04:38:23 +03:00
|
|
|
}
|