-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
179 lines (179 loc) · 5.75 KB
/
package.json
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "@acdh-oeaw/vicav-frontend",
"version": "0.8.0",
"private": true,
"type": "module",
"license": "MIT",
"engines": {
"node": "22.x",
"pnpm": "9.x"
},
"packageManager": "[email protected]+sha256.355a8ab8dbb6ad41befbef39bc4fd6b5df85e12761d2724bd01f13e878de4b13",
"scripts": {
"analyze": "nuxt analyze",
"build": "NUXT_PUBLIC_CURRENT_GIT_SHA=$(git describe --tags --always) && run-s generate:api-client build:client",
"build:client": "nuxt build --dotenv ./.env.local",
"dev": "NUXT_PUBLIC_CURRENT_GIT_SHA=$(git describe --tags --always) && nuxt dev --dotenv ./.env.local --host 127.0.0.1 --no-fork",
"format:check": "prettier . --cache --check --ignore-path ./.gitignore",
"format:fix": "pnpm run format:check --write",
"generate:api-client": "swagger-typescript-api --path \"https://raw.githubusercontent.com/acdh-oeaw/vicav-app-api/master/openapi.json\" --clean-output --name index.ts --output ./lib/api-client/",
"lint:check": "run-p --continue-on-error \"lint:*:check\"",
"lint:fix": "run-p --continue-on-error \"lint:*:fix\"",
"lint:code:check": "pnpm run lint:code:check-no-cache --cache",
"lint:code:check-no-cache": "eslint .",
"lint:code:fix": "pnpm run lint:code:check --fix",
"lint:styles:check": "pnpm run lint:styles:check-no-cache --cache",
"lint:styles:check-no-cache": "stylelint \"./**/*.@(css|vue)\" --ignore-path ./.gitignore",
"lint:styles:fix": "pnpm run lint:styles:check --fix",
"postinstall": "nuxt prepare",
"preinstall": "npx only-allow pnpm",
"prepare": "run-s setup generate:api-client",
"setup": "is-ci || simple-git-hooks",
"start:preview": "nuxt preview --dotenv ./.env.local",
"start": "node .output/server/index.mjs",
"start:local": "dotenv -e .env.local -- pnpm run start",
"test": "dotenv -e .env.local -- node checkenv.mjs && pnpm playwright install && run-p format:check \"lint:*:check-no-cache\" types:check test:unit test:e2e",
"test:e2e": "playwright test",
"test:e2e:codegen": "playwright codegen",
"test:e2e:debug": "playwright test --debug",
"test:e2e:ui": "playwright test --ui",
"test:unit": "vitest --run --typecheck --passWithNoTests",
"types:check": "nuxt typecheck",
"validate": "run-p format:check lint:check types:check test:unit",
"heroku-postbuild": "pnpm run build && node heroku-postbuild-cleanup.js"
},
"dependencies": {
"@acdh-oeaw/lib": "^0.1.12",
"@citation-js/core": "^0.7.14",
"@citation-js/plugin-csl": "^0.7.14",
"@elastic/ecs-pino-format": "^1.5.0",
"@fontsource-variable/roboto-flex": "^5.1.1",
"@fortawesome/fontawesome-free": "^6.7.2",
"@iconify/vue": "^4.3.0",
"@nuxt/eslint": "^0.5.7",
"@nuxt/test-utils": "^3.15.4",
"@pinia/nuxt": "^0.5.5",
"@tanstack/vue-query": "^5.64.1",
"@tanstack/vue-table": "8.11.8",
"@types/pino-http": "^5.8.4",
"@vueuse/core": "^10.11.1",
"@vueuse/nuxt": "^10.11.1",
"autoprefixer": "^10.4.20",
"class-variance-authority": "^0.7.1",
"colorjs.io": "^0.5.2",
"cva": "1.0.0-beta.1",
"h3-compression": "^0.3.2",
"is-ci": "^3.0.1",
"leaflet": "^1.9.4",
"lightgallery": "^2.8.2",
"lucide-vue-next": "^0.289.0",
"nanoid": "^5.0.9",
"npm-run-all2": "^6.2.6",
"nuxt": "^3.15.1",
"nuxt-svgo": "^4.0.11",
"pinia": "^2.3.0",
"pino": "^9.6.0",
"radix-vue": "^1.9.12",
"swagger-typescript-api": "^13.0.23",
"tailwind-merge": "^2.6.0",
"transliteration": "^2.3.5",
"ts-error": "^1.0.6",
"tw-elements": "^2.0.0",
"v3-infinite-loading": "^1.3.2",
"vee-validate": "^4.15.0",
"vue": "3.5.6",
"vue-router": "^4.5.0",
"winbox": "^0.2.82",
"zod": "^3.24.1"
},
"devDependencies": {
"@acdh-oeaw/eslint-config": "^2.0.6",
"@acdh-oeaw/eslint-config-nuxt": "^2.0.11",
"@acdh-oeaw/eslint-config-playwright": "^2.0.7",
"@acdh-oeaw/eslint-config-tailwindcss": "^2.0.8",
"@acdh-oeaw/eslint-config-vue": "^2.0.9",
"@acdh-oeaw/prettier-config": "^2.0.1",
"@acdh-oeaw/stylelint-config": "^2.0.5",
"@acdh-oeaw/tsconfig": "^1.3.0",
"@axe-core/playwright": "^4.10.1",
"@nuxt/devtools": "^1.7.0",
"@playwright/test": "^1.49.1",
"@tailwindcss/typography": "^0.5.16",
"@tanstack/eslint-plugin-query": "^5.62.16",
"@types/color": "^4.2.0",
"@types/geojson": "^7946.0.15",
"@types/leaflet": "^1.9.16",
"@types/node": "^22.10.5",
"@types/winbox": "0.2.3",
"@vitest/coverage-v8": "^2.1.8",
"ci-info": "^3.9.0",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.4.4",
"eslint": "^9.18.0",
"eslint-config-flat-gitignore": "^0.3.0",
"eslint-plugin-tailwindcss": "^3.17.5",
"h3": "^1.13.1",
"happy-dom": "^15.11.7",
"lint-staged": "15.2.7",
"nitropack": "^2.10.4",
"prettier": "^3.4.2",
"schema-dts": "^1.1.2",
"simple-git-hooks": "^2.11.1",
"stylelint": "16.12.0",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"type-fest": "^4.32.0",
"typescript": "^5.7.3",
"vitest": "^2.1.8",
"vue-tsc": "^2.2.0"
},
"resolutions": {
"vue": "3.5.6"
},
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"@types/[email protected]": "patches/@[email protected]"
}
},
"browserslist": {
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"production": [
">=0.75%",
"not dead",
"not op_mini all"
]
},
"lint-staged": {
"*.vue": [
"eslint --cache --fix",
"stylelint --cache --fix",
"prettier --cache --write"
],
"*.@(js|ts)": [
"eslint --cache --fix",
"prettier --cache --write"
],
"*.css": [
"stylelint --cache --fix",
"prettier --cache --write"
],
"*.!(css|js|ts|vue)": "prettier --cache --ignore-unknown --write"
},
"postcss": {
"plugins": {
"tailwindcss": {}
}
},
"prettier": "@acdh-oeaw/prettier-config",
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"stylelint": {
"extends": "@acdh-oeaw/stylelint-config"
}
}