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>
31 lines
906 B
JSON
31 lines
906 B
JSON
{
|
|
"name": "asset-transfer-private-data",
|
|
"version": "1.0.0",
|
|
"description": "Asset transfer private data 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.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
"@typescript-eslint/parser": "^5.6.0",
|
|
"eslint": "^8.4.1",
|
|
"typescript": "~4.5.2"
|
|
}
|
|
}
|