rpi_setup/deno.json
2024-03-13 14:46:29 +01:00

21 lines
717 B
JSON

{
"tasks": {
"setup": "deno task setup:prepare && deno task setup:image && deno task setup:flash && deno task setup:clean",
"setup:image": "deno run --allow-net --allow-read=dist --allow-write=dist ./scripts/image.ts",
"setup:prepare": "deno run --allow-read=. --allow-write=dist --env=.env --allow-env=USER_PASSWORD,WIFI_PASSWORD,SSH_KEY ./scripts/prepare.ts",
"setup:flash": "deno run --allow-run=rpi-imager ./scripts/flash.ts",
"setup:clean": "rm -rf ./dist"
},
"fmt": {
"singleQuote": true,
"semiColons": false,
"useTabs": true
},
"imports": {
"@std/fs": "jsr:@std/fs@^0.219.1",
"@std/json": "jsr:@std/json@^0.219.1",
"@zip-js/zip-js": "jsr:@zip-js/zip-js@^2.7.40"
},
"lock": false
}