-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·27 lines (27 loc) · 1.05 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
{
"name": "upisfr.ee",
"version": "6.0.0",
"description": "Senya Pugach's portfolio and CV.",
"main": "index.html",
"repository": {
"type": "git",
"url": "git+https://github.com/upisfree/upisfree.github.io.git"
},
"author": "upisfree",
"bugs": {
"url": "https://github.com/upisfree/upisfree.github.io/issues"
},
"homepage": "https://upisfr.ee",
"scripts": {
"dev": "http-server -c-1",
"thumbnails": "npm run jpg && npm run resize && npm run svg",
"jpg": "mkdir assets/thumbnail-jpg && for i in assets/preview/*.mp4; do ffmpeg -i \"$i\" -ss 00:00:00.000 -vframes 1 \"${i%.*}.jpg\"; done && mv assets/preview/*.jpg assets/thumbnail-jpg",
"resize": "for i in assets/thumbnail-jpg/*.jpg ; do convert -resize 320x180^ -gravity center -extent 320x180 \"$i\" \"${i%.*}.jpg\" ; done",
"svg": "mkdir assets/thumbnail-svg && for i in assets/thumbnail-jpg/*.jpg; do blur-up -i \"$i\" -o assets/thumbnail-svg; done"
},
"devDependencies": {
"http-server": "^14.1.1",
"sharp": "^0.31.0",
"svg-blur-up": "^2.0.1"
}
}