jurassiscripts / velociraptor

The npm-style script runner for Deno

Home Page:https://velociraptor.run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend the script configuration schema

umbopepato opened this issue · comments

Add the install and dependencies top-level sections:

interface InstallOptions extends Omit<DenoCliOptions, 'watch'> {
  entry: string;
  name?: string;
  location?: string;
  prompt?: boolean;
  seed?: number;
}

export interface ScriptsConfiguration extends ScriptOptions {
  scripts: Scripts;
  install: InstallOptions;
  dependencies: Record<string, string | InstallOptions>;
}