Skip to content

Commit

Permalink
adding README for template-node, add dev command, bumping to 0.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
onetrickwolf committed Oct 5, 2023
1 parent f36147e commit c213e02
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion create-aleo-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-aleo-app",
"version": "0.0.9",
"version": "0.0.10",
"type": "module",
"license": "GPL-3.0",
"collaborators": [
Expand Down
11 changes: 11 additions & 0 deletions create-aleo-app/template-node/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Aleo + Node.js

`npm start`

Recommend Node.js 20+ for best performance.

Will hang if using more threads than available for your machine. We are working
on automatic thread detection but in the meantime you can manually set threads
with `--threads` flag or in your code with `initThreadPool`.

`npm start -- --threads 1`
3 changes: 2 additions & 1 deletion create-aleo-app/template-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "node index.js"
"start": "node index.js",
"dev": "node index.js"
},
"dependencies": {
"@aleohq/sdk": "^0.6.1"
Expand Down

0 comments on commit c213e02

Please sign in to comment.