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
1 changed files with 6 additions and 1 deletions

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"
},