-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.82 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
79
80
81
82
83
84
85
86
87
88
{
"name": "@sygnum/solidity-edge-dchf-contracts",
"version": "1.0.2",
"description": "Solidity DCHF contracts used across the Sygnum platform.",
"keywords": [
"solidity",
"ethereum",
"smart",
"contracts",
"security",
"sygnum"
],
"repository": {
"type": "git",
"url": "[email protected]:sygnum/blockchain-engineering/ethereum/solidity-edge-contracts/solidity-edge-dchf-contracts.git"
},
"license": "MIT",
"author": "Sygnum Bank AG - Blockchain Engineering <[email protected]>",
"main": "index.js",
"scripts": {
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:solhint",
"lint:eslint": "npx eslint 'test/**/*.js' 'config/**/*.js' truffle-config.js index.js",
"lint:eslint:fix": "npm run lint:eslint -- --fix",
"lint:fix": "npm run lint:prettier:fix && npm run lint:eslint:fix && npm run lint:solhint:fix",
"lint:prettier": "npx prettier --check 'contracts/**/*.sol' 'config/**/*.js' 'migrations/**/*.js' 'test/**/*.js'",
"lint:prettier:fix": "npx prettier --write 'contracts/**/*.sol' 'config/**/*.js' 'migrations/**/*.js' 'test/**/*.js'",
"lint:solhint": "npx solhint -w 0 'contracts/**/*.sol'",
"lint:solhint:fix": "npm run lint:solhint -- --fix",
"test": "npx concurrently --success \"first\" --kill-others \"ganache-cli -q -a 20 -e 1000\" \"truffle test\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npx eslint --fix"
],
"contracts/**/*.sol": [
"npx solhint --fix -w 0",
"npx prettier --write"
],
"package.json": [
"npx sort-package-json"
]
},
"dependencies": {
"@sygnum/solidity-base-contracts": "1.0.2",
"@truffle/contract": "4.1.11",
"openzeppelin-solidity": "2.5.0",
"zos-lib": "2.4.3"
},
"devDependencies": {
"@openzeppelin/test-helpers": "0.5.6",
"@openzeppelin/upgrades": "2.8.0",
"@truffle/hdwallet-provider": "1.0.38",
"chai": "4.2.0",
"concurrently": "^5.3.0",
"dotenv": "8.2.0",
"eslint": "^7.14.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.2.0",
"eth-json-rpc-filters": "4.1.1",
"ethers": "4.0.45",
"ganache-cli": "^6.9.1",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"prettier": "^2.2.0",
"prettier-plugin-solidity": "^1.0.0-beta.1",
"sol2uml": "1.1.13",
"solhint": "^3.3.2",
"solhint-plugin-prettier": "0.0.5",
"solidity-coverage": "0.7.9",
"sort-package-json": "^1.48.0",
"truffle": "^5.1.62",
"truffle-flattener": "1.4.2",
"verify-on-etherscan": "1.2.1"
},
"engines": {
"node": ">=10.0.0 <11.0.0"
},
"publishConfig": {
"@sygnum:registry": "https://gitlab.com/api/v4/projects/15856546/packages/npm/"
}
}