Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 695801a

Browse files
committed
Update yarn scripts, README, and package-json versioning
1 parent cc84460 commit 695801a

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,20 @@ PLEASE NOTE that these contracts have not been extensively audited yet and are n
1313

1414
## Install and run the unit tests
1515

16-
1. Run npm install
16+
1. Run yarn install
1717
```
18-
npm install
18+
yarn install
1919
```
2020

2121
2. Install [truffle](http://truffleframework.com/) and [test-rpc](https://github.com/ethereumjs/testrpc) globally
2222
```
23-
npm i -g ethereumjs-testrpc
24-
npm install -g truffle
23+
yarn global add ethereumjs-testrpc
24+
yarn global add truffle
2525
```
2626

2727
3. Run unit tests
2828
```
29-
truffle compile
30-
truffle test
29+
yarn run test
3130
```
3231

3332

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"name": "set-protocol-contracts",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "",
55
"main": "truffle.js",
66
"directories": {
77
"test": "test"
88
},
99
"scripts": {
1010
"clean": "rm -rf build",
11-
"test": "truffle compile --all && npm run generate-typings && npm run transpile && truffle test transpiled/test/*.js",
11+
"test": "truffle compile --all && yarn run generate-typings && yarn run transpile && truffle test transpiled/test/*.js",
1212
"transpile": "tsc",
1313
"generate-typings": "abi-gen --abis './build/contracts/*.json' --out './types/generated' --template './types/contract_templates/contract.mustache' --partials './types/contract_templates/partials/*.mustache'",
1414
"lint-ts": "tslint --fix test/*.ts",
1515
"lint-sol": "solhint contracts/*.sol",
16-
"lint": "npm run lint-sol && npm run lint-ts"
16+
"lint": "yarn run lint-sol && yarn run lint-ts"
1717
},
1818
"author": "",
1919
"license": "ISC",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,8 +1344,8 @@ convert-source-map@^1.5.0:
13441344
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5"
13451345

13461346
core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0:
1347-
version "2.5.4"
1348-
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.4.tgz#f2c8bf181f2a80b92f360121429ce63a2f0aeae0"
1347+
version "2.5.5"
1348+
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.5.tgz#b14dde936c640c0579a6b50cabcc132dd6127e3b"
13491349

13501350
[email protected], core-util-is@~1.0.0:
13511351
version "1.0.2"
@@ -2891,8 +2891,8 @@ lcid@^1.0.0:
28912891
invert-kv "^1.0.0"
28922892

28932893
left-pad@^1.1.1:
2894-
version "1.2.0"
2895-
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee"
2894+
version "1.3.0"
2895+
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e"
28962896

28972897
levn@^0.3.0, levn@~0.3.0:
28982898
version "0.3.0"

0 commit comments

Comments
 (0)