-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.2 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
{
"private": true,
"license": "MIT",
"scripts": {
"compile:js": "swc islands --only -d static",
"link": "rsync -va node_modules/@fontsource node_modules/katex node_modules/modern-normalize node_modules/mermaid static && pnpm run link:assets |:",
"link:assets": "mkdir -p static && cp -r assets static || :",
"lint": "stylelint sass",
"build": "pnpm run compile:js && zola-bin build",
"build:local": "pnpm run link && pnpm run compile:js && zola-bin build",
"dist": "rm -rf dist/templates && mkdirp dist/static && pnpm run build && cp -r templates theme.toml config.toml dist && cp -r static/*.js public/*.css dist/static",
"watch": "swc islands --only -d static --watch & zola-bin serve -O -f"
},
"dependencies": {
"@fontsource/inter": "^4.5.15",
"@fontsource/jetbrains-mono": "^4.5.12",
"katex": "^0.16.10",
"mermaid": "^9.4.3",
"modern-normalize": "^1.1.0",
"postcss": "^8.4.31",
"zola-bin": "^0.3.7"
},
"devDependencies": {
"@evilmartians/lefthook": "^1.3.12",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.56",
"chokidar": "^3.5.3",
"mkdirp": "^2.1.6",
"stylelint": "^14.16.1",
"stylelint-config-standard-scss": "^6.1.0"
}
}