Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 0eb4d03

Browse files
committed
Fix weird file naming from toSnakeCase in abi-gen
1 parent c884f92 commit 0eb4d03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"clean": "rm -rf build",
2424
"test": "truffle compile --all && yarn run generate-typings && yarn run transpile && truffle test transpiled/test/*.js",
2525
"transpile": "tsc",
26-
"generate-typings": "abi-gen --abis './build/contracts/*.json' --out './types/generated' --template './types/contract_templates/contract.mustache' --partials './types/contract_templates/partials/*.mustache'",
26+
"generate-typings": "abi-gen --abis './build/contracts/*.json' --out './types/generated' --template './types/contract_templates/contract.mustache' --partials './types/contract_templates/partials/*.mustache' && yarn run rename-generated-abi",
27+
"rename-generated-abi": "mv types/generated/detailed_e_r_c20.ts types/generated/detailed_erc20.ts && mv types/generated/e_r_c20_basic.ts types/generated/erc20_basic.ts",
2728
"lint-ts": "tslint --fix test/*.ts",
2829
"lint-sol": "solhint contracts/*.sol",
2930
"lint": "yarn run lint-sol && yarn run lint-ts",

0 commit comments

Comments
 (0)