-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 6.31 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 6.31 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
{
"version": "6.0.0",
"private": true,
"homepage": "https://github.com/opencloud-eu/web",
"license": "AGPL-3.0",
"author": "OpenCloud GmbH <info@opencloud.eu>",
"type": "module",
"scripts": {
"build": "pnpm vite build",
"build:w": "pnpm build --watch",
"lint": "eslint vite.config.ts '{packages,tests}/**/*.{js,ts,vue}' --color",
"format:check": "prettier . --config packages/prettier-config/index.js --check",
"format:write": "prettier . --config packages/prettier-config/index.js --write",
"serve": "SERVER=true pnpm build:w",
"test:e2e:cucumber": "NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e --parallel ${PARALLEL:-1}",
"test:e2e:cucumber:chromium": "BROWSER=chromium NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e --parallel ${PARALLEL:-1}",
"test:e2e:cucumber:firefox": "BROWSER=firefox NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e --parallel ${PARALLEL:-1}",
"test:e2e:cucumber:webkit": "BROWSER=webkit NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e --parallel ${PARALLEL:-1} --tags 'not @webkit-skip'",
"test:e2e:mobile-parallel": "bash -c 'FORCE_COLOR=1 pnpm run test:e2e:mobile-chromium > mobile-chromium.log 2>&1 & pid1=$!; FORCE_COLOR=1 pnpm run test:e2e:mobile-webkit > mobile-webkit.log 2>&1 & pid2=$!; FORCE_COLOR=1 pnpm run test:e2e:ipad-chromium > ipad-chromium.log 2>&1 & pid3=$!; FORCE_COLOR=1 pnpm run test:e2e:ipad-safari > ipad-safari.log 2>&1 & pid4=$!; wait $pid1; ec1=$?; wait $pid2; ec2=$?; wait $pid3; ec3=$?; wait $pid4; ec4=$?; echo \"=== LOG FILES ===\"; for log in *.log; do echo \"--- $log ---\"; cat $log; echo; done; echo \"=== RESULTS ===\"; echo \"Mobile Chromium: $([ $ec1 -eq 0 ] && echo ✅ PASSED || echo ❌ FAILED)\"; echo \"Mobile WebKit: $([ $ec2 -eq 0 ] && echo ✅ PASSED || echo ❌ FAILED)\"; echo \"iPad Chromium: $([ $ec3 -eq 0 ] && echo ✅ PASSED || echo ❌ FAILED)\"; echo \"iPad Safari: $([ $ec4 -eq 0 ] && echo ✅ PASSED || echo ❌ FAILED)\"; if [ $ec1 -ne 0 ] || [ $ec2 -ne 0 ] || [ $ec3 -ne 0 ] || [ $ec4 -ne 0 ]; then exit 1; fi'",
"test:e2e:mobile-chromium": "BROWSER=mobile-chromium NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e ./tests/e2e/cucumber/features/mobile-view",
"test:e2e:mobile-webkit": "FAIL_ON_UNCAUGHT_CONSOLE_ERR=false BROWSER=mobile-webkit NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e ./tests/e2e/cucumber/features/mobile-view",
"test:e2e:ipad-chromium": "BROWSER=ipad-chromium NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e ./tests/e2e/cucumber/features/mobile-view",
"test:e2e:ipad-safari": "BROWSER=ipad-landscape-webkit NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e ./tests/e2e/cucumber/features/mobile-view",
"test:unit": "NODE_OPTIONS=--unhandled-rejections=throw vitest --config ./tests/unit/config/vitest.config.ts",
"licenses:check": "license-checker-rseidelsohn --summary --relativeLicensePath --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL;BlueOak-1.0.0' --excludePackages '@opencloud-eu/eslint-config;@opencloud-eu/prettier-config;@opencloud-eu/tsconfig;@opencloud-eu/web-client;@opencloud-eu/web-pkg;external;web-app-files;text-editor;preview;web-app-ocm;@opencloud-eu/design-system;pdf-viewer;web-app-search;admin-settings;webfinger;web-runtime;@opencloud-eu/web-test-helpers'",
"licenses:csv": "license-checker-rseidelsohn --relativeLicensePath --csv --out ./third-party-licenses/third-party-licenses.csv",
"licenses:save": "license-checker-rseidelsohn --relativeLicensePath --out /dev/null --files ./third-party-licenses/third-party-licenses",
"vite": "vite",
"check:types": "vue-tsc --noEmit",
"check:all": "pnpm check:types && pnpm lint --fix && pnpm format:write && pnpm test:unit",
"check:unused-steps": "TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e --format usage --dry-run tests/e2e/cucumber/features/*/*.feature"
},
"browserslist": [
"last 1 year",
"> .2%",
"not dead",
"not Explorer > 0",
"not ExplorerMobile > 0",
"not BlackBerry > 0",
"not OperaMini all",
"not OperaMobile > 0"
],
"devDependencies": {
"@axe-core/playwright": "^4.10.2",
"@cucumber/cucumber": "12.7.0",
"@cucumber/messages": "32.2.0",
"@cucumber/pretty-formatter": "3.2.0",
"@noble/hashes": "2.0.1",
"@opencloud-eu/eslint-config": "workspace:*",
"@opencloud-eu/prettier-config": "workspace:*",
"@opencloud-eu/tsconfig": "workspace:*",
"@playwright/test": "1.58.2",
"@tailwindcss/vite": "^4.1.11",
"@types/mark.js": "^8.11.12",
"@types/lodash-es": "^4.17.12",
"@types/luxon": "^3.7.1",
"@vitejs/plugin-vue": "6.0.5",
"@vitest/coverage-v8": "^4.0.0",
"@vitest/web-worker": "^4.0.0",
"@vue/compiler-dom": "^3.5.23",
"@vue/compiler-sfc": "^3.5.23",
"@vue/test-utils": "2.4.6",
"browserslist-to-esbuild": "^2.0.0",
"browserslist-useragent-regexp": "^4.0.0",
"commander": "14.0.3",
"eslint": "10.0.3",
"franc-min": "^6.2.0",
"happy-dom": "20.8.4",
"license-checker-rseidelsohn": "4.4.2",
"node-fetch": "3.3.2",
"pino": "10.3.1",
"pino-pretty": "13.1.3",
"qs": "^6.15.0",
"requirejs": "2.3.8",
"simple-git": "3.33.0",
"tailwindcss": "^4.1.11",
"ts-node": "10.9.2",
"tslib": "2.8.1",
"typescript": "5.9.3",
"vite": "^8.0.0",
"vite-plugin-node-polyfills": "0.25.0",
"vite-plugin-static-copy": "^3.0.0",
"vite-plugin-treat-umd-as-commonjs": "0.1.4",
"vitest": "^4.0.0",
"vitest-mock-extended": "3.1.0",
"vue": "^3.5.23",
"vue-tsc": "3.2.6",
"vue3-gettext": "^4.0.0-beta.1"
},
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@10.28.1",
"volta": {
"node": "24.14.0"
},
"pnpm": {
"patchedDependencies": {
"caf@15.0.1": "patches/caf@15.0.1.patch"
}
}
}