-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
50 lines (50 loc) · 2.62 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
{
"name": "hail2u.net",
"version": "9.33.6",
"description": "The source files of Hail2u (https://hail2u.net/) website",
"homepage": "https://hail2u.net/",
"bugs": {
"url": "https://github.com/hail2u/hail2u.net/issues"
},
"license": "UNLICENSED",
"author": "Kyo Nagashima <[email protected]> (https://hail2u.net/)",
"repository": {
"type": "git",
"url": "https://github.com/hail2u/hail2u.net.git"
},
"scripts": {
"prearticle": "git switch main",
"article": "node bin/article.js",
"postarticle": "node bin/feed.js && node bin/html.js --latest && node bin/html-validator.js --latest && cd dist/ && git add --all && git diff --cached --exit-code --quiet || git commit --message Build && git push origin gh-pages && cd - && git switch -",
"prebook": "git switch main",
"book": "node bin/book.js",
"postbook": "node bin/feed.js && node bin/html.js && cd dist/ && git add --all && git diff --cached --exit-code --quiet || git commit --message Build && git push origin gh-pages && cd - && git switch -",
"draft": "node bin/draft.js",
"prelink": "git switch main",
"link": "node bin/link.js",
"postlink": "node bin/feed.js && node bin/html.js && cd dist/ && git add --all && git diff --cached --exit-code --quiet || git commit --message Build && git push origin gh-pages && cd - && git switch -",
"start": "serve dist/",
"prestatus": "git switch main",
"status": "node bin/status.js",
"poststatus": "node bin/feed.js && node bin/html.js && cd dist/ && git add --all && git diff --cached --exit-code --quiet || git commit --message Build && git push origin gh-pages && cd - && git switch -",
"test": "prettier --check --log-level warn . && stylelint static/css/ && eslint *.js bin/ static/js/",
"preversion": "git switch upnext && npm test && npm audit && npm ci && git rebase main && git switch main && git merge --ff-only upnext",
"version": "node bin/feed.js && node bin/html.js --all && node bin/html-validator.js && node bin/icon.js && node bin/static.js",
"postversion": "git push origin main --tags && git switch upnext && git rebase main",
"prewebsite": "git switch main",
"website": "node bin/website.js",
"postwebsite": "node bin/html.js && cd dist/ && git add --all && git diff --cached --exit-code --quiet || git commit --message Build && git push origin gh-pages && cd - && git switch -"
},
"devDependencies": {
"@fiahfy/ico": "0.0.5",
"eslint": "9.14.0",
"globals": "15.9.0",
"mustache": "4.2.0",
"prettier": "3.2.5",
"serve": "14.2.4",
"sharp": "0.33.5",
"stylelint": "16.4.0"
},
"private": true,
"type": "module"
}