-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
78 lines (78 loc) · 2.64 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "atonomi-smart-contracts",
"version": "0.1.0",
"license": "MIT",
"main": "lib/index.js",
"files": [
"build",
"lib",
"src"
],
"dependencies": {
"csv-writer": "^1.0.0",
"moment": "^2.22.2",
"sha3": "^1.2.2",
"truffle-blockchain-utils": "^0.0.3",
"truffle-core": "^4.1.11",
"truffle-hdwallet-provider": "^0.0.3",
"zeppelin-solidity": "1.9.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"chai-bignumber": "^2.0.2",
"coveralls": "^3.0.1",
"cross-env": "^5.1.6",
"ethjs-abi": "^0.2.1",
"ganache-cli": "^6.1.0",
"lk-test-helpers": "^0.1.4",
"snazzy": "^7.1.1",
"solhint": "git+https://github.com/protofire/solhint.git",
"solidity-coverage": "^0.5.4",
"standard": "^10.0.3",
"truffle": "^4.1.11",
"truffle-contract": "^3.0.5",
"truffle-ext": "0.1.8",
"truffle-flattener": "^1.2.5",
"web3-utils": "^1.0.0-beta.34"
},
"scripts": {
"compile": "truffle compile --all",
"ganache-cli": "ganache-cli -p 8546 -e 1000 -a 15 -l 990000000000000",
"deploy": "truffle migrate --reset",
"deploy:web": "truffle migrate --reset --network web && cp -rf ./build/. ../admin-portal/build/",
"deploy:reputation": "truffle migrate --reset --network reputation && cp -f ./build/contracts/Atonomi.json ../reputation-server-api/AtonomiGanache.json",
"copy-contracts": "rm -rf ./released-abi/contracts && cp -rf ./build/. ./released-abi/",
"test": "(npm run compile) && (ganache-cli -p 8546 -e 1000 -a 15 > /dev/null & truffle test) && (kill -9 $(lsof -ti :8546))",
"test:single": "(npm run compile) && (ganache-cli -p 8546 -e 1000 -a 15 > /dev/null & truffle test $TESTFILE) && (kill -9 $(lsof -ti :8546))",
"test:coverage": "(npm run compile) && touch allFiredEvents && (SOLIDITY_COVERAGE=true solidity-coverage)",
"lint": "npm run lint:js && npm run lint:sol",
"lint:sol": "solhint contracts/*.sol contracts/**/*.sol",
"lint:js": "standard --verbose | snazzy",
"etherscan:NetworkSettings": "truffle-flattener contracts/NetworkSettings.sol",
"etherscan:Atonomi": "truffle-flattener contracts/Atonomi.sol"
},
"standard": {
"ignore": [
"deploy/scripts/*.js"
],
"globals": [
"web3",
"artifacts",
"describe",
"it",
"beforeEach",
"contract",
"_",
"before",
"expect",
"assert"
]
}
}