Fixed deprecated prepublish script.

This commit is contained in:
tripodsgames 2021-09-14 21:31:03 -03:00
parent dfc8554352
commit 144178f021
No known key found for this signature in database
GPG Key ID: 85E21E158266D080
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
"vanilla-test": "^1.4.8" "vanilla-test": "^1.4.8"
}, },
"scripts": { "scripts": {
"prepublish": "esbuild node-ipc.js --bundle --format=cjs --target=es2018 --platform=node --outfile=node-ipc.cjs", "prepare": "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", "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/" "coverage": "echo 'See your coverage report at http://localhost:8080' && node-http-server port=8080 root=./coverage/"
}, },
@ -61,4 +61,4 @@
"url": "https://github.com/RIAEvangelist/node-ipc/issues" "url": "https://github.com/RIAEvangelist/node-ipc/issues"
}, },
"homepage": "http://riaevangelist.github.io/node-ipc/" "homepage": "http://riaevangelist.github.io/node-ipc/"
} }