Commit 846b0714 by Matt Condon

feat: remove yarn in favor of npm

parent f79f7b00
...@@ -3,14 +3,15 @@ sudo: required ...@@ -3,14 +3,15 @@ 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 - npm 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";
......
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
"security", "security",
"zeppelin" "zeppelin"
], ],
"engines": {
"node": ">=8.9.1"
},
"author": "Manuel Araoz <manuelaraoz@gmail.com>", "author": "Manuel Araoz <manuelaraoz@gmail.com>",
"license": "MIT", "license": "MIT",
"bugs": { "bugs": {
......
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