Set target to cjs.
This commit is contained in:
parent
ad4a033888
commit
de80f537ef
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
"vanilla-test": "^1.4.8"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublish": "esbuild node-ipc.js --bundle --target=es2018 --platform=node --outfile=node-ipc.cjs",
|
||||
"prepublish": "esbuild node-ipc.js --bundle --format=cjs --target=es2018 --platform=node --outfile=node-ipc.cjs",
|
||||
"test": "npm i && c8 -r lcov -r html node test/CI.js && c8 report && node ./lcov.js",
|
||||
"coverage": "echo 'See your coverage report at http://localhost:8080' && node-http-server port=8080 root=./coverage/"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue