This repository was archived by the owner on Jan 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-13
lines changed Expand file tree Collapse file tree 3 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,20 @@ PLEASE NOTE that these contracts have not been extensively audited yet and are n
13
13
14
14
## Install and run the unit tests
15
15
16
- 1 . Run npm install
16
+ 1 . Run yarn install
17
17
```
18
- npm install
18
+ yarn install
19
19
```
20
20
21
21
2 . Install [ truffle] ( http://truffleframework.com/ ) and [ test-rpc] ( https://github.com/ethereumjs/testrpc ) globally
22
22
```
23
- npm i -g ethereumjs-testrpc
24
- npm install -g truffle
23
+ yarn global add ethereumjs-testrpc
24
+ yarn global add truffle
25
25
```
26
26
27
27
3 . Run unit tests
28
28
```
29
- truffle compile
30
- truffle test
29
+ yarn run test
31
30
```
32
31
33
32
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " set-protocol-contracts" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 0.2 .0" ,
4
4
"description" : " " ,
5
5
"main" : " truffle.js" ,
6
6
"directories" : {
7
7
"test" : " test"
8
8
},
9
9
"scripts" : {
10
10
"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" ,
12
12
"transpile" : " tsc" ,
13
13
"generate-typings" : " abi-gen --abis './build/contracts/*.json' --out './types/generated' --template './types/contract_templates/contract.mustache' --partials './types/contract_templates/partials/*.mustache'" ,
14
14
"lint-ts" : " tslint --fix test/*.ts" ,
15
15
"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"
17
17
},
18
18
"author" : " " ,
19
19
"license" : " ISC" ,
Original file line number Diff line number Diff line change @@ -1344,8 +1344,8 @@ convert-source-map@^1.5.0:
1344
1344
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5"
1345
1345
1346
1346
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 "
1349
1349
1350
1350
[email protected] , core-util-is@~1.0.0:
1351
1351
version "1.0.2"
@@ -2891,8 +2891,8 @@ lcid@^1.0.0:
2891
2891
invert-kv "^1.0.0"
2892
2892
2893
2893
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 "
2896
2896
2897
2897
levn@^0.3.0, levn@~0.3.0 :
2898
2898
version "0.3.0"
You can’t perform that action at this time.
0 commit comments