-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
46 lines (46 loc) · 1.83 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
{
"name": "blog-hugo",
"version": "1.0.0",
"description": "Henrik's blog using static site engine Hugo",
"dependencies": {
"alpinejs": "2.8.2",
"lazysizes": "5.3.2",
"lunr": "2.3.9"
},
"devDependencies": {
"@playwright/test": "^1.47.1",
"@types/node": "^22.9.3",
"prettier": "^3.3.3"
},
"scripts": {
"install:prod": "npm install --only=prod",
"clean": "rm -f static/*.js",
"clean:public": "rm -rf public",
"build": "npm run clean:public && hugo version && hugo --gc --minify && npm run index:prod",
"hugo:watch": "hugo server --config config-dev.toml --bind=0.0.0.0",
"index:prod": "node build/index-search.js public/search-index.json",
"index": "node build/index-search.js static/search-index.json",
"start": "hugo && npm run index && npm run hugo:watch",
"test": "playwright test",
"test:install": "npx playwright install",
"test:install-deps:arch": "sudo pacman -S --needed core/nss core/nspr extra/at-spi2-core extra/libcups extra/libdrm core/dbus extra/libxcb extra/libxkbcommon extra/at-spi2-core extra/libx11 extra/libxcomposite extra/libxdamage extra/libxext extra/libxfixes extra/libxrandr extra/mesa extra/pango extra/cairo extra/alsa-lib extra/xorg-server-xvfb",
"test:open": "playwright test --ui",
"docker:run": "docker compose up",
"docker:test": "docker build --build-arg CACHEBUST=$(date +%s) .",
"upgrade:hugo": "./scripts/upgrade-hugo.sh",
"upgrade:node": "./scripts/upgrade-node.sh",
"upgrade:playwright": "./scripts/upgrade-playwright.sh",
"htmltest": "htmltest --conf .htmltest.yml public",
"new": "bash ./scripts/new-article.sh"
},
"repository": {
"type": "git",
"url": "https://github.com/henriksommerfeld/blog-hugo.git"
},
"keywords": [
"blog",
"hugo"
],
"author": "Henrik Sommerfeld",
"license": "MIT"
}