@remix-project/remixd
Advanced tools
Comparing version 0.6.2 to 0.6.3
{ | ||
"name": "@remix-project/remixd", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)", | ||
@@ -16,3 +16,4 @@ "main": "index.js", | ||
"build": "tsc -p ./ && chmod +x ./src/bin/remixd.js", | ||
"dev": "nodemon" | ||
"dev": "nodemon", | ||
"postinstall": "node src/scripts/installSlither.js" | ||
}, | ||
@@ -19,0 +20,0 @@ "publishConfig": { |
@@ -65,2 +65,3 @@ #!/usr/bin/env node | ||
.option('-s, --shared-folder <path>', 'Folder to share with Remix IDE (Default: CWD)') | ||
.option('-i, --install <name>', 'Module name to install locally (Supported: ["slither"])') | ||
.option('-r, --read-only', 'Treat shared folder as read-only (experimental)') | ||
@@ -72,2 +73,7 @@ .on('--help', function () { | ||
yield warnLatestVersion(); | ||
if (program.install && !program.readOnly) { | ||
if (program.install.toLowerCase() === 'slither') | ||
require('./../scripts/installSlither'); | ||
process.exit(0); | ||
} | ||
if (!program.remixIde) { | ||
@@ -74,0 +80,0 @@ console.log('\x1b[33m%s\x1b[0m', '[WARN] You can only connect to remixd from one of the supported origins.'); |
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
91163
39
1239
1
6