From 8064c0af21ea3cb798b4e26bed2f418a203e5010 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Tue, 29 Nov 2022 21:51:50 -0500 Subject: [PATCH] Maybe this time it works? --- index.js | 3 +++ package.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..cc09b5f --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +import { writeFile } from "node:fs/promises"; + +await writeFile("test.txt", "whatever"); diff --git a/package.json b/package.json index 7288553..6dc3a71 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,9 @@ "description": "Testing npm install/create.", "main": "index.js", "scripts": { - "test": "test", - "create-npm-test": "echo TEST > test.html" + "test": "test" }, + "type": "module", "repository": { "type": "git", "url": "git@git.learnjsthehardway.com:zedshaw/npm-testing.git"