Fix ESM and Commonjs compatibility.
This commit is contained in:
parent
98c6fc8140
commit
083546305f
1 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue