-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "lecturequiz-pro",
"version": "1.0.0",
"type": "module",
"description": "Interactive live quizzes for modern classrooms",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"test:watch": "vitest --watch",
"test:e2e": "npm run test:e2e:local",
"test:e2e:ui": "npx playwright test --config=playwright.local.config.js --ui",
"test:e2e:headed": "npx playwright test --config=playwright.local.config.js --headed",
"test:e2e:debug": "npx playwright test --config=playwright.local.config.js --debug",
"test:e2e:report": "npx playwright show-report",
"dev:test": "npm run dev:e2e",
"dev:e2e": "VITE_E2E_MODE=true VITE_USE_FIREBASE_EMULATOR=true VITE_FIREBASE_API_KEY=demo-project VITE_FIREBASE_AUTH_DOMAIN=localhost VITE_FIREBASE_PROJECT_ID=demo-project VITE_FIREBASE_APP_ID=demo-app VITE_ADMIN_EMAIL=creeed22@gmail.com VITE_E2E_ADMIN_PASSWORD=e2e-admin-password vite --port 4173 --strictPort",
"e2e:seed": "node scripts/e2e/seed-emulators.mjs",
"e2e:local:run": "npm run e2e:seed && npx playwright test --config=playwright.local.config.js",
"test:e2e:local": "firebase emulators:exec --only auth,firestore --project demo-project \"npm run e2e:local:run\"",
"test:e2e:workflow-admin": "firebase emulators:exec --only auth,firestore --project demo-project \"npm run e2e:seed && npx playwright test --config=playwright.local.config.js e2e/workflow-auth.spec.js\"",
"test:e2e:prod-smoke": "npx playwright test --config=playwright.prod.config.js",
"test:all": "vitest run && npm run test:e2e:local",
"test:local": "bash scripts/test-local.sh",
"test:smoke": "npm run test:e2e:prod-smoke",
"test:workflow": "npm run test:e2e:workflow-admin",
"validate": "bash scripts/validate-build.sh",
"deploy": "npm run build && firebase deploy",
"deploy:prod": "bash scripts/deploy-prod.sh",
"deploy:safe": "bash scripts/deploy-with-tests.sh",
"upload-quiz": "node scripts/upload-quiz.js",
"upload-all": "node scripts/upload-quiz.js --all",
"list-quizzes": "node scripts/upload-quiz.js --list"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Cre-eD/quiz.git"
},
"keywords": [
"quiz",
"firebase",
"react",
"education"
],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Cre-eD/quiz/issues"
},
"homepage": "https://github.com/Cre-eD/quiz#readme",
"dependencies": {
"firebase": "^12.14.0",
"framer-motion": "^12.40.0",
"isomorphic-dompurify": "^3.15.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/ui": "^4.1.8",
"autoprefixer": "^10.5.0",
"firebase-admin": "^13.10.0",
"glob": "^10.3.0",
"jsdom": "^28.1.0",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"vite": "^8.0.16",
"vitest": "^4.1.8"
}
}