mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +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>
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"name": "asset-transfer-basic",
|
|
"version": "1.0.0",
|
|
"description": "Asset Transfer Basic contract implemented in TypeScript",
|
|
"main": "dist/index.js",
|
|
"typings": "dist/index.d.ts",
|
|
"engines": {
|
|
"node": ">=12",
|
|
"npm": ">=5"
|
|
},
|
|
"scripts": {
|
|
"lint": "tslint -c tslint.json 'src/**/*.ts'",
|
|
"pretest": "npm run lint",
|
|
"start": "npm run build && node dist/app.js",
|
|
"build": "tsc",
|
|
"build:watch": "tsc -w",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"engineStrict": true,
|
|
"author": "Hyperledger",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"fabric-ca-client": "^2.2.8",
|
|
"fabric-network": "^2.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^12.20.55",
|
|
"tslint": "^5.11.0",
|
|
"typescript": "^3.1.6"
|
|
},
|
|
"nyc": {
|
|
"extension": [
|
|
".ts",
|
|
".tsx"
|
|
],
|
|
"exclude": [
|
|
"coverage/**",
|
|
"dist/**"
|
|
],
|
|
"reporter": [
|
|
"text-summary",
|
|
"html"
|
|
],
|
|
"all": true,
|
|
"check-coverage": true,
|
|
"statements": 100,
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100
|
|
}
|
|
}
|