-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 3.89 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
{
"name": "@acdh-oeaw/youbeon-frontend",
"private": true,
"license": "MIT",
"type": "module",
"engines": {
"node": "20.x",
"pnpm": "8.x"
},
"packageManager": "pnpm@8.15.5",
"scripts": {
"build": "vite build",
"dev": "vite --port 3000",
"format:check": "prettier . --cache --check --ignore-path ./.gitignore",
"format:fix": "pnpm run format:check --write",
"generate:db": "tsx ./scripts/generate-db/index.ts",
"generate:favicons": "tsx ./scripts/generate-favicons.ts",
"generate:imprint": "tsx ./scripts/generate-imprint.ts",
"lint:check": "run-p \"lint:*:check\"",
"lint:fix": "run-p \"lint:*:fix\"",
"lint:code:check": "eslint . --cache --ext cjs,js,mjs,ts,tsx,vue --ignore-path ./.gitignore",
"lint:code:fix": "pnpm run lint:code:check --fix",
"lint:styles:check": "stylelint \"**/*.@(css|html|vue)\" --cache --ignore-path ./.gitignore",
"lint:styles:fix": "pnpm run lint:styles:check --fix",
"prepare": "run-s setup \"generate:*\"",
"preview": "vite preview --port 3000",
"setup": "is-ci || simple-git-hooks",
"test": "exit 0",
"types:check": "vue-tsc",
"validate": "run-s format:check lint:check types:check test"
},
"dependencies": {
"@acdh-oeaw/lib": "^0.1.6",
"@fontsource-variable/noto-sans-display": "^5.0.9",
"@headlessui/tailwindcss": "^0.2.0",
"@headlessui/vue": "^1.7.22",
"@heroicons/vue": "^2.0.18",
"@stefanprobst/object": "^1.2.0",
"d3": "^7.8.5",
"force-graph": "^1.43.4",
"leaflet": "^1.9.4",
"nprogress": "^0.2.0",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"devDependencies": {
"@acdh-oeaw/commitlint-config": "^1.0.0",
"@acdh-oeaw/eslint-config": "^1.0.2",
"@acdh-oeaw/eslint-config-vue": "^1.0.3",
"@acdh-oeaw/prettier-config": "^1.0.1",
"@acdh-oeaw/stylelint-config": "^1.0.5",
"@acdh-oeaw/tsconfig": "^1.0.1",
"@commitlint/cli": "^17.7.1",
"@stefanprobst/favicons": "^2.2.2",
"@types/d3": "^7.4.0",
"@types/leaflet": "^1.9.4",
"@types/node": "^18.17.14",
"@types/nprogress": "^0.2.0",
"@types/serialize-javascript": "^5.0.2",
"@vitejs/plugin-vue": "^4.3.4",
"autoprefixer": "^10.4.15",
"dotenv": "^16.3.1",
"eslint": "^8.48.0",
"eslint-plugin-tailwindcss": "^3.13.0",
"is-ci": "^3.0.1",
"lint-staged": "^14.0.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.29",
"postcss-custom-media": "^10.0.0",
"postcss-nesting": "^12.0.1",
"prettier": "^3.0.3",
"serialize-javascript": "^6.0.1",
"simple-git-hooks": "^2.9.0",
"stylelint": "^15.10.3",
"tailwindcss": "^3.3.3",
"tsx": "^3.12.10",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-imagetools": "^5.0.8",
"vue-tsc": "1.8.11",
"xlsx": "^0.18.5"
},
"pnpm": {
"patchedDependencies": {
"force-graph@1.43.4": "patches/force-graph@1.43.2.patch"
}
},
"browserslist": {
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"production": [
">=0.75%",
"not dead",
"not op_mini all"
]
},
"commitlint": {
"extends": "@acdh-oeaw/commitlint-config"
},
"eslintConfig": {
"extends": [
"@acdh-oeaw/eslint-config",
"@acdh-oeaw/eslint-config-vue",
"plugin:eslint-plugin-tailwindcss/recommended"
]
},
"lint-staged": {
"*.@(cjs|js|mjs|ts|tsx)": [
"eslint --cache --fix",
"prettier --cache --write"
],
"*.@(css|html)": [
"stylelint --cache --fix",
"prettier --cache --write"
],
"*.vue": [
"eslint --cache --fix",
"stylelint --cache --fix",
"prettier --cache --write"
],
"*.!(cjs|css|html|js|mjs|ts|tsx|vue)": "prettier --cache --ignore-unknown --write"
},
"postcss": {
"plugins": {
"postcss-custom-media": {},
"tailwindcss/nesting": {},
"tailwindcss": {},
"autoprefixer": {}
}
},
"prettier": "@acdh-oeaw/prettier-config",
"simple-git-hooks": {
"commit-msg": "pnpm exec commitlint --edit",
"pre-commit": "pnpm exec lint-staged",
"pre-push": "pnpm run validate"
},
"stylelint": {
"extends": "@acdh-oeaw/stylelint-config"
}
}