142 строки
5.1 KiB
JSON
142 строки
5.1 KiB
JSON
{
|
|
"name": "monitor",
|
|
"version": "1.0.0",
|
|
"description": "Firefox Monitor",
|
|
"engines": {
|
|
"node": "20.12.x",
|
|
"npm": "10.2.x"
|
|
},
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "npm run build-nimbus && next dev --port=6060",
|
|
"dev:cronjobs": "tsx --tsconfig tsconfig.cronjobs.json src/scripts/cronjobs/*.tsx",
|
|
"dev:nimbus": "node --watch-path config/nimbus.yaml src/scripts/build/nimbusTypes.js",
|
|
"build": "npm run get-location-data && npm run build-glean && npm run build-nimbus && next build && npm run build-cronjobs",
|
|
"start": "next start",
|
|
"lint": "stylelint '**/*.scss' && prettier --check './src' && next lint --max-warnings=0",
|
|
"fix": "prettier --write './src' && next lint --fix && stylelint --fix '**/*.scss'",
|
|
"test": "jest",
|
|
"e2e": "playwright test src/e2e/",
|
|
"e2e:debug": "playwright test src/e2e/ --ui",
|
|
"e2e:smoke": "playwright test src/e2e/ --grep @smoke",
|
|
"db:migrate": "node -r dotenv/config node_modules/knex/bin/cli.js migrate:latest --knexfile src/db/knexfile.js",
|
|
"db:rollback": "node -r dotenv/config node_modules/knex/bin/cli.js migrate:rollback --knexfile src/db/knexfile.js",
|
|
"prepare": "husky install",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "npm run build-glean && npm run build-nimbus && storybook build",
|
|
"create-location-data": "node src/scripts/build/uploadAutoCompleteLocations.js",
|
|
"get-location-data": "node src/scripts/build/getAutoCompleteLocations.js",
|
|
"build-cronjobs": "node esbuild.cronjobs.js",
|
|
"build-nimbus": "node src/scripts/build/nimbusTypes.js",
|
|
"build-glean": "glean translate src/telemetry/metrics.yaml --format typescript --output src/telemetry/generated && npm run build-glean-types",
|
|
"build-glean-types": "node src/scripts/build/gleanTypes.js",
|
|
"build-glean-docs": "glean translate src/telemetry/metrics.yaml --format markdown --output docs"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mozilla/blurts-server.git"
|
|
},
|
|
"homepage": "https://github.com/mozilla/blurts-server",
|
|
"license": "MPL-2.0",
|
|
"volta": {
|
|
"node": "20.12.0",
|
|
"npm": "10.2.4"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.564.0",
|
|
"@aws-sdk/lib-storage": "^3.564.0",
|
|
"@fluent/bundle": "^0.18.0",
|
|
"@fluent/langneg": "^0.7.0",
|
|
"@fluent/react": "^0.15.2",
|
|
"@google-cloud/logging-winston": "^6.0.0",
|
|
"@google-cloud/pubsub": "^4.3.3",
|
|
"@grpc/grpc-js": "1.10.3",
|
|
"@leeoniya/ufuzzy": "^1.0.14",
|
|
"@mozilla/glean": "4.0.0",
|
|
"@next/third-parties": "^14.2.3",
|
|
"@sentry/nextjs": "^7.112.2",
|
|
"@sentry/node": "^7.58.1",
|
|
"@sentry/tracing": "^7.112.2",
|
|
"@stripe/stripe-js": "^3.0.6",
|
|
"@types/jsdom": "^21.1.5",
|
|
"@types/node": "^20.12.7",
|
|
"@types/react": "^18.2.79",
|
|
"@types/react-dom": "^18.2.19",
|
|
"canvas-confetti": "^1.9.1",
|
|
"dotenv": "^16.4.5",
|
|
"eslint-config-next": "^14.2.3",
|
|
"jsdom": "^24.0.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"jwk-to-pem": "^2.0.5",
|
|
"knex": "^3.1.0",
|
|
"mjml": "^4.15.3",
|
|
"next": "^14.2.3",
|
|
"next-auth": "^4.24.6",
|
|
"nodemailer": "^6.9.10",
|
|
"pg": "^8.11.3",
|
|
"react": "^18.2.0",
|
|
"react-aria": "^3.32.1",
|
|
"react-cookie": "^7.1.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-stately": "^3.30.1",
|
|
"server-only": "^0.0.1",
|
|
"uuid": "^9.0.1",
|
|
"winston": "^3.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^8.4.1",
|
|
"@playwright/test": "^1.43.1",
|
|
"@storybook/addon-a11y": "^8.0.8",
|
|
"@storybook/addon-essentials": "^8.0.8",
|
|
"@storybook/addon-interactions": "^8.0.8",
|
|
"@storybook/addon-links": "^8.0.8",
|
|
"@storybook/blocks": "^8.0.0",
|
|
"@storybook/nextjs": "^8.0.8",
|
|
"@storybook/react": "^8.0.0",
|
|
"@testing-library/jest-dom": "^6.4.2",
|
|
"@testing-library/react": "^14.2.2",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/adm-zip": "^0.5.5",
|
|
"@types/canvas-confetti": "^1.6.4",
|
|
"@types/jest-axe": "^3.5.9",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/jwk-to-pem": "^2.0.3",
|
|
"@types/mjml": "^4.7.4",
|
|
"@types/mjml-browser": "^4.15.0",
|
|
"@types/nodemailer": "^6.4.14",
|
|
"@types/uuid": "^9.0.8",
|
|
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
"@typescript-eslint/parser": "^7.5.0",
|
|
"adm-zip": "^0.5.12",
|
|
"esbuild": "^0.20.2",
|
|
"eslint": "^8.57.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-check-file": "^2.7.1",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-jest": "^27.9.0",
|
|
"eslint-plugin-jsdoc": "^48.2.2",
|
|
"eslint-plugin-storybook": "^0.8.0",
|
|
"fast-check": "^3.16.0",
|
|
"husky": "^9.0.11",
|
|
"jest": "^29.7.0",
|
|
"jest-axe": "^8.0.0",
|
|
"jest-canvas-mock": "^2.5.2",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jest-fail-on-console": "^3.1.1",
|
|
"lint-staged": "^15.2.2",
|
|
"mjml-browser": "^4.15.3",
|
|
"prettier": "3.2.5",
|
|
"react-intersection-observer": "^9.10.1",
|
|
"sass": "^1.72.0",
|
|
"storybook": "^8.0.8",
|
|
"stylelint": "^16.4.0",
|
|
"stylelint-config-recommended-scss": "^14.0.0",
|
|
"stylelint-scss": "^6.2.1",
|
|
"ts-jest": "^29.1.2",
|
|
"tsx": "^4.7.2",
|
|
"typescript": "^5.4.2",
|
|
"yaml": "^2.4.1"
|
|
}
|
|
}
|