|
|
@@ -3,6 +3,8 @@
|
|
|
"private": true,
|
|
|
"license": "ISC",
|
|
|
"scripts": {
|
|
|
+ "build:cjs": "tsc --project tsconfig.build.json --verbatimModuleSyntax false --module commonjs --outDir ./dist/cjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
|
+ "build:esm": "tsc --project tsconfig.build.json --outDir ./dist/esm && echo '{\"type\":\"module\"}' > dist/esm/package.json",
|
|
|
"update-idl": "RUSTUP_TOOLCHAIN=nightly-2025-04-15 anchor build --idl \"$PWD/src/idl\" --idl-ts \"$PWD/src/idl\"",
|
|
|
"fix:format": "prettier --write **/*.*",
|
|
|
"test:format": "prettier --check **/*.*",
|