mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
- Updates to ESLint v10 and fixes lint failures. - Aligns tsconfig on Node 20, which is the current minimum required Node version. - Adds package-lock.json files to source control to avoid future random failures when dependencies update. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
33 lines
929 B
JSON
33 lines
929 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": ">=20"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build:watch": "tsc -w",
|
|
"lint": "eslint src",
|
|
"prepare": "npm run build",
|
|
"pretest": "npm run lint",
|
|
"start": "node dist/app.js"
|
|
},
|
|
"engineStrict": true,
|
|
"author": "Hyperledger",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@grpc/grpc-js": "^1.14.0",
|
|
"@hyperledger/fabric-gateway": "^1.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@tsconfig/node20": "^20.1.9",
|
|
"@types/node": "^20.19.33",
|
|
"eslint": "^10.0.2",
|
|
"typescript": "~5.8",
|
|
"typescript-eslint": "^8.56.1"
|
|
}
|
|
}
|