-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
62 lines (62 loc) · 2.1 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
{
"name": "identity-com-smart-contracts",
"version": "1.0.0",
"description": "Smart Contracts for Identity.com",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
"ganache-up": "docker-compose up -d",
"ganache-restart": "docker-compose restart",
"ganache-down": "docker-compose down",
"build": "truffle compile && cross-env NETWORK=ganache npm run deploy-contracts",
"test": "npm-run-all ganache-up test-contracts ganache-down --continue-on-error",
"test-contracts": "cross-env NODE_ENV=test truffle test --network ganache",
"lint": "npm run solium",
"solium": "solium -d contracts/",
"solium-autofix": "solium -d contracts/ --fix",
"predeploy-contracts": "mkdir -p ./build/contracts && find ./artifacts/deployed/ -name \\*.json -exec cp {} ./build/contracts/ \\;",
"deploy-contracts": "cross-env ACCOUNT_PASSWORD=privatenet123 NODE_ENV=test truffle migrate --network ${NETWORK}",
"check": "npm-run-all test lint",
"check-ci": "npm-run-all test-contracts lint",
"audit-ci": "audit-ci --config audit-ci.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/identity-com/smart-contracts.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/identity-com/smart-contracts/issues"
},
"homepage": "https://github.com/identity-com/smart-contracts#readme",
"dependencies": {
"babel-register": "^6.26.0",
"bignumber.js": "^4.0.4",
"ethereumjs-tx": "^1.3.3",
"lodash": "^4.17.4",
"openzeppelin-solidity": "1.10.0",
"truffle": "^4.1.11",
"truffle-artifactor": "^3.0.8",
"truffle-contract": "^3.0.7",
"web3": "^0.20.6"
},
"devDependencies": {
"audit-ci": "^1.3.0",
"babel-eslint": "^8.2.1",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-bignumber": "^2.0.2",
"cross-env": "^5.1.3",
"eth-gas-reporter": "^0.1.1",
"ethereumjs-abi": "^0.6.5",
"ethereumjs-util": "^5.1.2",
"mocha": "^4.1.0",
"npm-run-all": "^4.1.5",
"solc": "^0.4.23",
"solium": "^1.2.3",
"solium-plugin-zeppelin": "0.0.2"
}
}