Skip to content

Commit 2b6847d

Browse files
committed
update again
1 parent 7db432a commit 2b6847d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

target_chains/fuel/sdk/js/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
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",

0 commit comments

Comments
 (0)