-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
85 lines (85 loc) · 3.96 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
{
"name": "@soundxyz/sound-protocol",
"version": "1.9.0",
"homepage": "https://github.com/soundxyz/sound-protocol#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/soundxyz/sound-protocol.git"
},
"license": "MIT",
"author": "soundxyz",
"scripts": {
"build": "forge build",
"deploy:mainnet": "EVM_NETWORK=mainnet pnpm gen:ids && source .env && forge script script/solidity/Deploy.1.1.0.s.sol --fork-url $MAINNET_RPC_URL --private-key $PRIVATE_KEY --verify --etherscan-api-key $ETHERSCAN_KEY -vvvv --broadcast && EVM_NETWORK=mainnet pnpm prep-release",
"deploy:goerli": "EVM_NETWORK=goerli pnpm gen:ids && source .env && forge script script/solidity/Deploy.1.1.0.s.sol --fork-url $GOERLI_RPC_URL --private-key $PRIVATE_KEY --verify --etherscan-api-key $ETHERSCAN_KEY -vvvv --broadcast && EVM_NETWORK=goerli pnpm prep-release",
"gen:ids": "forge script ./script/solidity/GetInterfaceId.s.sol | tr -d '\n' | grep -o '== Logs ==.*' | awk -F'== Logs ==' '/== Logs ==/{print $2}' | tr -d '[:space:]' > src/json/interfaceIds.json && bob-tsm script/js/buildInterfaceIdsFile.ts && pnpm prettier:write",
"postinstall": "forge install",
"prepack": "rm -rf out dist typechain && pnpm gen:ids && pnpm build && pnpm prune-artifacts && pnpm typechain && bob-tsm script/js/build.ts",
"prune-artifacts": "bob-tsm script/js/pruneArtifacts.ts",
"prep-release": "bob-tsm script/js/buildInterfaceIdsFile.ts && pnpm prettier:write",
"prepare": "husky install",
"prettier:write": "prettier --write **/*.{js,ts,json,sol}",
"postpublish": "gh-release",
"release": "pnpm publish --access=public --no-git-checks",
"release:canary": "(node script/js/canary-release.js && pnpm publish --access public --no-git-checks --tag alpha) || echo Skipping Canary...",
"slither": "slither . --config-file slither.config.json",
"solhint": "solhint -f table contracts/**/*.sol",
"test": "forge test",
"test:coverage": "forge coverage --contracts contracts --report lcov && genhtml lcov.info --branch-coverage --output-directory coverage --legend",
"test:gas": "forge test --gas-report",
"typechain": "typechain --discriminate-types --target ethers-v5 --out-dir typechain 'out/**/*.json'"
},
"lint-staged": {
"*.sol": "solhint",
"*.{js,sol,md}": "prettier --write"
},
"dependencies": {
"@ethersproject/abi": "^5.6.4",
"@ethersproject/providers": "^5.6.8",
"ethers": "^5.6.9"
},
"devDependencies": {
"@changesets/apply-release-plan": "^6.0.4",
"@changesets/assemble-release-plan": "^5.2.1",
"@changesets/cli": "^2.23.2",
"@changesets/config": "^2.1.1",
"@changesets/read": "^0.5.7",
"@manypkg/get-packages": "^1.1.3",
"@pnpm/exportable-manifest": "^3.1.2",
"@pnpm/types": "^8.5.0",
"@typechain/ethers-v5": "11.1.0",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.7.11",
"bob-ts": "^4.0.0",
"bob-tsm": "^1.1.1",
"changesets-github-release": "^0.1.0",
"concurrently": "^7.3.0",
"danger": "^11.1.1",
"dotenv": "^16.0.2",
"esbuild": "^0.15.5",
"eslint": "^5.16.0",
"eslint-scope": "^4.0.3",
"eslint-utils": "^1.4.3",
"eslint-visitor-keys": "^1.3.0",
"execa": "^6.1.0",
"fs-extra": "^10.1.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.3",
"prettier": "2.7.1",
"prettier-linter-helpers": "^1.0.0",
"prettier-plugin-solidity": "1.0.0-dev.23",
"semver": "^7.3.7",
"solhint": "3.3.7",
"solhint-plugin-prettier": "0.0.5",
"typechain": "^8.3.2",
"typescript": "^4.7.4"
},
"packageManager": "[email protected]",
"engines": {
"pnpm": ">=8.8.0"
},
"publishConfig": {
"access": "public",
"directory": "dist"
}
}