fabric-samples/hardware-security-module/application-typescript/package.json
Mark S. Lewis 9540c443c8
Fix ESLint failures
- 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>
2026-02-25 13:53:45 +00:00

32 lines
902 B
JSON

{
"name": "gateway-hsm-sample",
"version": "0.0.1",
"description": "",
"main": "dist/hsm-sample.js",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"clean": "rimraf dist",
"lint": "eslint src",
"start": "SOFTHSM2_CONF=\"${SOFTHSM2_CONF:-${HOME}/softhsm2.conf}\" node dist/hsm-sample.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"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",
"rimraf": "^5.0.1",
"typescript": "~5.8",
"typescript-eslint": "^8.56.1"
}
}