--- a +++ b/contract/package.json @@ -0,0 +1,50 @@ +{ + "name": "contract", + "version": "0.3.4", + "description": "My Smart Contract", + "main": "index.js", + "engines": { + "node": ">=8", + "npm": ">=5" + }, + "scripts": { + "test": "nyc mocha --recursive", + "start": "fabric-chaincode-node start" + }, + "engineStrict": true, + "author": "John Doe", + "license": "Apache-2.0", + "dependencies": { + "fabric-contract-api": "^1.4.1", + "fabric-shim": "^1.4.1", + "mem": "^5.1.1", + "os-locale": "^4.0.0" + }, + "devDependencies": { + "chai": "^4.2.0", + "chai-as-promised": "^7.1.1", + "eslint": "^6.8.0", + "mocha": "^7.1.1", + "nyc": "^15.0.0", + "sinon": "^9.0.1", + "sinon-chai": "^3.5.0", + "winston": "^3.2.1" + }, + "nyc": { + "exclude": [ + ".eslintrc.js", + "coverage/**", + "test/**" + ], + "reporter": [ + "text-summary", + "html" + ], + "all": true, + "check-coverage": true, + "statements": 100, + "branches": 100, + "functions": 100, + "lines": 100 + } +}