generated from acdh-oeaw/template-app-nuxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 3.65 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
{
"name": "@acdh-oeaw/app",
"private": true,
"license": "MIT",
"type": "module",
"engines": {
"node": "20.x",
"pnpm": "8.x"
},
"packageManager": "[email protected]",
"scripts": {
"analyze": "nuxt analyze",
"build": "nuxt build --dotenv ./.env.local",
"dev": "nuxt dev --dotenv ./.env.local",
"format:check": "prettier . \"!./content/**\" --cache --check --ignore-path ./.gitignore",
"format:fix": "pnpm run format:check --write",
"lint:check": "run-p --continue-on-error \"lint:*:check\"",
"lint:fix": "run-p --continue-on-error \"lint:*:fix\"",
"lint:code:check": "eslint . --cache --ext .js,.ts,.vue --ignore-path ./.gitignore",
"lint:code:fix": "pnpm run lint:code:check --fix",
"lint:styles:check": "stylelint \"./**/*.@(css|vue)\" --cache --ignore-path ./.gitignore",
"lint:styles:fix": "pnpm run lint:styles:check --fix",
"postinstall": "nuxt prepare",
"preinstall": "npx only-allow pnpm",
"prepare": "run-s setup",
"setup": "is-ci || simple-git-hooks",
"start": "nuxt preview --dotenv ./.env.local",
"test": "exit 0",
"test:e2e": "playwright test",
"test:e2e:codegen": "playwright codegen",
"test:e2e:ui": "playwright test --ui",
"types:check": "nuxt typecheck",
"validate": "run-p format:check lint:check types:check test test:e2e"
},
"dependencies": {
"@acdh-oeaw/lib": "^0.1.7",
"@fontsource-variable/inter": "^5.0.17",
"@nuxt/content": "^2.12.1",
"@nuxt/image": "^1.4.0",
"@nuxtjs/color-mode": "^3.3.2",
"@nuxtjs/i18n": "^8.1.1",
"@vueuse/core": "^10.9.0",
"@vueuse/nuxt": "^10.9.0",
"cva": "^1.0.0-beta.1",
"fast-glob": "^3.3.2",
"lucide-vue-next": "^0.350.0",
"pino-http": "^9.0.0",
"satori": "^0.10.13",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@acdh-oeaw/eslint-config": "^1.0.6",
"@acdh-oeaw/eslint-config-nuxt": "^1.0.12",
"@acdh-oeaw/eslint-config-vue": "^1.0.11",
"@acdh-oeaw/prettier-config": "^2.0.0",
"@acdh-oeaw/stylelint-config": "^2.0.1",
"@acdh-oeaw/tailwindcss-preset": "^0.0.22",
"@acdh-oeaw/tsconfig": "^1.0.2",
"@nuxt/devtools": "^1.0.8",
"@playwright/test": "^1.42.1",
"@types/node": "^20.11.25",
"axe-core": "^4.8.4",
"axe-playwright": "^2.0.1",
"ci-info": "^4.0.0",
"dotenv": "^16.4.5",
"dotenv-expand": "^11.0.6",
"eslint": "^8.57.0",
"eslint-plugin-tailwindcss": "^3.14.3",
"is-ci": "^3.0.1",
"lint-staged": "^15.2.2",
"npm-run-all2": "^6.1.2",
"nuxt": "^3.10.3",
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"schema-dts": "^1.1.2",
"simple-git-hooks": "^2.10.0",
"stylelint": "^16.2.1",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.2",
"vite": "^5.1.5",
"vue-tsc": "^2.0.6"
},
"browserslist": {
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"production": [
">=0.75%",
"not dead",
"not op_mini all"
]
},
"eslintConfig": {
"extends": [
"@acdh-oeaw/eslint-config",
"@acdh-oeaw/eslint-config/strict",
"@acdh-oeaw/eslint-config-vue",
"@acdh-oeaw/eslint-config-nuxt",
"plugin:eslint-plugin-tailwindcss/recommended"
]
},
"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),!./content/**": "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"
}
}