mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Node 20+ is now required. This is the oldest currently support LTS version of Node.js. Docker images are moved to Node 22, which is the current LTS release. Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"name": "asset-transfer-events",
|
|
"version": "1.0.0",
|
|
"description": "Asset-Transfer-Events contract implemented in JavaScript",
|
|
"main": "index.js",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"pretest": "npm run lint",
|
|
"test": "nyc mocha --recursive",
|
|
"start": "fabric-chaincode-node start"
|
|
},
|
|
"engineStrict": true,
|
|
"author": "Hyperledger",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"fabric-contract-api": "~2.5",
|
|
"fabric-shim": "~2.5"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^4.4.1",
|
|
"eslint": "^8.57.0",
|
|
"mocha": "^10.4.0",
|
|
"nyc": "^15.1.0",
|
|
"sinon": "^18.0.0",
|
|
"sinon-chai": "^3.7.0"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"coverage/**",
|
|
"test/**",
|
|
"index.js",
|
|
".eslintrc.js"
|
|
],
|
|
"reporter": [
|
|
"text-summary",
|
|
"html"
|
|
],
|
|
"all": true,
|
|
"check-coverage": true,
|
|
"statements": 100,
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100
|
|
}
|
|
}
|