Browse Source

feat: remove yarn in favor of npm

Matt Condon 1 year ago
parent
commit
846b0714ad
7 changed files with 948 additions and 4409 deletions
  1. 1 0
      .node-version
  2. 5 4
      .travis.yml
  3. 0 3
      README.md
  4. 0 4
      docs/source/getting-started.rst
  5. 939 34
      package-lock.json
  6. 3 0
      package.json
  7. 0 4364
      yarn.lock

+ 1 - 0
.node-version

@@ -0,0 +1 @@
+v8.9.1

+ 5 - 4
.travis.yml

@@ -3,14 +3,15 @@ sudo: required
 group: beta
 language: node_js
 node_js:
-  - "6"
+  - "8"
 cache:
-  yarn: true
+  directories:
+    - node_modules
 before_script:
   - truffle version
-  - yarn list
+  - npm list
 script:
-  - yarn test
+  - npm test
 notifications:
   slack:
     rooms:

+ 0 - 3
README.md

@@ -25,9 +25,6 @@ To install the OpenZeppelin library, run:
 ```sh
 npm init
 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:

+ 0 - 4
docs/source/getting-started.rst

@@ -12,10 +12,6 @@ To install the OpenZeppelin library, run::
 	npm init # follow instructions
 	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::
 
 	import "zeppelin-solidity/contracts/ownership/Ownable.sol";

File diff suppressed because it is too large
+ 939 - 34
package-lock.json


+ 3 - 0
package.json

@@ -19,6 +19,9 @@
     "security",
     "zeppelin"
   ],
+  "engines": {
+    "node": ">=8.9.1"
+  },
   "author": "Manuel Araoz <[email protected]>",
   "license": "MIT",
   "bugs": {

File diff suppressed because it is too large
+ 0 - 4364
yarn.lock