Fix Node.js postinstall
This commit is contained in:
parent
a246e72b4e
commit
e63fc8d27f
|
@ -32,9 +32,11 @@
|
||||||
"node": ">= 8.6.0"
|
"node": ">= 8.6.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/wilsonzlin/minify-html#readme",
|
"homepage": "https://github.com/wilsonzlin/minify-html#readme",
|
||||||
|
"dependencies": {
|
||||||
|
"cargo-cp-artifact": "^0.1"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^14.6.0",
|
"@types/node": "^14.6.0",
|
||||||
"cargo-cp-artifact": "^0.1",
|
|
||||||
"shx": "^0.3.4"
|
"shx": "^0.3.4"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
@ -46,7 +46,7 @@ const downloadNativeBinary = async () => {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.writeFileSync(binaryPath, zlib.gunzipSync(binary));
|
fs.writeFileSync(binaryPath, binary);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue