package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "cnsp-chaincode",
  3. "version": "1.0.0",
  4. "description": "CNSP chaincode with multiple contract",
  5. "main": "index.js",
  6. "engines": {
  7. "node": ">=8",
  8. "npm": ">=5"
  9. },
  10. "scripts": {
  11. "lint": "eslint .",
  12. "pretest": "npm run lint",
  13. "test": "nyc mocha --recursive",
  14. "start": "fabric-chaincode-node start"
  15. },
  16. "engineStrict": true,
  17. "author": "ruowei",
  18. "repository": "https://www.ruoweiedu.com",
  19. "license": "UNLICENSED",
  20. "dependencies": {
  21. "fabric-contract-api": "~1.4.0",
  22. "fabric-shim": "~1.4.0"
  23. },
  24. "devDependencies": {
  25. "chai": "^4.1.2",
  26. "eslint": "^4.19.1",
  27. "mocha": "^5.2.0",
  28. "nyc": "^12.0.2",
  29. "sinon": "^6.0.0",
  30. "sinon-chai": "^3.2.0"
  31. },
  32. "nyc": {
  33. "exclude": [
  34. "coverage/**",
  35. "test/**"
  36. ],
  37. "reporter": [
  38. "text-summary",
  39. "html"
  40. ],
  41. "all": true,
  42. "check-coverage": true,
  43. "statements": 100,
  44. "branches": 100,
  45. "functions": 100,
  46. "lines": 100
  47. }
  48. }