forked from kent7301/smart-contract-structure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 2.39 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "smart-contracts",
"version": "0.1.0",
"description": "Smart contracts for the Brickblock platform",
"author": "Marius Hanne <marius@brickblock.io>",
"contributors": [
"Adrian Kizlauskas <adrian@brickblock.io>",
"Cody Lamson <cody@brickblock.io>",
"Matthew Stevens <mattgstevens@brickblock.io>",
"Philip Paetz <philip@brickblock.io>"
],
"license": "MIT",
"scripts": {
"---SECTION:BLOCKCHAIN---": "-------------------- HOW TO START A LOCAL BLOCKCHAIN --------------------",
"start:dev:testrpc:comment": "no need for '--deterministic' see update: https://github.com/trufflesuite/truffle/releases",
"start": "truffle develop",
"---SECTION:BUILD---": "-------------------- HOW TO BUILD THE SMART CONTRACTS --------------------",
"build:comment": "Compile smart contracts and output into the build/ dir",
"build": "truffle compile",
"---SECTION:CLEAN---": "-------------------- HOW TO CLEAN OLD BUILD OUTPUT --------------------",
"clean:comment": "Clean up old contracts and build files",
"clean:contracts": "rimraf build/contracts",
"clean:install:comment": "In case there are some dependency issues, a clean install often helps",
"clean:install": "rimraf node_modules && yarn install",
"---SECTION:MIGRATE---": "-------------------- HOW TO MIGRATE AND SYNC THE SMART CONTRACTS --------------------",
"migrate:comment": "Compile smart contracts and output into the build/ dir then deploys our smart contracts to the some network",
"migrate:dev": "truffle migrate --network dev --reset",
"migrate:prod:local": "truffle migrate --network prod",
"migrate:ropsten": "cross-env NODE_ENV=production truffle migrate --network ropsten",
"---SECTION:LINT---": "-------------------- HOW TO LINT THE SMART CONTRACTS --------------------",
"lint": "solium --dir ./contracts",
"---SECTION:TEST---": "-------------------- HOW TO TEST THE SMART CONTRACTS --------------------",
"test": "truffle test"
},
"devDependencies": {
"bignumber.js": "^4.1.0",
"chai": "^4.1.1",
"concurrently": "^3.5.0",
"cross-env": "^5.1.1",
"ethereumjs-testrpc": "^6.0.1",
"left-pad": "^1.1.3",
"prettier": "^1.8.2",
"rimraf": "^2.6.2",
"solium": "^1.0.4",
"truffle": "^4.0.1",
"truffle-contract": "^3.0.1",
"truffle-hdwallet-provider": "^0.0.3",
"web3": "^0.18.4",
"zeppelin-solidity": "^1.3.0"
}
}