-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathpackage.json
23 lines (23 loc) · 1.32 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
{
"name": "metamorphic",
"version": "0.1.0",
"description": "A factory contract for creating metamorphic (i.e. redeployable) contracts.",
"author": "0age",
"license": "MIT",
"dependencies": {
"ethereumjs-util": "^6.0.0",
"ganache-cli": "6.3.0",
"solhint": "^1.4.1",
"truffle": "5.0.4",
"web3": "1.0.0-beta.37"
},
"scripts": {
"all": "./node_modules/.bin/ganache-cli 2>&1 > ganache-output.log & echo 'local chain started.' && ./node_modules/.bin/truffle compile && node scripts/test/ci.js && ./node_modules/.bin/solhint 'contracts/**/*.sol'; kill -9 \"$(ps -ax | grep '[b]in/node ./node_modules/.bin/ganache-cli' | awk '{print $1;}')\" && echo 'local chain stopped.'",
"build": "./node_modules/.bin/truffle compile",
"ci": "./node_modules/.bin/ganache-cli -q & echo 'local chain started.' && ./node_modules/.bin/truffle compile && node scripts/test/ci.js && ./node_modules/.bin/solhint 'contracts/**/*.sol'",
"linter": "./node_modules/.bin/solhint 'contracts/**/*.sol'",
"start": "./node_modules/.bin/ganache-cli 2>&1 > ganache-output.log & echo 'local chain started.'",
"stop": "kill -9 \"$(ps -ax | grep '[b]in/node ./node_modules/.bin/ganache-cli' | awk '{print $1;}')\" && echo 'local chain stopped.'",
"test": "./node_modules/.bin/truffle compile && node scripts/test/ci.js"
}
}