added deno script to generate wallpapers metadata from images

This commit is contained in:
Philippe Loctaux 2023-05-17 22:25:08 +02:00
parent 8338252433
commit 281f0984bb
5 changed files with 76 additions and 6 deletions

View file

@ -3,11 +3,12 @@
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
"dev": "npm run wallpapers && astro dev",
"start": "npm run wallpapers && astro dev",
"build": "npm run wallpapers && astro build",
"preview": "npm run wallpapers && astro preview",
"astro": "astro",
"wallpapers": "deno run --allow-read --allow-net --allow-write utils/wallpapers.ts"
},
"dependencies": {
"@astrojs/tailwind": "^3.1.2",