Skip to content

Commit cc40246

Browse files
committed
Add deno.json
1 parent d6068e9 commit cc40246

File tree

6 files changed

+27
-13
lines changed

6 files changed

+27
-13
lines changed

crates/wasm/examples/decrypt.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
//
55
// SPDX-License-Identifier: Apache-2.0 OR MIT
66

7-
import { abcrypt, cli, command, io } from "./deps.ts";
7+
import * as cli from "@std/cli";
8+
import * as io from "@std/io";
9+
10+
import * as command from "@cliffy/command";
11+
12+
import * as abcrypt from "../pkg/abcrypt_wasm.js";
813

914
import { VERSION } from "./version.ts";
1015

crates/wasm/examples/deps.ts

-10
This file was deleted.

crates/wasm/examples/encrypt.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
//
55
// SPDX-License-Identifier: Apache-2.0 OR MIT
66

7-
import { abcrypt, cli, command } from "./deps.ts";
7+
import * as cli from "@std/cli";
8+
9+
import * as command from "@cliffy/command";
10+
11+
import * as abcrypt from "../pkg/abcrypt_wasm.js";
812

913
import { VERSION } from "./version.ts";
1014

crates/wasm/examples/info.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
//
55
// SPDX-License-Identifier: Apache-2.0 OR MIT
66

7-
import { abcrypt, command, io } from "./deps.ts";
7+
import * as io from "@std/io";
8+
9+
import * as command from "@cliffy/command";
10+
11+
import * as abcrypt from "../pkg/abcrypt_wasm.js";
812

913
import { VERSION } from "./version.ts";
1014

deno.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"imports": {
3+
"@cliffy/command": "jsr:@cliffy/[email protected]",
4+
"@std/cli": "jsr:@std/cli@^0.224.6",
5+
"@std/io": "jsr:@std/io@^0.224.1"
6+
},
7+
"lock": false
8+
}

deno.json.license

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2024 Shun Sakai
2+
3+
SPDX-License-Identifier: Apache-2.0 OR MIT

0 commit comments

Comments
 (0)