Skip to content

Commit

Permalink
feat: change default file name to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu4k committed Sep 8, 2020
1 parent 5316ae7 commit 6146dec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 31 deletions.
28 changes: 0 additions & 28 deletions denon.config.ts

This file was deleted.

6 changes: 6 additions & 0 deletions scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
scripts:
test:
- "deno fmt --check"
- "deno lint --unstable"
- "deno test --unstable -A"
watch: false
6 changes: 3 additions & 3 deletions src/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface Template {
}

const json: Template = {
filename: "denon.json",
filename: "scripts.json",
source: String.raw`{
"$schema": "https://deno.land/x/denon/schema.json",
"scripts": {
Expand All @@ -23,15 +23,15 @@ const json: Template = {
};

const yaml: Template = {
filename: "denon.yml",
filename: "scripts.yml",
source: String.raw`scripts:
start:
cmd: "deno run app.ts"
desc: "run my app.ts file"`,
};

const typescript: Template = {
filename: "denon.config.ts",
filename: "scripts.config.ts",
source: String.raw`
import { DenonConfig } from "https://deno.land/x/denon@${VERSION}/mod.ts";
Expand Down

0 comments on commit 6146dec

Please sign in to comment.