forked from DARIAH-ERIC/dariah-campus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
201 lines (201 loc) · 5.87 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
{
"name": "@dariah-eric/campus",
"private": true,
"license": "MIT",
"type": "module",
"engines": {
"node": "18.x"
},
"scripts": {
"analyze": "BUNDLE_ANALYZER=\"enabled\" next build --no-lint",
"build": "run-s create:favicons cms:styles create:feed create:metadata-dump create:redirects build:app create:search-index create:sitemap",
"build:app": "next build",
"cms:dev": "decap-server",
"cms:styles": "NODE_ENV=\"production\" NODE_OPTIONS=\"-r tsconfig-paths/register\" postcss --config src/cms/previews/postcss.config.cjs node_modules/tailwindcss/tailwind.css src/styles/index.css -d public/assets/css && prettier public/assets/css --write",
"create:favicons": "tsx ./scripts/createFavicons.ts",
"create:feed": "tsx ./scripts/createFeed.ts",
"create:metadata-dump": "tsx ./scripts/dumpMetadata.ts",
"create:redirects": "tsx ./scripts/createRedirects.ts",
"create:search-index": "tsx ./scripts/createSearchIndex.ts",
"create:sitemap": "tsx ./scripts/createSitemap.ts",
"debug": "NODE_OPTIONS=\"--inspect\" next dev",
"dev": "next dev",
"format:check": "prettier . !./content --cache --check",
"format:fix": "pnpm run format:check --write",
"lint:check": "eslint . --cache --ignore-path .gitignore",
"lint:fix": "pnpm run lint:check --fix",
"lint:md:check": "remark . --quiet --ignore-path .gitignore --ignore-pattern README.md",
"lint:md:fix": "pnpm run lint:md:check --output",
"lint:mdx:check": "remark . --use mdx --quiet --ignore-path .gitignore --ignore-pattern \"**/content/templates/**\"",
"lint:mdx:fix": "pnpm run lint:mdx:check --output",
"prepare": "run-s setup",
"setup": "simple-git-hooks || true",
"start": "next start",
"test": "exit 0",
"types:check": "tsc --noEmit",
"validate": "run-s format:check lint:check types:check test"
},
"dependencies": {
"@codemirror/lang-xml": "^6.0.2",
"@codemirror/view": "^6.13.2",
"@react-aria/accordion": "3.0.0-alpha.24",
"@react-aria/utils": "^3.22.0",
"@stefanprobst/next-error-boundary": "^3.0.2",
"@stefanprobst/next-page-metadata": "^2.0.5",
"@stefanprobst/next-svg": "^4.2.1",
"@stefanprobst/rehype-extract-toc": "^2.2.0",
"@stefanprobst/rehype-shiki": "^2.2.1",
"@stefanprobst/remark-resource-links": "^1.0.2",
"algoliasearch": "^4.17.2",
"clsx": "^2.0.0",
"codemirror": "^6.0.1",
"decap-cms-app": "^3.1.1",
"hastscript": "^7.2.0",
"image-size": "^1.0.2",
"next": "^13.4.7",
"nprogress": "^0.2.0",
"react": "^18.2.0",
"react-aria": "^3.30.0",
"react-aria-components": "1.0.0-rc.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-stately": "^3.28.0",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.1.0",
"remark": "^14.0.3",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"remark-mdx": "^2.3.0",
"remark-mdx-frontmatter": "^3.0.0",
"retext": "^8.1.0",
"retext-smartypants": "^5.2.0",
"rosetta": "^1.1.0",
"sharp": "^0.32.1",
"shiki": "^0.14.2",
"strip-indent": "^4.0.0",
"strip-markdown": "^5.0.1",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
"vfile": "^5.3.7",
"vfile-matter": "^4.0.1",
"yaml": "^2.3.1"
},
"devDependencies": {
"@acdh-oeaw/commitlint-config": "^1.0.0",
"@acdh-oeaw/eslint-config": "^1.0.0",
"@acdh-oeaw/eslint-config-next": "^1.0.1",
"@acdh-oeaw/eslint-config-react": "^1.0.0",
"@acdh-oeaw/prettier-config": "^2.0.0",
"@acdh-oeaw/tsconfig": "^1.0.1",
"@commitlint/cli": "^17.6.5",
"@mdx-js/loader": "^2.3.0",
"@mdx-js/mdx": "^2.3.0",
"@next/bundle-analyzer": "^13.4.7",
"@next/eslint-plugin-next": "^13.4.7",
"@next/mdx": "^13.4.7",
"@react-types/accordion": "3.0.0-alpha.18",
"@react-types/shared": "^3.22.0",
"@stefanprobst/favicons": "^2.2.2",
"@stefanprobst/next-feed": "^1.0.0",
"@stefanprobst/next-sitemap": "^1.0.6",
"@stefanprobst/remark-preset": "^2.0.1",
"@tailwindcss/typography": "^0.5.9",
"@types/hast": "^2.3.4",
"@types/mdx": "^2.0.5",
"@types/node": "^18.16.18",
"@types/nprogress": "^0.2.0",
"@types/react": "^18.2.13",
"@types/unist": "^2.0.6",
"autoprefixer": "^10.4.14",
"check-links": "^2.1.2",
"cross-env": "^7.0.3",
"decap-server": "^3.0.2",
"dlv": "^1.1.3",
"eslint": "^8.43.0",
"jest": "^29.5.0",
"lint-staged": "^13.2.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.24",
"postcss-100vh-fix": "^1.0.2",
"postcss-cli": "^10.1.0",
"postcss-import": "^15.1.0",
"prettier": "^3.3.3",
"remark-cli": "^11.0.0",
"simple-git-hooks": "^2.8.1",
"tailwindcss": "^3.3.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^3.12.7",
"typescript": "^5.1.3",
"unified-lint-rule": "^2.1.2",
"xast-util-feed": "^1.2.3",
"xast-util-to-xml": "^3.0.2"
},
"browserslist": [
"defaults",
"not ie 11",
"not op_mini all"
],
"commitlint": {
"extends": "@acdh-oeaw/commitlint-config"
},
"eslintConfig": {
"extends": [
"@acdh-oeaw/eslint-config",
"@acdh-oeaw/eslint-config-react",
"@acdh-oeaw/eslint-config-next"
],
"rules": {
"@next/next/no-img-element": "off"
},
"overrides": [
{
"files": [
"./src/mdx/plugins/**/*.ts",
"./src/pages/**/*.tsx",
"./src/pages/api/**/*.ts"
],
"rules": {
"import/no-default-export": "off"
}
}
]
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"eslint --cache --cache-location .next/cache/eslint/ --fix",
"prettier --cache --write"
],
"*.css": "prettier --cache --write",
"*.!(css|js|ts|tsx),!content": "prettier --cache --ignore-unknown --write"
},
"postcss": {
"plugins": {
"tailwindcss/nesting": {},
"tailwindcss": {},
"postcss-100vh-fix": {},
"autoprefixer": {}
}
},
"prettier": "@acdh-oeaw/prettier-config",
"remarkConfig": {
"plugins": [
"remark-frontmatter",
"remark-gfm",
"@stefanprobst/remark-preset",
[
"./scripts/checkDeadUrls.js",
{
"fields": [
"remote.url"
]
}
]
]
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"volta": {
"node": "18.18.2"
}
}