Skip to content

Commit

Permalink
add build:node script
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Dec 5, 2024
1 parent 9fa12cd commit 48f42c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"scripts": {
"lint": "eslint './**/*.{ts,tsx}' --quiet",
"build": "yarn clean && tsc -p tsconfig.json && tsc -p tsconfig.browser.json && node scripts/postbuild.js",
"build:node": "yarn clean && tsc -p tsconfig.json",
"clean": "rm -rf lib",
"test": "mocha -r ts-node/register tests/**/*.ts",
"test:inspect": "mocha --inspect-brk -r ts-node/register tests/**/*.ts",
Expand Down
2 changes: 1 addition & 1 deletion sdk/scripts/postbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ environments.forEach((environment) => {
fs.writeFileSync(isomorphPath, content);
} catch (error) {
console.error(
`Error processing isomophic package : ${package} :: ${error.message}`
`Error processing isomorphic package : ${package} :: ${error.message}`
);
}

Expand Down

0 comments on commit 48f42c0

Please sign in to comment.