Files
Compass/package.json
Okechi Jones-Williams 1994697fa1 Adding onboarding E2E foundations and first tests (#30)
* .

* Centralizing config details

* Added data-testId attributes where necessary and started the onboarding flow scaffolding

* Continued onboarding test scaffolding

* Continued work on tests for the Onboarding flow

* .

* Updated "Want kids" options to be less flaky
Updated playwright.config so that expect timeout matching test timeout

* Continued updating front-end scaffolding

* .

* .

* .

* .

* Updated fixture function deleteUser: to also remove the database user information

* Rm

* Fix

* Fixes

---------

Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
2026-02-20 16:56:26 +01:00

138 lines
4.9 KiB
JSON

{
"name": "compass",
"version": "1.9.0",
"private": true,
"workspaces": [
"common",
"backend/api",
"backend/scripts",
"backend/email",
"backend/shared",
"web"
],
"scripts": {
"verify": "yarn --cwd=common verify:dir; yarn --cwd=web verify:dir; yarn --cwd=backend/shared verify:dir",
"lint": "yarn --cwd=web lint; yarn --cwd=common lint; yarn --cwd=backend/api lint; yarn --cwd=backend/shared lint",
"lint-fix": "yarn --cwd=web lint-fix; yarn --cwd=common lint-fix; yarn --cwd=backend/api lint-fix; yarn --cwd=backend/shared lint-fix",
"dev": "./scripts/run_local.sh dev",
"dev:isolated": "./scripts/run_local_isolated.sh",
"prod": "./scripts/run_local.sh prod",
"clean-install": "./scripts/install.sh",
"build-web-view": "./scripts/build_web_view.sh",
"build-sync-android": "./scripts/build_sync_android.sh",
"android-live-update": "./scripts/android_live_update.sh",
"sync-android": "./scripts/sync_android.sh",
"migrate": "./scripts/migrate.sh",
"test": "yarn workspaces run test",
"test:coverage": "yarn workspaces run test --coverage",
"test:watch": "yarn workspaces run test --watch",
"test:update": "yarn workspaces run test --updateSnapshot",
"test:e2e": "./scripts/e2e.sh",
"test:e2e:dev": "./scripts/e2e-dev.sh",
"test:e2e:ui": "./scripts/e2e.sh --ui",
"test:e2e:debug": "./scripts/e2e.sh --debug",
"test:e2e:services": "./scripts/e2e_services.sh",
"test:db:reset": "npx supabase start && ./scripts/combine-migrations.sh && npx supabase db reset && yarn test:db:seed",
"test:db:reset-postgres": "docker compose -f scripts/docker-compose.test.yml down -v && docker compose -f scripts/docker-compose.test.yml up -d",
"test:db:migrate": "./scripts/test_db_migration.sh",
"test:db:seed": "./scripts/seed.sh",
"playwright": "playwright test",
"playwright:ui": "playwright test --ui",
"playwright:debug": "playwright test --debug",
"playwright:report": "npx playwright show-report tests/reports/playwright-report",
"postinstall": "./scripts/post_install.sh",
"emulate": "firebase emulators:start --only auth,storage --project compass-57c3c",
"prepare": "npx husky"
},
"lint-staged": {
"web/**/*.{ts,tsx,js,jsx,json,css,scss,md}": [
"prettier --write",
"next lint --fix --file",
"next lint --max-warnings 0 --file"
],
"common/**/*.{ts,tsx,js,jsx,json,css,scss,md}": [
"prettier --write",
"eslint --fix",
"eslint --max-warnings 0"
],
"backend/api/**/*.{ts,tsx,js,jsx,json,css,scss,md}": [
"prettier --write",
"eslint --fix",
"eslint --max-warnings 0"
],
"backend/shared/**/*.{ts,tsx,js,jsx,json,css,scss,md}": [
"prettier --write",
"eslint --fix",
"eslint --max-warnings 0"
]
},
"dependencies": {
"@capacitor/app": "7.1.0",
"@capacitor/core": "7.4.4",
"@capacitor/keyboard": "7.0.3",
"@capacitor/push-notifications": "7.0.3",
"@capacitor/status-bar": "7.0.3",
"@capawesome/capacitor-live-update": "7.2.2",
"@capgo/capacitor-social-login": "7.14.9",
"colorette": "^2.0.20",
"prismjs": "^1.30.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown": "10.1.0",
"supabase": "2.76.9",
"wait-on": "9.0.4"
},
"devDependencies": {
"@capacitor/android": "7.4.4",
"@capacitor/assets": "3.0.5",
"@capacitor/cli": "7.4.4",
"@faker-js/faker": "10.1.0",
"@playwright/test": "1.58.2",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "29.2.4",
"@types/node": "20.12.11",
"@typescript-eslint/eslint-plugin": "^8",
"@typescript-eslint/parser": "^8",
"chalk": "5.6.2",
"concurrently": "8.2.2",
"dotenv-cli": "10.0.0",
"eslint": "8.57.0",
"eslint-plugin-lodash": "7.4.0",
"eslint-plugin-unused-imports": "4.1.4",
"firebase-tools": "14.27.0",
"husky": "9.1.7",
"jest": "29.3.1",
"nodemon": "2.0.20",
"prettier": "3.6.2",
"prettier-plugin-sql": "0.19.2",
"prettier-plugin-tailwindcss": "0.2.8",
"ts-jest": "29.0.3",
"ts-node": "10.9.1",
"tsc-alias": "1.8.2",
"tsconfig-paths": "4.2.0",
"tsx": "4.20.6",
"typescript": "5.5.4"
},
"resolutions": {
"@tiptap/core": "2.3.2",
"@tiptap/extension-blockquote": "2.3.2",
"@tiptap/extension-bold": "2.3.2",
"@tiptap/extension-bubble-menu": "2.3.2",
"@tiptap/extension-floating-menu": "2.3.2",
"@tiptap/extension-image": "2.3.2",
"@tiptap/extension-link": "2.3.2",
"@tiptap/extension-mention": "2.3.2",
"@tiptap/html": "2.3.2",
"@tiptap/starter-kit": "2.3.2",
"@tiptap/pm": "2.3.2",
"@tiptap/suggestion": "2.3.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0"
}
}