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>
37 lines
929 B
JSON
37 lines
929 B
JSON
{
|
|
"name": "asset-transfer-restapi",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "ts-node ./src/server.ts",
|
|
"start": "nodemon ./dist/server.js",
|
|
"prod": "npm run build && npm run start",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@hyperledger/fabric-gateway": "^1.1.0",
|
|
"@tsconfig/node14": "^1.0.3",
|
|
"@types/body-parser": "^1.17.0",
|
|
"@types/express": "^4.16.0",
|
|
"@types/node": "^14.18.16",
|
|
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
|
"@typescript-eslint/parser": "^5.22.0",
|
|
"eslint": "^8.14.0",
|
|
"nodemon": "^1.18.3",
|
|
"ts-node": "^7.0.0",
|
|
"typescript": "~4.6.4"
|
|
},
|
|
"dependencies": {
|
|
"body-parser": "^1.18.3",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.16.3"
|
|
}
|
|
}
|