forked from henriksommerfeld/blog-hugo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.35 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
{
"name": "blog-hugo",
"version": "1.0.0",
"description": "Henrik's blog using static site engine Hugo",
"dependencies": {
"alpinejs": "2.7.0",
"lazysizes": "5.2.2",
"lunr": "2.3.9",
"shx": "^0.3.2"
},
"resolutions": {
"cypress": "5.1.0"
},
"devDependencies": {
"@testing-library/cypress": "7.0.0",
"cypress": "5.1.0",
"cypress-plugin-tab": "^1.0.5",
"start-server-and-test": "1.11.3"
},
"scripts": {
"install:prod": "yarn install --production",
"clean": "shx rm -f static/*.js",
"clean:public": "shx 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",
"cypress:cli": "cypress run",
"cypress:open": "cypress open",
"test": "start-server-and-test http://localhost:1313 cypress:cli",
"test:open": "start-server-and-test http://localhost:1313 cypress:open"
},
"repository": {
"type": "git",
"url": "https://github.com/henriksommerfeld/blog-hugo.git"
},
"keywords": [
"blog",
"hugo"
],
"author": "Henrik Sommerfeld",
"license": "MIT"
}