This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
44 lines (44 loc) · 1.91 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
{
"name": "@rari-capital/charity-vaults",
"version": "1.0.0",
"authors": [
"Andreas Bigger <[email protected]>"
],
"license": "AGPL-3.0-only",
"description": "Share interest from Fuse Vaults with charities, friends, and more.",
"repository": {
"type": "git",
"url": "git+https://github.com/Rari-Capital/charity-vaults.git"
},
"files": [
"*.sol"
],
"scripts": {
"prepublishOnly": "copyfiles -u 1 \"./src/**/*.sol\" --exclude \"./src/test/**/*.sol\" ./",
"postpublish": "rimraf ./*.sol",
"prepack": "yarn prepublishOnly",
"postpack": "yarn postpublish",
"lint": "yarn prettier && yarn solhint",
"lint:check": "yarn prettier:check && yarn solhint:check",
"prettier": "yarn prettier:check --write",
"prettier:check": "prettier --check \"src/**/*.sol\" && prettier --check \"src/*.sol\"",
"prettier:write": "prettier -w .",
"solhint": "yarn solhint:check --fix",
"solhint:check": "solhint --config ./.solhint.json \"src/**/*.sol\"",
"visualize": "yarn v:all && yarn v:cv && yarn v:cvf",
"v:all": "surya graph -s src/**/*.sol | dot -Tpng > assets/contracts.png",
"v:cv": "surya graph src/CharityVault.sol | dot -Tpng > assets/CharityVault.png",
"v:cvf": "surya graph src/CharityVaultFactory.sol | dot -Tpng > assets/CharityVaultFactory.png",
"test:deploy": "ETH_FROM=0xf25e32C0f2928F198912A4F21008aF146Af8A05a nix-shell --run './scripts/test-deploy.sh'",
"estimate-gas": "ETH_FROM=0xf25e32C0f2928F198912A4F21008aF146Af8A05a nix-shell --run './scripts/estimate-gas.sh'"
},
"devDependencies": {
"copyfiles": "^2.4.1",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"rimraf": "^3.0.2",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"surya": "^0.4.3"
}
}