package.json: use file extensions

for esmodules compatibility
This commit is contained in:
Ryan Ghods 2022-01-20 14:50:25 -08:00 committed by GitHub
parent 0d509b2f91
commit 3093cbddca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,8 +7,8 @@
"bin": {
"crc32": "./bin/crc32.njs"
},
"main": "./crc32",
"types": "types",
"main": "./crc32.js",
"types": "./types/index.d.ts",
"dependencies": {
"printj": "~1.1.0",
"exit-on-epipe": "~1.0.1"