mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +00:00
While the TypeScript application sample is essentially identical (with the addition of some type declarations), there seems to be sufficient uncertainty amongst JavaScript developers not familiar with TypeScript on how best to implement a JavaScript application that it is worthwhile having one plain JavaScript sample using the current client API. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
25 lines
650 B
JSON
25 lines
650 B
JSON
{
|
|
"name": "asset-transfer-basic",
|
|
"version": "1.0.0",
|
|
"description": "Asset Transfer Basic Application implemented in JavaScript using fabric-gateway",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint src",
|
|
"pretest": "npm run lint",
|
|
"start": "node src/app.js"
|
|
},
|
|
"engineStrict": true,
|
|
"author": "Hyperledger",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@grpc/grpc-js": "^1.10",
|
|
"@hyperledger/fabric-gateway": "^1.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.5.0",
|
|
"eslint": "^9.5.0",
|
|
"globals": "^15.6.0"
|
|
}
|
|
}
|