I am trying to install the ethereum/web3.js repository directly from GitHub (https://github.com/ethereum/web3.js), but the devDependencies are not being installed (only the dependencies). I have tried the following:
npm install https://github.com/ethereum/web3.js.git
npm install git+https://github.com/ethereum/web3.js.git
npm install ethereum/web3.js
npm install https://github.com/ethereum/web3.js.git --only=dev
npm install git+https://github.com/ethereum/web3.js.git --only=dev
npm install ethereum/web3.js --only=dev
The first 3 commands above will only install the 5 dependencies in the dependencies section of web3.js's package.json file, and the 3 "--only=dev" commands won't install anything.
"dependencies": {
"bignumber.js": "git+https://github.com/frozeman/bignumber.js-
nolookahead.git",
"crypto-js": "^3.1.4",
"utf8": "^2.1.1",
"xhr2": "*",
"xmlhttprequest": "*"
},
When I use the following command, 288 packages are installed:
npm install web3
How do I perform the same installation using the GitHub repository link?