fabric-samples/asset-transfer-sbe/chaincode-typescript/package.json
Mark S. Lewis 099f52ba3f
Update fabric-gateway to v1.8.0
Node 20+ is now required. This is the oldest currently support LTS
version of Node.js.

Docker images are moved to Node 22, which is the current LTS release.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2025-07-24 17:11:33 +01:00

35 lines
919 B
JSON

{
"name": "asset-transfer-sbe",
"version": "0.0.1",
"description": "Asset Transfer contract, using State Based Endorsement(SBE), implemented in TypeScript",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"engines": {
"node": ">=20"
},
"scripts": {
"lint": "eslint src",
"pretest": "npm run lint",
"test": "echo 'No tests implemented'",
"start": "fabric-chaincode-node start",
"build": "tsc",
"build:watch": "tsc -w",
"prepublishOnly": "npm run build",
"postinstall": "npm dedupe"
},
"engineStrict": true,
"author": "Hyperledger",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "~2.5",
"fabric-shim": "~2.5"
},
"devDependencies": {
"@types/node": "^18.19.33",
"@eslint/js": "^9.3.0",
"@tsconfig/node18": "^18.2.4",
"eslint": "^8.57.0",
"typescript": "~5.4.5",
"typescript-eslint": "^7.11.0"
}
}