mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Rely on the dependencies of @hyperledger/fabric-gateway making these packages transitively available. Having explicit dependency versions in the application can cause type conflicts due to private member changes in the gRPC Client class across versions. Also fix some missing or incorrect Node types and engines version contraints. Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
32 lines
931 B
JSON
32 lines
931 B
JSON
{
|
|
"name": "asset-transfer-basic",
|
|
"version": "1.0.0",
|
|
"description": "Asset Transfer Basic Application implemented in typeScript using fabric-gateway",
|
|
"main": "dist/index.js",
|
|
"typings": "dist/index.d.ts",
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build:watch": "tsc -w",
|
|
"lint": "eslint . --ext .ts",
|
|
"prepare": "npm run build",
|
|
"pretest": "npm run lint",
|
|
"start": "node dist/app.js"
|
|
},
|
|
"engineStrict": true,
|
|
"author": "Hyperledger",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@hyperledger/fabric-gateway": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tsconfig/node14": "^1.0.3",
|
|
"@types/node": "^14.18.16",
|
|
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
|
"@typescript-eslint/parser": "^5.22.0",
|
|
"eslint": "^8.14.0",
|
|
"typescript": "~4.6.4"
|
|
}
|
|
}
|