1 Star 0 Fork 0

Snitro/fabric-sdk-node

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 5.40 KB
一键复制 编辑 原始数据 按行查看 历史
Mark S. Lewis 提交于 2020-07-15 14:40 . v2.2.0 release (#274)
{
"name": "fabric-sdk-node",
"version": "2.2.0",
"tag": "latest",
"main": "index.js",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/hyperledger/fabric-sdk-node"
},
"homepage": "https://www.hyperledger.org/projects/fabric",
"author": {
"name": "hyperledger/fabric",
"email": "fabric@lists.hyperledger.org"
},
"scripts": {
"installAndGenerateCerts": "node ./scripts/npm_scripts/generateCerts.js",
"pullFabricImages": "./scripts/utility/fabric_images.sh",
"test": "run-s checkLicense cleanUp dockerClean compile lint docs unitTest:all dockerReady tapeIntegration cucumberScenario",
"testNoHSM": "run-s checkLicense cleanUp dockerClean compile lint docs unitTest:all dockerReady tapeIntegration cucumberScenarioNoHSM",
"checkLicense": "./scripts/npm_scripts/checkLicense.sh",
"cleanUp": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").cleanUp()'",
"dockerClean": "./scripts/npm_scripts/dockerClean.sh",
"compile": "tsc --project fabric-network/tsconfig.json",
"lint": "run-s eslint tslint",
"eslint": "eslint fabric-network/ fabric-ca-client/lib/ fabric-common/ test/",
"tslint": "tslint -t prose -p fabric-common/types/tsconfig.json 'fabric-common/**/*.ts' && tslint -t prose 'test/**/*.ts' && tslint -t prose -p fabric-network/tsconfig.json 'fabric-network/**/*.ts' ",
"docs": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").cleanUpDocs()' && jsdoc -c docs/jsdoc.json -t ./node_modules/ink-docstrap/template",
"unitTest:all": "export HFC_LOGGING='{\"debug\":\"test/temp/debug.log\"}' && nyc run-s unitTest:common unitTest:ca-client unitTest:network",
"unitTest:common": "mocha --reporter list 'fabric-common/test/**/*.js'",
"unitTest:ca-client": "mocha --reporter list 'fabric-ca-client/test/**/*.js'",
"unitTest:network": "npm run compile && mocha --require ts-node/register --reporter list 'fabric-network/test/**/*.{js,ts}'",
"unitTest": "mocha --require ts-node/register --reporter list",
"dockerReady": "npm run dockerClean && (cd test/fixtures/docker-compose && docker-compose -f docker-compose-tls-level-db.yaml -p node up -d && sleep 15 && docker ps -a)",
"tapeIntegration": "./scripts/npm_scripts/runTape.sh",
"cucumberScenario": "npm run setupCucumbers && export HFC_LOGGING='{\"debug\":\"test/temp/debugc.log\"}' && npm run test:cucumber && npm run dockerClean && nyc --check-coverage --statements 54 --branches 32 --functions 46 --lines 54 npm run test:ts-cucumber",
"cucumberScenarioNoHSM": "npm run setupCucumbers && export HFC_LOGGING='{\"debug\":\"test/temp/debugc.log\"}' && npm run test:cucumber && npm run dockerClean && nyc --check-coverage --statements 54 --branches 32 --functions 46 --lines 54 npm run test:ts-cucumberNoHSM",
"setupCucumbers": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").createCucumberLogFile()'",
"test:cucumber": "cucumber-js -f node_modules/cucumber-pretty ./test/scenario/features/*.feature",
"test:ts-cucumber": "cucumber-js -f node_modules/cucumber-pretty ./test/ts-scenario/features/*.feature --require './test/ts-scenario/steps/**/*.ts' --require './test/ts-scenario/support/**/*.ts' --require-module ts-node/register",
"test:ts-cucumberNoHSM": "cucumber-js -f node_modules/cucumber-pretty ./test/ts-scenario/features/*.feature --require './test/ts-scenario/steps/**/*.ts' --require './test/ts-scenario/support/**/*.ts' --require-module ts-node/register --tags 'not @gateway_hsm'",
"test:ts-cucumber-tagged": "npm run test:ts-cucumber -- --tags @events",
"testHeadless": "run-s cleanUp compile lint unitTest:all",
"tapeAndCucumber": "run-s tapeIntegration dockerClean cucumberScenario"
},
"devDependencies": {
"@ampretia/x509": "0.4.7",
"@types/chai": "^4.2.7",
"@types/chai-as-promised": "^7.1.2",
"@types/cucumber": "4.0.5",
"@types/fs-extra": "^8.0.0",
"@types/mocha": "^5.2.7",
"@types/rimraf": "^2.0.3",
"@types/sinon": "^7.5.1",
"@types/tape": "^4.2.33",
"bn.js": "^4.11.8",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"cucumber": "^6.0.5",
"cucumber-pretty": "^6.0.0",
"elliptic": "^6.3.2",
"eslint": "^6.8.0",
"fabric-ca-client": "file:./fabric-ca-client",
"fabric-client": "^1.4.9",
"fabric-common": "file:./fabric-common",
"fabric-network": "file:./fabric-network",
"fabric-protos": "file:./fabric-protos",
"ink-docstrap": "^1.3.2",
"jsdoc": "^3.6.3",
"jsrsasign": "^8.0.20",
"mocha": "^7.1.2",
"nano": "^8.2.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"rewire": "^4.0.1",
"rimraf": "^3.0.0",
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"strip-ansi": "5.2.0",
"tape": "^4.13.2",
"tape-promise": "^4.0.0",
"ts-mock-imports": "^1.3.0",
"ts-node": "^8.10.1",
"tslint": "5.19.0",
"typescript": "^3.9.2",
"winston": "^2.4.4"
},
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "https://github.com/hyperledger/fabric/blob/master/LICENSE"
}
],
"nyc": {
"exclude": [
"test/**",
"fabric-*/index.js",
"fabric-*/test/**",
"fabric-protos/grpc.js",
"fabric-protos/bundle.js"
],
"extension": [
".ts"
],
"reporter": [
"text",
"html"
],
"cache": true,
"check-coverage": true,
"statements": 82,
"branches": 74,
"functions": 77,
"lines": 83
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/snitro/fabric-sdk-node.git
git@gitee.com:snitro/fabric-sdk-node.git
snitro
fabric-sdk-node
fabric-sdk-node
master

搜索帮助