fabric-samples/hardware-security-module/application-typescript/package.json
Mark S. Lewis ea28c9fe23
Update TypeScript implementations
- Dependency updates
- ESLint flat configuration format, replacing deprecated configuration
- Minor fixes to compile and lint issues
- Consistent TypeScript formatting with .editorconfig

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2024-06-15 21:23:42 +01:00

33 lines
909 B
JSON

{
"name": "gateway-hsm-sample",
"version": "0.0.1",
"description": "",
"main": "dist/hsm-sample.js",
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"clean": "rimraf dist",
"lint": "eslint src",
"start": "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.10",
"@hyperledger/fabric-gateway": "^1.5"
},
"devDependencies": {
"@types/node": "^18.19.33",
"@eslint/js": "^9.3.0",
"@tsconfig/node18": "^18.2.4",
"eslint": "^8.57.0",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.1",
"typescript": "~5.4.5",
"typescript-eslint": "^7.11.0"
}
}