-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
103 lines (103 loc) · 4.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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "protocol",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"compile": "forge build",
"build": "forge build",
"clean": "rm -rf build && rm -rf cache && rm -rf cache_hardhat && rm -rf cache_forge && rm -rf artifacts && rm -rf out",
"compile:clean": "npm run clean && npm run compile",
"build:clean": "npm run clean && npm run compile",
"ganache": "npx ganache -p 8545 --chain.chainId 333333",
"deploy": "hardhat run scripts/deploy.js --network hardhat",
"deploy:ethereum": "hardhat run scripts/deploy.js --network ethereum 2>&1 | tee ./.ignored/ethereum-deployment.md",
"deploy:local": "rm -f ./.deployments/local.json && hardhat run scripts/deploy.js --network local 2>&1 | tee ./.ignored/local-deployment.md",
"deploy:basegoerli": "hardhat run scripts/deploy.js --network basegoerli 2>&1 | tee ./.ignored/basegoerli-deployment.md",
"deploy:cover": "npx hardhat run scripts/deploy-covers.js",
"deploy:cover:ethereum": "npx hardhat run scripts/deploy-covers.js --network ethereum",
"deploy:arbitrum": "hardhat run scripts/deploy.js --network arbitrum 2>&1 | tee ./.ignored/arbitrum-deployment.md",
"verify": "node ./scripts/verify.js",
"solhint": "solhint \"contracts/**/*.sol\"",
"genabi": "rm -rf ./abis && mkdir abis && node ./util/extract/abis",
"replace:abis": "npm run genabi && node ./util/extract/genabi.js ./abis ../sdk/src/config/abis/index.ts && cp ./abis/*.json ../subgraph/abis",
"events:all": "node util/events/all.js 2>&1 | tee ./.todo/events.md",
"fix": "standard --fix",
"events:table": "node util/events/table.js 2>&1 | tee ./.todo/events-table.md",
"genkey": "node ./util/extract/keys/index.js > ./util/key.js && standard --fix ./util/key.js",
"genkey:ts": "touch ./.ignored/key-util.ts && node ./util/extract/keys --ts > ../sdk/src/utils/key-util.ts",
"genkey:as": "node ./util/extract/keys --as > ../subgraph/src/utils/keys.ts",
"gendoc": "npm run gendoc:local",
"gendoc:local": "rm -rf build && rm -rf docs && truffle compile && node ../../solidoc/cli.js",
"gendoc:global": "rm -rf build && rm -rf docs && truffle compile && solidoc",
"slither": "npm run clean && slither .",
"slither:x": "slither . --print human-summary,vars-and-auth",
"slither:save": "slither . > ./.todo/slither.log 2>&1",
"slither:x:save": "slither . --print human-summary,vars-and-auth > ./.todo/slither.x.log 2>&1",
"fuzz": "forge test -vvvv",
"test": "hardhat test ./test/specs/**/**.js",
"test:all": "hardhat test",
"coverage": "npx hardhat clean && hardhat coverage --testfiles \"test/**/*.spec.js\"",
"stories": "hardhat test ./test/stories/*.js",
"bdd": "hardhat test ./test/bdd/*.js",
"story": "npm run stories",
"walk": "node ./util/analyzers/chain-state | sed -r \"s/\\x1B\\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g\" > ./.todo/_Walker.sol && echo View file 👉 ./.todo/_Walker.sol"
},
"repository": {
"type": "git",
"url": "git+https://github.com/neptune-mutual/protocol.git"
},
"standard": {
"env": [
"mocha"
],
"global": [
"ethers",
"task",
"contract",
"artifacts",
"web3"
]
},
"author": "",
"license": "SEE LICENSE IN <LICENSE>",
"bugs": {
"url": "https://github.com/neptune-mutual/protocol/issues"
},
"homepage": "https://github.com/neptune-mutual/protocol#readme",
"devDependencies": {
"@neptunemutual/solidoc": "^0.0.2-beta",
"@nomiclabs/hardhat-ethers": "2.0.3",
"@nomiclabs/hardhat-etherscan": "2.1.8",
"@nomiclabs/hardhat-waffle": "2.0.1",
"axios": "0.26.0",
"bignumber.js": "9.0.2",
"bs58": "4.0.1",
"chai": "4.3.4",
"chai-as-promised": "7.1.1",
"chai-bignumber": "3.0.0",
"chalk": "4.1.2",
"dotenv": "10.0.0",
"ethereum-waffle": "3.4.0",
"ethers": "5.5.2",
"hardhat": "2.19.3",
"hardhat-contract-sizer": "2.1.1",
"hardhat-gas-reporter": "1.0.6",
"moment": "2.29.1",
"node-enumerable": "6.0.0",
"openzeppelin-solidity": "4.4.1",
"prettier": "2.5.1",
"prettier-plugin-solidity": "1.0.0-beta.19",
"solhint": "3.3.6",
"solidity-coverage": "^0.8.7",
"solidoc2": "1.0.7",
"standard": "16.0.4"
},
"resolutions": {
"hardhat/**/@ethereumjs/tx": "3.5.0"
},
"volta": {
"node": "18.12.0",
"yarn": "1.22.19"
}
}