File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
target_chains/fuel/sdk/js Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2121 },
2222 "scripts" : {
2323 "usage-example" : " ts-node src/examples/usage.ts" ,
24- "build" : " pnpm run generate-fuel-types && tsc && copyfiles -u 1 \" src/**/*.d.ts\" lib && pnpm run format" ,
25- "format" : " prettier --write \" src/**/*.ts\" " ,
24+ "build" : " pnpm run generate-fuel-types && tsc && copyfiles -u 1 \" src/**/*.d.ts\" lib" ,
25+ "test:format" : " prettier --check \" src/**/*.ts\" " ,
26+ "fix:format" : " prettier --write \" src/**/*.ts\" " ,
2627 "test:lint" : " eslint src/" ,
2728 "prepublishOnly" : " pnpm run build && pnpm run test:lint" ,
2829 "preversion" : " pnpm run test:lint" ,
29- "version" : " pnpm run format && git add -A src" ,
30- "generate-fuel-types" : " pnpm fuels typegen -i ../../contracts/pyth-contract/out/release/*-abi.json -o ./src/types && prettier --write \" ./src/types/**/*.ts \" "
30+ "version" : " pnpm run test: format && git add -A src" ,
31+ "generate-fuel-types" : " pnpm fuels typegen -i ../../contracts/pyth-contract/out/release/*-abi.json -o ./src/types && pnpm run fix:format "
3132 },
3233 "keywords" : [
3334 " pyth" ,
You can’t perform that action at this time.
0 commit comments