Unverified Commit 1cef36b5 by Francisco Giordano Committed by GitHub

Merge pull request #585 from Shrugs/feat/only-npm

feat: remove yarn in favor of npm
parents f79f7b00 c95be493
...@@ -3,14 +3,14 @@ sudo: required ...@@ -3,14 +3,14 @@ sudo: required
group: beta group: beta
language: node_js language: node_js
node_js: node_js:
- "6" - "8"
cache: cache:
yarn: true directories:
- node_modules
before_script: before_script:
- truffle version - truffle version
- yarn list
script: script:
- yarn test - npm test
notifications: notifications:
slack: slack:
rooms: rooms:
......
...@@ -25,9 +25,6 @@ To install the OpenZeppelin library, run: ...@@ -25,9 +25,6 @@ To install the OpenZeppelin library, run:
```sh ```sh
npm init npm init
npm install zeppelin-solidity npm install zeppelin-solidity
# If you are using yarn, add dependency like this -
yarn add zeppelin-solidity
``` ```
After that, you'll get all the library's contracts in the `node_modules/zeppelin-solidity/contracts` folder. You can use the contracts in the library like so: After that, you'll get all the library's contracts in the `node_modules/zeppelin-solidity/contracts` folder. You can use the contracts in the library like so:
......
...@@ -12,10 +12,6 @@ To install the OpenZeppelin library, run:: ...@@ -12,10 +12,6 @@ To install the OpenZeppelin library, run::
npm init # follow instructions npm init # follow instructions
npm install zeppelin-solidity npm install zeppelin-solidity
# If you are using yarn, add dependency like this -
yarn add zeppelin-solidity
After that, you'll get all the library's contracts in the `node_modules/zeppelin-solidity/contracts` folder. You can use the contracts in the library like so:: After that, you'll get all the library's contracts in the `node_modules/zeppelin-solidity/contracts` folder. You can use the contracts in the library like so::
import "zeppelin-solidity/contracts/ownership/Ownable.sol"; import "zeppelin-solidity/contracts/ownership/Ownable.sol";
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment