histoiredunpied/package.json

19 lines
1.1 KiB
JSON
Raw Normal View History

2020-02-11 09:02:51 +01:00
{
"name": "histoiredunpied",
"version": "0.1.0",
"description": "Source code of histoiredunpied.com",
"scripts": {
"start": "hugo server -D",
2020-02-26 17:20:38 +01:00
"serve": "(cd public && python3 -m http.server 8080)",
2020-03-11 14:04:00 +01:00
"build": "rm -rf public && hugo -D --minify && node themes/hugo-theme-lowtech/scripts/typo && purgecss --css public/css/*.css --content public/index.html --output public/css/ && DATE=`date +\"%Y0101\"` && find public -exec touch -d $DATE {} +",
2020-02-14 16:40:46 +01:00
"favicon": "convert static/icon.png -resize 32x32 -colors 16 \\( -clone 0 -resize 16x16 -extent 16x16 \\) \\( -clone 0 -resize 32x32 -extent 32x32 \\) -delete 0 static/favicon.ico",
2020-03-09 11:46:04 +01:00
"svgo": "svgo */**.svg",
2020-02-14 16:40:46 +01:00
"deploy": "docker-compose up -d --build",
2020-02-16 16:44:29 +01:00
"ftp-deploy": "lftp -u $HISTOIREDUNPIED_FTP_USER,$HISTOIREDUNPIED_FTP_PASSWORD $HISTOIREDUNPIED_FTP_HOST -e 'mirror -e -R ./public /www ; quit'",
"ftp-htaccess": "lftp -u $HISTOIREDUNPIED_FTP_USER,$HISTOIREDUNPIED_FTP_PASSWORD $HISTOIREDUNPIED_FTP_HOST -e 'put ./.htaccess ; quit'",
2020-02-11 09:02:51 +01:00
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Simon <simon@lamelio.fr>",
2020-02-27 11:20:14 +01:00
"license": "GPL-3.0"
2020-02-11 09:02:51 +01:00
}