fxa/packages/fxa-content-server/package.json

194 строки
7.0 KiB
JSON

{
"name": "fxa-content-server",
"version": "0.0.0",
"description": "Firefox Accounts Content Server",
"scripts": {
"prebuild": "yarn l10n-prime && yarn copy-local-config && yarn check-local-config ",
"build": "yarn build-l10n && yarn build-css && yarn build-js",
"build-css": "NODE_ENV=production tailwindcss --postcss -i ./app/styles/tailwind.css -o ./app/styles/tailwind.out.css",
"build-js": "NODE_ENV=production grunt build",
"build-l10n": "yarn l10n-create-json",
"check-local-config": "node scripts/check-local-config",
"clean": "rimraf dist",
"compile": "tsc --noEmit",
"copy-local-config": "cp server/config/local.json-dist server/config/local.json",
"glean-generate": "yarn glean translate ../fxa-shared/metrics/glean/fxa-ui-pings.yaml ../fxa-shared/metrics/glean/fxa-ui-metrics.yaml -f javascript -o app/scripts/lib/glean",
"audit": "npm audit --json | audit-filter --nsp-config=.nsprc --audit=-",
"l10n-create-json": "NODE_OPTIONS=--openssl-legacy-provider grunt l10n-create-json",
"l10n-prime": "yarn l10n:prime packages/fxa-content-server",
"lint": "yarn lint-glean && eslint app server tests --cache",
"lint-glean": "yarn glean glinter ../fxa-shared/metrics/glean/fxa-ui-pings.yaml ../fxa-shared/metrics/glean/fxa-ui-metrics.yaml",
"start": "pm2 start pm2.config.js && yarn check:url localhost:3030/bundle/app.bundle.js",
"stop": "pm2 stop pm2.config.js",
"restart": "pm2 restart pm2.config.js ",
"delete": "pm2 delete pm2.config.js",
"start-production": "NODE_ENV=production grunt build && yarn build-css && CONFIG_FILES=server/config/local.json,server/config/production.json,server/config/secrets.json grunt serverproc:dist",
"start-remote": "scripts/run_remote_dev.sh",
"test": "node tests/intern.js --unit=true",
"test-server": "node tests/intern.js --suites=server",
"format": "prettier --write --config ../../_dev/.prettierrc '**'"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/fxa.git"
},
"homepage": "https://github.com/mozilla/fxa/tree/main/packages/fxa-content-server",
"bugs": "https://github.com/mozilla/fxa/issues",
"author": "Mozilla (https://mozilla.org/)",
"license": "MPL-2.0",
"dependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.2",
"@mozilla/glean": "^4.0.0",
"asmcrypto.js": "^0.22.0",
"babel-loader": "^9.1.3",
"backbone": "^1.4.1",
"backbone.cocktail": "0.5.15",
"base32-decode": "1.0.0",
"base64url": "3.0.1",
"body-parser": "^1.20.1",
"buffer": "^6.0.3",
"cache-loader": "^4.1.0",
"chosen-js": "https://github.com/mozilla-fxa/chosen.git#3bea55b356c249ae82980c04f67ccc98ff3b28b0",
"connect-cachify": "0.0.17",
"consolidate": "1.0.3",
"convict": "^6.2.4",
"convict-format-with-moment": "^6.2.0",
"convict-format-with-validator": "^6.2.0",
"cookie-parser": "1.4.6",
"crypto-browserify": "^3.12.0",
"css-loader": "1.0.0",
"duration-js": "4.0.0",
"expose-loader": "5.0.0",
"express": "^4.17.3",
"extract-loader": "5.1.0",
"fast-text-encoding": "^1.0.4",
"file-loader": "^6.2.0",
"fxa-auth-client": "workspace:*",
"fxa-auth-server": "workspace:*",
"fxa-common-password-list": "0.0.4",
"fxa-crypto-relier": "2.7.0",
"fxa-geodb": "workspace:*",
"fxa-mustache-loader": "0.0.2",
"fxa-pairing-channel": "1.0.2",
"fxa-payments-server": "workspace:*",
"fxa-profile-server": "workspace:*",
"fxa-react": "workspace:*",
"fxa-settings": "workspace:*",
"fxa-shared": "workspace:*",
"grunt": "^1.6.1",
"grunt-babel": "8.0.0",
"grunt-cdn": "0.6.5",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-concat": "2.1.0",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-cssmin": "4.0.0",
"grunt-contrib-htmlmin": "3.1.0",
"grunt-file-rev": "1.0.2",
"grunt-po2json": "https://github.com/mozilla-fxa/grunt-po2json.git#2f415c8ac0435bf8942dc7131c3916ecd1684a46",
"grunt-sri": "0.2.0",
"grunt-text-replace": "0.4.0",
"grunt-usemin": "3.1.1",
"grunt-z-schema": "0.1.0",
"handlebars": "^4.7.7",
"helmet": "^7.1.0",
"hot-shots": "^10.0.0",
"http-proxy-middleware": "^2.0.0",
"i18n-abide": "0.0.26",
"joi": "^17.8.3",
"jquery": "3.7.0",
"jquery-modal": "https://github.com/mozilla-fxa/jquery-modal.git#0576775d1b4590314b114386019f4c7421c77503",
"jquery-simulate": "1.0.2",
"jquery-ui": "1.13.2",
"jquery-ui-touch-punch-amd": "1.0.1",
"js-md5": "0.7.3",
"jsxgettext-recursive-next": "1.1.0",
"legal-docs": "https://github.com/mozilla/legal-docs.git#68a02d3a95f22fb10db68893bb54e49bc0604f69",
"load-grunt-tasks": "^5.1.0",
"lodash": "^4.17.21",
"mkdirp": "3.0.1",
"mocha": "^10.0.0",
"morgan": "^1.10.0",
"mozlog": "^3.0.2",
"mustache": "4.2.0",
"node-sass": "^9.0.0",
"node-uuid": "1.4.8",
"node-vat": "0.0.9",
"normalize.css": "8.0.1",
"on-headers": "1.0.2",
"postcss-cli": "11.0.0",
"postcss-loader": "8.1.1",
"sass-loader": "^14.1.0",
"serve-static": "^1.14.2",
"source-map": "^0.7.3",
"source-map-loader": "^5.0.0",
"stream-browserify": "^3.0.0",
"thread-loader": "^4.0.2",
"time-grunt": "2.0.0",
"ua-parser-js": "1.0.35",
"underscore": "^1.13.1",
"verror": "1.10.1",
"webcrypto-liner": "1.4.0",
"webpack": "^5.78.0",
"webpack-cli": "^5.1.4"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@types/backbone": "^1.4.10",
"@types/postcss-import": "^14",
"@types/sinon-chai": "3.2.5",
"@types/sinon-express-mock": "1.3.9",
"audit-filter": "^0.5.0",
"babel-eslint": "^10.1.0",
"babel-plugin-dynamic-import-webpack": "1.1.0",
"chai": "^4.3.6",
"copy-webpack-plugin": "12.0.2",
"core-js": "^3.36.0",
"css": "3.0.0",
"esbuild": "^0.17.15",
"esbuild-register": "^3.5.0",
"eslint": "^7.32.0",
"firefox-profile": "4.3.2",
"got": "11.8.5",
"grunt-ban-word": "0.1.1",
"grunt-copyright": "0.3.0",
"grunt-htmllint": "0.3.0",
"grunt-jsonlint": "2.1.3",
"grunt-newer": "1.3.0",
"grunt-todo": "0.5.0",
"htmlparser2": "9.0.0",
"install": "0.13.0",
"intern": "^4.10.1",
"jsqr": "1.4.0",
"otplib": "^11.0.1",
"pm2": "^5.3.0",
"postcss-assets": "^6.0.0",
"postcss-import": "^16.0.0",
"prettier": "^2.3.1",
"proxyquire": "^2.1.3",
"request": "^2.88.2",
"request-promise": "4.2.6",
"sinon": "4.5.0",
"sinon-chai": "^3.7.0",
"sinon-express-mock": "^2.2.1",
"tailwindcss": "^3.4.1",
"ts-loader": "^8.4.0",
"typescript": "^5.3.3",
"upng-js": "2.1.0",
"url-loader": "4.1.1",
"webpack-dev-middleware": "^6.1.1",
"xmlhttprequest": "^1.8.0",
"yargs": "^17.0.1"
},
"readmeFilename": "README.md",
"nx": {
"tags": [
"scope:frontend"
]
}
}