forked from yeatmanlab/roar-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 6.56 KB
/
package.json
File metadata and controls
136 lines (136 loc) · 6.56 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "roar-dashboard",
"private": true,
"version": "3.6.1-dev",
"type": "module",
"scripts": {
"survey:pdf": "node -e \"(async()=>{const {loadSurveyFromFile}=await import('./dist/helpers/surveyLoader.js'); const {generateSurveyPdfFromJson}=await import('./dist/helpers/surveyPdfGenerator.js'); const fp=process.env.SURVEY_JSON||'surveys/demo.json'; const survey=await loadSurveyFromFile(fp); await generateSurveyPdfFromJson(survey,{filename:(process.env.OUTPUT||'survey.pdf')});})().catch(e=>{console.error(e);process.exit(1);})\"",
"build:dev": "export VITE_LEVANTE=TRUE && export VITE_FIREBASE_PROJECT=DEV && vite build",
"build:dev:assessment": "export VITE_LEVANTE=TRUE && export VITE_FIREBASE_PROJECT=DEV && export VITE_ADMIN_AS_APP=TRUE && vite build",
"build:prod": "export VITE_LEVANTE=TRUE && vite build",
"dev": "export VITE_LEVANTE=TRUE && export VITE_FIREBASE_PROJECT=DEV && export VITE_EMULATOR=TRUE && vite --force --host",
"dev:db": "export VITE_LEVANTE=TRUE && export VITE_FIREBASE_PROJECT=DEV && vite --force --host",
"dev:preview:db": "export VITE_LEVANTE=TRUE && export VITE_FIREBASE_PROJECT=DEV && export VITE_ADMIN_AS_APP=TRUE && vite --force --host",
"local:prod": "export VITE_LEVANTE=TRUE && export VITE_FIREBASE_PROJECT=PROD && vite --force --host",
"dev:pc": "powershell -Command \"$env:VITE_LEVANTE='TRUE'; $env:VITE_FIREBASE_PROJECT='DEV'; vite --force --host\"",
"deploy:dev": "npm run build:dev && npx firebase use levante-admin-dev && npx firebase deploy --only hosting --config levante-firebase.json",
"deploy:prod": "npm run build:prod && npx firebase use levante-admin-prod && npx firebase deploy --only hosting --config firebase.json",
"cypress:open": "cypress open",
"cypress:locales:emulator": "E2E_USE_ENV=TRUE E2E_BASE_URL=http://localhost:5173/signin E2E_TEST_EMAIL=student@levante.test E2E_TEST_PASSWORD=student123 npx cypress run --e2e --spec cypress/e2e/locales-emulator.cy.ts",
"e2e:locales:emulator": "E2E_SEED=FALSE bash scripts/e2e-locales-emulator.sh",
"format": "prettier . --write --log-level=warn",
"generate-pwa-assets": "pwa-assets-generator",
"check-format": "prettier . --check",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
"preversion": "npm run lint",
"preview": "vite preview",
"test": "vitest --config vitest.config.js",
"test:watch": "vitest --watch",
"format:add": "npm run format && git add -A",
"i18n:download-rebuild": "node src/translations/tools/download-and-rebuild.js",
"i18n:consolidate": "node src/translations/tools/create-consolidated-translations.js",
"i18n:crowdin:upload": "npx -y -p @crowdin/cli crowdin upload sources --config src/translations/crowdin/crowdin.yml",
"i18n:crowdin:download": "npx -y -p @crowdin/cli crowdin download --config src/translations/crowdin/crowdin.yml",
"i18n:csv-to-json": "node src/translations/tools/csv-to-json.js",
"i18n:pull-json": "node src/translations/tools/pull-json.js",
"predev": "sh -c 'if [ -n \"$CROWDIN_API_TOKEN\" ]; then npm run i18n:crowdin:download; fi' && node src/translations/tools/conditional-csv-to-json.js",
"prebuild": "sh -c 'if [ -n \"$CROWDIN_API_TOKEN\" ]; then npm run i18n:crowdin:download; fi' && node src/translations/tools/conditional-csv-to-json.js",
"i18n:validate": "node src/translations/tools/validate-csvs.js",
"i18n:safety-check": "node src/translations/tools/translation-safety-check.js",
"i18n:add-locale": "node src/translations/tools/add-locale-column.js",
"i18n:sync": "npm run i18n:consolidate && npm run i18n:crowdin:upload && npm run i18n:crowdin:download && npm run i18n:csv-to-json && npm run i18n:validate",
"repository:new": "bash scripts/generate-repository.sh"
},
"dependencies": {
"@bdelab/roar-pa": "5.1.0",
"@bdelab/roar-sre": "3.0.2",
"@bdelab/roar-swr": "1.15.0",
"@bdelab/roar-utils": "^1.2.1",
"@levante-framework/core-tasks": "^1.2.1",
"@levante-framework/firekit": "^9.4.0",
"@levante-framework/levante-zod": "^1.0.11",
"@levante-framework/permissions-core": "^1.2.0",
"@primevue/core": "^4.2.4",
"@primevue/themes": "^4.2.4",
"@sentry/browser": "^8.0.0",
"@sentry/integrations": "^7.114.0",
"@sentry/vite-plugin": "^2.16.1",
"@sentry/vue": "^7.114.0",
"@tanstack/vue-query": "^5.54.2",
"@tanstack/vue-query-devtools": "^5.54.2",
"@unhead/vue": "^1.9.16",
"@vuelidate/core": "^2.0.0-alpha.40",
"@vuelidate/validators": "^2.0.0-alpha.28",
"@vueuse/core": "^10.7.1",
"axios": "^1.5.1",
"buffer": "^6.0.3",
"chart.js": "^4.3.3",
"date-fns": "^4.1.0",
"dompurify": "^3.1.6",
"dotenv": "^16.3.1",
"flag-icons": "^7.5.0",
"html2canvas": "^1.4.1",
"http-status-codes": "^2.3.0",
"jspdf": "^2.5.1",
"lodash": "^4.17.21",
"marked": "^7.0.3",
"papaparse": "^5.5.3",
"pinia": "^2.0.33",
"pinia-plugin-persistedstate": "^3.1.0",
"posthog-js": "^1.236.6",
"primeflex": "^3.3.1",
"primeicons": "^7.0.0",
"primevue": "^4.2.4",
"sharp": "^0.33.3",
"showdown": "^2.1.0",
"survey-core": "^2.5.16",
"survey-pdf": "^2.5.16",
"survey-vue3-ui": "^2.5.16",
"vega": "^5.26.1",
"vega-embed": "^6.23.0",
"vega-lite": "^5.16.3",
"video.js": "^8.10.0",
"vue": "^3.2.25",
"vue-draggable-next": "^2.2.1",
"vue-i18n": "^9.9.1",
"vue-router": "^4.1.6",
"vue3-text-clamp": "^0.1.2",
"workbox-precaching": "^7.1.0",
"zipson": "^0.2.12"
},
"devDependencies": {
"@pinia/testing": "^0.1.7",
"@testing-library/vue": "^8.1.0",
"@types/lodash": "^4.14.196",
"@types/node": "^24.2.1",
"@types/papaparse": "^5.5.2",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"@unhead/addons": "^1.9.16",
"@vitejs/plugin-vue": "^5.1.2",
"@vitest/coverage-istanbul": "^2.0.5",
"cypress": "^14.4.1",
"cypress-real-events": "^1.14.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.18.1",
"firebase-admin": "^13.4.0",
"firebase-tools": "^13.12.0",
"happy-dom": "^14.12.3",
"husky": "^9.1.6",
"nanoid": "^5.0.7",
"prettier": "3.0.3",
"sass": "^1.50.1",
"typescript": "^5.9.2",
"vite": "^5.4.2",
"vite-plugin-favicons-inject": "^2.2.0",
"vite-plugin-mkcert": "^1.17.5",
"vite-plugin-node-polyfills": "^0.22.0",
"vitest": "^2.0.5",
"workbox-build": "^7.1.1",
"workbox-core": "^7.1.0",
"workbox-routing": "^7.1.0",
"workbox-strategies": "^7.1.0"
}
}