Fix ESM and Commonjs compatibility.

This commit is contained in:
tripodsgames 2021-09-15 11:06:48 -03:00
parent 98c6fc8140
commit 083546305f
No known key found for this signature in database
GPG key ID: 85E21E158266D080

View file

@ -2,8 +2,13 @@
"name": "node-ipc",
"version": "10.1.0",
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",
"type": "module",
"main": "node-ipc.cjs",
"module": "node-ipc.js",
"exports": {
"import": "./node-ipc.js",
"require": "./node-ipc.cjs"
},
"directories": {
"example": "example"
},
@ -61,4 +66,4 @@
"url": "https://github.com/RIAEvangelist/node-ipc/issues"
},
"homepage": "http://riaevangelist.github.io/node-ipc/"
}
}