File tree Expand file tree Collapse file tree 5 files changed +985
-726
lines changed Expand file tree Collapse file tree 5 files changed +985
-726
lines changed Original file line number Diff line number Diff line change
1
+ node_modules
2
+ npm-debug.log
3
+ .node-xmlhttprequest-sync- [0-9 ]*
4
+ coverage
5
+ coverage.json
6
+ allFiredEvents
7
+ scTopics
8
+ package-lock.json
9
+ contracts
10
+ ! build /contracts
11
+ migrations
12
+ scripts
13
+ test
14
+ .solcover.js
15
+ .eslintrc.js
16
+ .travis.yml
17
+ truffle-config.js
Original file line number Diff line number Diff line change @@ -15,3 +15,14 @@ matrix:
15
15
- env : SOLIDITY_COVERAGE=true
16
16
script :
17
17
- ./scripts/ci.sh
18
+ before_deploy : npm run buildfornpm
19
+ deploy :
20
+ provider : npm
21
+
22
+ skip_cleanup : true
23
+ api_key : $NPM_TOKEN
24
+ on :
25
+ branch : master
26
+ tags : true
27
+
28
+
Original file line number Diff line number Diff line change
1
+ const LifChannelsContract = require ( './build/contracts/LifChannels.json' ) ;
2
+ const LifCrowdsaleContract = require ( './build/contracts/LifCrowdsale.json' ) ;
3
+ const LifMarketValidationMechanismContract = require ( './build/contracts/LifMarketValidationMechanism.json' ) ;
4
+ const LifTokenContract = require ( './build/contracts/LifToken.json' ) ;
5
+ const VestedPaymentContract = require ( './build/contracts/VestedPayment.json' ) ;
6
+
7
+ module . exports = {
8
+ LifChannelsContract : LifChannelsContract ,
9
+ LifCrowdsaleContract : LifCrowdsaleContract ,
10
+ LifMarketValidationMechanismContract : LifMarketValidationMechanismContract ,
11
+ LifTokenContract : LifTokenContract ,
12
+ VestedPaymentContract : VestedPaymentContract ,
13
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " lif-token" ,
2
+ "name" : " @windingtree/ lif-token" ,
3
3
"version" : " 0.1.0" ,
4
4
"description" : " Winding Tree Platform Token" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " scripts/test.sh" ,
8
8
"coverage" : " scripts/coverage.sh" ,
9
9
"coveralls" : " scripts/coveralls.sh" ,
10
- "lint" : " eslint test"
10
+ "lint" : " eslint test" ,
11
+ "clean" : " rimraf build" ,
12
+ "buildfornpm" : " npm run clean && truffle compile"
11
13
},
12
14
"repository" : {
13
15
"type" : " git" ,
26
28
"ethereumjs-abi" : " ^0.6.4" ,
27
29
"jsverify" : " ^0.8.2" ,
28
30
"lodash" : " ^4.17.4" ,
31
+ "rimraf" : " ^2.6.2" ,
29
32
"truffle-hdwallet-provider" : " 0.0.3" ,
30
33
"zeppelin-solidity" : " ^1.6.0"
31
34
},
You can’t perform that action at this time.
0 commit comments