fabric-samples/chaincode/fabcar/javascript/package.json
Mark S. Lewis c191f3476d
Use only v2.2.x chaincode package dependencies
Avoid chaincode packages picking up dependencies on later v2.x releases,
such as v2.5.x. Later releases may exploit features not compatible with
the v2.2 chaincode container runtime.

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

47 lines
1.1 KiB
JSON

{
"name": "fabcar",
"version": "1.0.0",
"description": "FabCar contract implemented in JavaScript",
"main": "index.js",
"engines": {
"node": ">=12",
"npm": ">=6.9"
},
"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.2",
"fabric-shim": "~2.2"
},
"devDependencies": {
"chai": "^4.1.2",
"eslint": "^4.19.1",
"mocha": "^5.2.0",
"nyc": "^14.1.1",
"sinon": "^6.0.0",
"sinon-chai": "^3.2.0"
},
"nyc": {
"exclude": [
"coverage/**",
"test/**"
],
"reporter": [
"text-summary",
"html"
],
"all": true,
"check-coverage": true,
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}