summaryrefslogtreecommitdiff
path: root/tests/specs/install/alias_pkg_json_and_deno_json_jsr_pkg/verify.ts
blob: 835442322e2713098d9a1781b130c95b304442e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import * as mod from "alias";

const data = JSON.parse(
  Deno.readTextFileSync(
    new URL("./node_modules/alias/package.json", import.meta.url),
  ),
);

// this should just setup the npm package anyway, even though the alias
// will resolve to the jsr package
console.log(data.name);

console.log(mod);