From 720f1f452f9d6fc8c67937d18d8adaa6e5e1307c Mon Sep 17 00:00:00 2001 From: rrr523 Date: Thu, 14 Sep 2023 13:09:28 +0800 Subject: [PATCH] chore: Nodejs Example update --- examples/nodejs/README.md | 4 ++++ examples/nodejs/package.json | 9 ++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/examples/nodejs/README.md b/examples/nodejs/README.md index fc1882f9..b8852735 100644 --- a/examples/nodejs/README.md +++ b/examples/nodejs/README.md @@ -2,4 +2,8 @@ * [storage](./storage.js) +```bash +> node storage +``` + [More examples](../../packages/chain-sdk/tests/) diff --git a/examples/nodejs/package.json b/examples/nodejs/package.json index 27aeb514..da326046 100644 --- a/examples/nodejs/package.json +++ b/examples/nodejs/package.json @@ -3,12 +3,7 @@ "version": "0.0.9-alpha.7", "type": "commonjs", "private": true, - "scripts": { - "dev": "cross-env NODE_ENV=development next dev", - "dev:qa": "cross-env NODE_ENV=test next dev", - "build": "", - "build:qa": "" - }, + "scripts": {}, "dependencies": { "@bnb-chain/greenfield-js-sdk": "workspace:*", "@bnb-chain/greenfiled-file-handle": "workspace:*" @@ -16,4 +11,4 @@ "devDependencies": { "cross-env": "^7.0.3" } -} \ No newline at end of file +}