histoiredunpied/package.json

25 lines
1.1 KiB
JSON

{
"name": "histoiredunpied",
"version": "0.1.0",
"description": "Source code of histoiredunpied.com",
"main": "index.js",
"scripts": {
"start": "hugo server -D",
"serve": "(cd public && python3 -m http.server 8080)",
"build": "rm -rf public && hugo -D --minify && node typo",
"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",
"deploy": "docker-compose up -d --build",
"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'",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Simon <simon@lamelio.fr>",
"license": "GPL-3.0",
"devDependencies": {
"fledermaus": "7.1.0",
"richtypo": "4.0.7",
"richtypo-rules-common": "4.0.2",
"richtypo-rules-fr": "4.0.2"
}
}