-
Notifications
You must be signed in to change notification settings - Fork 261
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 5.35 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 5.35 KB
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
104
105
106
107
108
{
"name": "@superfluid-finance/ethereum-contracts",
"description": " Ethereum contracts implementation for the Superfluid Protocol",
"version": "1.14.1",
"dependencies": {
"@decentral.ee/web3-helpers": "0.5.3",
"@nomiclabs/hardhat-ethers": "2.2.3",
"@safe-global/api-kit": "4.0.1",
"@truffle/contract": "4.6.31",
"ethereumjs-tx": "2.1.2",
"ethereumjs-util": "7.1.5",
"hardhat": "2.27.2"
},
"devDependencies": {
"@d10r/truffle-plugin-verify": "^0.7.2",
"@nomiclabs/hardhat-truffle5": "^2.1.2",
"@safe-global/safe-core-sdk": "^3.3.5",
"@safe-global/safe-service-client": "^2.0.3",
"@safe-global/safe-web3-lib": "^1.9.4",
"@superfluid-finance/js-sdk": "^0.6.3",
"@superfluid-finance/metadata": "^1.6.2",
"async": "^3.2.6",
"csv-writer": "^1.6.0",
"ethers": "^5.8.0",
"mochawesome": "^7.1.4",
"readline": "^1.3.0",
"solidity-coverage": "^0.8.17",
"solidity-docgen": "^0.6.0-beta.36",
"stack-trace": "0.0.10",
"truffle-flattener": "^1.6.0"
},
"files": [
"/contracts/**/*",
"!/contracts/mocks/*",
"/build/truffle/*.json",
"!/build/truffle/*Mock*.json",
"!/build/truffle/*Tester*.json",
"!/build/truffle/*Anvil.json",
"!/build/truffle/*Properties.json",
"/build/hardhat/**/*",
"!/build/hardhat/contracts/mocks/**/*",
"/build/contracts-sizes.txt",
"/build/bundled-abi.js",
"/build/bundled-abi.json",
"dev-scripts/**/*",
"utils/**/*"
],
"homepage": "https://github.com/superfluid-finance/protocol-monorepo/tree/dev/packages/ethereum-contracts#readme",
"license": "AGPL-3.0-or-later OR MIT",
"main": "./dev-scripts/index.js",
"peerDependencies": {
"ethers": "^5.7.2",
"@openzeppelin/contracts": "^5.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/superfluid-finance/protocol-monorepo.git",
"directory": "packages/ethereum-contracts"
},
"scripts": {
"dev": "yarn dev-foundry",
"dev-foundry": "nodemon -e sol -x yarn run-foundry test --hardhat",
"dev-hardhat": "tasks/dev.sh",
"clean": "rm -rf node_modules; rm -rf cache; rm -rf build; rm -rf artifacts; rm -rf typechain-types; rm -rf dev-scripts/*.d.ts dev-scripts/*.d.ts.map",
"run-hardhat": "IS_HARDHAT=true hardhat",
"run-truffle": "IS_TRUFFLE=true truffle",
"run-foundry": "IS_FOUNDRY=true forge",
"run-nodemon": "nodemon -e sol,js,ts -x",
"build": "run-s build:*",
"build:contracts": "run-p -l build:contracts:*",
"build:contracts:truffle": "yarn run-truffle compile",
"build:contracts:hardhat": "yarn run-hardhat compile",
"build:contracts:foundry": "yarn run-foundry build",
"build:post-contracts": "run-p -l build:post-contracts:*",
"build:post-contracts:abi-bundle": "tasks/build-bundled-abi.sh",
"build:post-contracts:contracts-size": "forge build --sizes --skip test --skip script > build/contracts-sizes.txt",
"verify-framework": "tasks/etherscan-verify-framework.sh",
"testenv:start": "test/testenv-ctl.sh start",
"testenv:stop": "test/testenv-ctl.sh stop",
"testenv:deploy": "yarn run-truffle exec ops-scripts/deploy-test-environment.js : TEST",
"pretest": "{ yarn testenv:start > /dev/null& } && sleep 5",
"test": "run-s test:*:*",
"test:contracts:hardhat": "yarn run-hardhat test testsuites/all-contracts.ts",
"test:contracts:foundry": "yarn run-foundry test --hardhat --no-match-contract Fork",
"test:contracts:solc-compatibility": "test/test-solc-compatibility.sh",
"test:deployment:scripts-js-hardhat": "yarn run-hardhat test test/ops-scripts/deployment.test.js",
"test:deployment:scripts-bash": "test/ops-scripts/deployment.test.sh",
"disabled-test:deployment:scripts-js-truffle": "yarn run-truffle test test/ops-scripts/deployment.test.js",
"posttest": "yarn testenv:stop",
"test-coverage": "run-s test-coverage:*",
"test-coverage:hardhat": "yarn run-hardhat coverage --testfiles testsuites/all-contracts.js --solcoverjs ./.solcover.js",
"test-coverage:foundry": "yarn run-foundry coverage --gas-limit 999999999999 --report lcov",
"test-slither": "tasks/test-slither.sh",
"lint": "run-s lint:*",
"lint:sol": "solhint -w 0 `find contracts -name *.sol` && echo '✔ Your .sol files look good.'",
"lint-js": "eslint test -c .eslintrc.json --ext .js",
"lint:js-eslint": "yarn lint-js --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'",
"lint-ts": "eslint test -c .eslintrc.ts.json --ext .ts",
"lint:ts-eslint": "yarn lint-ts --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .ts files look good.'",
"fix": "run-s fix:*",
"fix:eslint": "yarn lint-ts --fix",
"lint:check-no-focused-tests": "grep -FR .only test || { echo 'No test is focused.';exit 0; } && { echo '✘ You have focused tests.'; exit 1; }",
"check-updates": "ncu --target minor --dep prod,dev",
"cloc": "tasks/cloc.sh",
"docgen": "rm -rf docs/api; hardhat docgen"
},
"typings": "./types/index.d.ts"
}