Files
firefox-accounts-mirror/packages/fxa-auth-server/package.json
Julian Poyourow 565ebb89c9 chore(build): initial nx implementation
Because:

* We want to introduce nx to the repository

This commit:

* Adds nx with working builds

Closes: FXA-7341

Co-authored-by: dschom <dschomburg@mozilla.com>
2023-05-23 08:37:47 -07:00

226 lines
9.0 KiB
JSON

{
"name": "fxa-auth-server",
"version": "0.0.0",
"description": "Firefox Accounts, an identity provider for Mozilla cloud services",
"bin": {
"fxa-auth": "./bin/key_server.js"
},
"directories": {
"test": "test"
},
"scripts": {
"build": "yarn merge-ftl && yarn emails-scss && tsc --build && cp -R config public lib scripts dist/packages/fxa-auth-server",
"clean": "git clean -fXd",
"compile": "tsc --noEmit",
"create-mock-iap": "NODE_ENV=dev FIRESTORE_EMULATOR_HOST=localhost:9090 node -r esbuild-register ./scripts/create-mock-iap-subscriptions.ts",
"bump-template-versions": "node scripts/template-version-bump",
"audit": "npm audit --json | audit-filter --nsp-config=.nsprc --audit=-",
"l10n-prime": "yarn l10n:prime fxa-auth-server",
"lint": "eslint . .storybook --ext .js,.ts",
"start": "yarn merge-ftl && yarn emails-scss && scripts/start-local.sh",
"stop": "pm2 stop pm2.config.js",
"restart": "pm2 restart pm2.config.js",
"delete": "pm2 delete pm2.config.js",
"test": "yarn merge-ftl-test && yarn emails-scss && VERIFIER_VERSION=0 scripts/test-local.sh",
"test-ci": "yarn merge-ftl-test && scripts/test-local.sh && yarn test-e2e",
"test-unit": "yarn merge-ftl-test && yarn emails-scss && VERIFIER_VERSION=0 TEST_TYPE=unit scripts/test-ci.sh",
"test-integration": "yarn merge-ftl-test && yarn emails-scss && VERIFIER_VERSION=0 TEST_TYPE=integration scripts/test-ci.sh",
"test-e2e": "NODE_ENV=dev mocha -r esbuild-register test/e2e",
"test-scripts": "NODE_ENV=dev mocha -r esbuild-register test/scripts --exit",
"test-remote": "MAILER_HOST=restmail.net MAILER_PORT=80 CORS_ORIGIN=http://baz mocha -r esbuild-register --timeout=300000 test/remote",
"format": "prettier --write --config ../../_dev/.prettierrc '**'",
"gen-keys": "node -r esbuild-register ./scripts/gen_keys.js; node -r esbuild-register ./scripts/oauth_gen_keys.js; node -r esbuild-register ./scripts/gen_vapid_keys.js",
"clean-up-old-ci-stripe-customers": "node -r esbuild-register ./scripts/clean-up-old-ci-stripe-customers.js --limit 1000",
"populate-firestore-customers": "CONFIG_FILES='config/secrets.json' node -r esbuild-register ./scripts/populate-firestore-customers.ts",
"populate-vat-taxes": "CONFIG_FILES='config/secrets.json' node -r esbuild-register ./scripts/populate-vat-taxes.ts",
"paypal-processor": "CONFIG_FILES='config/secrets.json' node -r esbuild-register ./scripts/paypal-processor.ts",
"prune-tokens": "CONFIG_FILES='config/secrets.json' node -r esbuild-register ./scripts/prune-tokens.ts",
"subscription-reminders": "CONFIG_FILES='config/secrets.json' node -r esbuild-register ./scripts/subscription-reminders.ts",
"audit-orphaned-stripe-accounts": "CONFIG_FILES='config/secrets.json' node -r esbuild-register ./scripts/audit-orphaned-customers.ts",
"remove-unverified-accounts": "CONFIG_FILES='config/secrets.json' node -r esbuild-register ./scripts/remove-unverified-accounts.ts",
"emails-scss": "node -r esbuild-register ./lib/senders/emails/sass-compile-files.ts",
"storybook": "yarn l10n-prime && yarn install-ejs && yarn emails-scss && NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6010 --no-version-updates -s ./",
"build-storybook": "yarn l10n-prime && yarn install-ejs && yarn emails-scss && NODE_OPTIONS=--openssl-legacy-provider build-storybook && yarn build-storybook-copy-locales && yarn build-storybook-copy-templates",
"build-storybook-copy-locales": "mkdir -p ./storybook-static/public/locales && cp -R ./public/locales ./storybook-static/public",
"build-storybook-copy-templates": "mkdir -p ./storybook-static/lib/senders/emails/templates && cp -R ./lib/senders/emails ./storybook-static/lib/senders",
"install-ejs": "./scripts/install-ejs.sh",
"merge-ftl": "yarn l10n-prime && grunt merge-ftl",
"merge-ftl-test": "yarn l10n-prime && grunt merge-ftl:test",
"watch-ftl": "yarn grunt watch-ftl"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/fxa.git"
},
"bugs": "https://github.com/mozilla/fxa/issues/",
"homepage": "https://github.com/mozilla/fxa/tree/main/packages/fxa-auth-server",
"license": "MPL-2.0",
"author": "Mozilla (https://mozilla.org/)",
"readmeFilename": "README.md",
"dependencies": {
"@fluent/bundle": "^0.18.0",
"@fluent/dom": "^0.8.1",
"@fluent/langneg": "^0.6.2",
"@google-cloud/bigquery": "^6.1.0",
"@google-cloud/firestore": "^6.5.0",
"@google-cloud/translate": "^6.3.1",
"@googlemaps/google-maps-services-js": "^3.3.16",
"@hapi/hapi": "^20.2.1",
"@hapi/hawk": "^8.0.0",
"@hapi/hoek": "^11.0.2",
"@sentry/integrations": "^6.19.1",
"@sentry/node": "^6.19.1",
"@type-cacheable/core": "^11.0.0",
"@type-cacheable/ioredis-adapter": "^10.0.4",
"@types/convict": "5.2.2",
"@types/ejs": "^3.0.6",
"@types/mjml": "^4.7.0",
"ajv": "^8.11.2",
"app-store-server-api": "^0.7.0",
"aws-sdk": "^2.1334.0",
"base64url": "3.0.1",
"buf": "0.1.1",
"buffer-equal-constant-time": "1.0.1",
"cldr-core": "^42.0.0",
"commander": "2.18.0",
"convict": "^6.2.4",
"convict-format-with-moment": "^6.2.0",
"convict-format-with-validator": "^6.2.0",
"dedent": "^0.7.0",
"ejs": "^3.1.8",
"email-addresses": "4.0.0",
"emittery": "^0.13.1",
"fxa-customs-server": "workspace:*",
"fxa-geodb": "workspace:*",
"fxa-jwtool": "^0.7.2",
"fxa-shared": "workspace:*",
"google-auth-library": "^8.8.0",
"googleapis": "^109.0.1",
"hapi-auth-jwt2": "^10.4.0",
"hapi-error": "^3.0.0",
"hapi-swagger": "^14.5.5",
"hkdf": "0.0.2",
"hot-shots": "^10.0.0",
"i18n-iso-countries": "^7.5.0",
"ioredis": "^4.28.2",
"joi": "^17.8.3",
"jose": "^4.13.1",
"jsdom": "^22.0.0",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.0",
"jwt-decode": "^3.1.2",
"keyv": "4.5.0",
"lodash": "^4.17.21",
"luxon": "^2.5.2",
"memcached": "^2.2.2",
"mjml": "^4.13.0",
"moment-timezone": "^0.5.35",
"mozlog": "^3.0.2",
"mysql": "^2.18.1",
"node-uap": "https://github.com/mozilla-fxa/node-uap.git#494714db3e65a4dbfae772f536c8697269174574",
"node-zendesk": "^2.2.0",
"nodemailer": "^6.7.3",
"otplib": "^11.0.1",
"p-queue": "^7.3.4",
"p-retry": "^4.2.0",
"pem-jwk": "^2.0.0",
"poolee": "^1.0.1",
"punycode.js": "2.3.0",
"qrcode": "^1.5.1",
"redlock": "^5.0.0-beta.2",
"request": "^2.88.2",
"safe-regex": "^2.1.1",
"safe-url-assembler": "1.3.5",
"sandboxed-regexp": "^0.3.0",
"stripe": "^11.12.0",
"superagent": "^8.0.0",
"typedi": "^0.8.0",
"uuid": "^9.0.0",
"verror": "^1.10.1",
"web-push": "3.4.4"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@storybook/addon-controls": "^6.5.9",
"@storybook/addon-docs": "^6.5.10",
"@storybook/addon-toolbars": "^6.3.12",
"@storybook/html": "^6.5.10",
"@types/async-retry": "^1",
"@types/babel__core": "7.1.14",
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7",
"@types/dedent": "^0",
"@types/hapi__hapi": "^20.0.10",
"@types/ioredis": "^4.26.4",
"@types/jsdom": "^16",
"@types/jsonwebtoken": "^8.5.1",
"@types/jws": "^3.2.3",
"@types/lodash": "^4",
"@types/luxon": "^1",
"@types/memcached": "^2.2.6",
"@types/mocha": "^8.2.2",
"@types/nock": "^11.1.0",
"@types/node": "^18.14.2",
"@types/node-zendesk": "^2.0.2",
"@types/nodemailer": "^6.4.2",
"@types/request": "2.48.5",
"@types/safe-regex": "1.1.2",
"@types/sass": "^1",
"@types/uuid": "^8.3.0",
"@types/verror": "^1.10.4",
"@types/webpack": "5.28.0",
"acorn": "^8.8.0",
"async-retry": "^1.3.3",
"audit-filter": "^0.5.0",
"babel-loader": "^8.3.0",
"binary-split": "1.0.5",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"esbuild": "^0.17.15",
"esbuild-register": "^3.2.0",
"eslint": "^7.32.0",
"fxa-shared": "workspace:*",
"grunt": "^1.6.1",
"grunt-cli": "^1.4.3",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-copyright": "0.3.0",
"grunt-eslint": "^23.0.0",
"grunt-newer": "1.3.0",
"jsxgettext-recursive-next": "1.1.0",
"jws": "4.0.0",
"keypair": "1.0.4",
"leftpad": "0.0.1",
"load-grunt-tasks": "^5.1.0",
"lodash.chunk": "4.2.0",
"lodash.pick": "4.4.0",
"mailparser": "0.6.1",
"mjml-browser": "^4.13.0",
"mocha": "^10.0.0",
"moment": "^2.29.4",
"nock": "^13.3.0",
"nodemon": "^2.0.19",
"nyc": "^15.1.0",
"pm2": "^5.3.0",
"prettier": "^2.3.1",
"proxyquire": "^2.1.3",
"read": "2.1.0",
"rimraf": "^5.0.0",
"sass": "^1.59.2",
"simplesmtp": "0.3.35",
"sinon": "^9.0.3",
"through": "2.3.8",
"type-fest": "^3.7.1",
"typesafe-node-firestore": "^1.4.1",
"typescript": "^4.9.3",
"webpack": "^4.43.0",
"webpack-watch-files-plugin": "^1.2.1",
"ws": "^8.11.0"
},
"mocha": {
"reporter": "mocha-multi",
"reporterOptions": "spec=-,mocha-junit-reporter=-"
}
}