diff --git a/.github/workflows/depsbot.yml b/.github/workflows/depsbot.yml index 386ad3d..705242d 100644 --- a/.github/workflows/depsbot.yml +++ b/.github/workflows/depsbot.yml @@ -19,4 +19,3 @@ jobs: uses: denosaurs/depsbot@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - \ No newline at end of file diff --git a/deno.json b/deno.json index 2a863bb..572b032 100644 --- a/deno.json +++ b/deno.json @@ -1,11 +1,24 @@ { - "name": "@denosaurs/pngs", - "version": "0.2.0", - "exports": "./mod.ts", - "tasks": { - "build": "deno run -A scripts/build.ts", - "fmt": "deno run -A scripts/fmt.ts", - "clean": "deno run -A scripts/clean.ts", - "lint": "deno run -A scripts/lint.ts" - } + "name": "@denosaurs/pngs", + "version": "0.2.0", + "exports": "./mod.ts", + "tasks": { + "build": "deno run -A scripts/build.ts", + "fmt": "deno run -A scripts/fmt.ts", + "clean": "deno run -A scripts/clean.ts", + "lint": "deno run -A scripts/lint.ts" + }, + "lint": { + "exclude": [ + "pkg" + ] + }, + "publish": { + "include": [ + "mod.ts", + "wasm.js", + "README.md", + "LICENSE" + ] + } } diff --git a/examples/basic.ts b/examples/basic.ts index ab31e0e..4921c6d 100644 --- a/examples/basic.ts +++ b/examples/basic.ts @@ -1,6 +1,6 @@ import { decode } from "../mod.ts"; const file = await (await fetch( - "https://avatars.githubusercontent.com/u/65427464?s=49&v=4", + "https://avatars.githubusercontent.com/u/65427464?s=49&v=4", )).bytes(); console.log(decode(file));