File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
target_chains/fuel/sdk/js Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
22
"scripts" : {
23
23
"usage-example" : " ts-node src/examples/usage.ts" ,
24
24
"build" : " pnpm run generate-fuel-types && tsc && copyfiles -u 1 \" src/**/*.d.ts\" lib" ,
25
- "format" : " prettier --write \" src/**/*.ts\" " ,
25
+ "test:format" : " prettier --check \" src/**/*.ts\" " ,
26
+ "fix:format" : " prettier --write \" src/**/*.ts\" " ,
26
27
"test:lint" : " eslint src/" ,
27
28
"prepublishOnly" : " pnpm run build && pnpm run test:lint" ,
28
29
"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 "
31
32
},
32
33
"keywords" : [
33
34
" pyth" ,
You can’t perform that action at this time.
0 commit comments