-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
98 lines (98 loc) · 3.61 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "fabric-starter-rest",
"version": "1.0.0",
"description": "rest api server and client for hyperledger fabric built with nodejs sdk",
"main": "fabric-starter-client.js",
"scripts": {
"start": "node app.js",
"test": "DISCOVER_AS_LOCALHOST=true jest",
"test-mocha": "DISCOVER_AS_LOCALHOST=true mocha",
"cucumber": "cucumber-js",
"dev": "./start-dev.sh",
"fabric-1x-start-peer0": "cd features/fixtures/network; ./start-peer0.sh fabric-1x; cd ../",
"fabric-1x-start-peer2-agent": "DOTENV_CONFIG_PATH=features/fixtures/network/fabric-1x/org1.example.test/peer2.org1.example.test/.peer2-test-env FABRIC_STARTER_PWD=$PWD/features/fixtures/network/fabric-1x/org1.example.test/peer2.org1.example.test node -r dotenv/config app.js",
"fabric-2x-start-peer0": "cd features/fixtures/network; ./start-peer0.sh fabric-2x; cd ../",
"fabric-2x-start-peer2-agent": "DOTENV_CONFIG_PATH=features/fixtures/network/fabric-2x/org1.example.test/peer2.org1.example.test/.peer2-test-env FABRIC_STARTER_PWD=$PWD/features/fixtures/network/fabric-2x/org1.example.test/peer2.org1.example.test node -r dotenv/config app.js",
"fabric-2x-start-rest-sdk": "cd features/fixtures/sdk; ./start-sdk.sh 2x; cd ../",
"integration-deploy-peer-component": "cucumber-js features/peer_component_deploy.feature || true",
"preintegration": "npm run integration-start-peer0 && sh -c 'npm run integration-start-peer2-agent &'",
"integration": "npm run integration-deploy-peer-component || true",
"postintegration-test": "pkill -f node",
"ledger-storage-test": "npm run fabric-1x-start-peer0 && sleep 3 && cucumber-js features/ledger-storage-test.feature",
"dev-test": "SDK_API_URL=localhost:8080 cucumber-js features/chaincode_sdk_interactions.feature --name ^Install chaincode as external service$"
},
"jest": {
"verbose": true,
"testPathIgnorePatterns": [
"<rootDir>/gost-deps/",
"<rootDir>/node_modules/"
]
},
"repository": "https://github.com/olegabu/fabric-starter-rest",
"author": "Oleg Abdrashitov <[email protected]>",
"license": "ISC",
"dependencies": {
"async": "^3.2.0",
"axios": "^0.21.1",
"base64-stream": "^1.0.0",
"body-parser": "^1.19.0",
"channel.js": "0.0.2",
"chmod-plus": "0.0.3",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"enumify": "^1.0.4",
"envsub": "^3.1.0",
"eventsource": "^1.1.1",
"express": "^4.17.1",
"express-jwt": "^5.3.1",
"express-rate-limit": "^6.3.0",
"fabric-ca-client": "1.4.4",
"fabric-client": "^1.4.4",
"ffi": "^2.3.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.4",
"json5": "^2.1.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.15",
"log4js": "^6.3.0",
"minipass": "^3.1.3",
"multer": "^1.4.2",
"npm": "^6.11.3",
"ref": "^1.3.5",
"ref-array": "^1.2.0",
"rewire": "^4.0.1",
"serve-favicon": "^2.5.0",
"serve-index": "^1.9.1",
"shelljs": "^0.8.4",
"sinon": "^7.5.0",
"socket.io": "^2.5.0",
"stream-string": "^2.0.3",
"stream3-concat": "^0.2.0",
"tape": "^4.11.0",
"tape-promise": "^4.0.0",
"tar": "^6.1.0",
"tar-transform": "^1.0.0",
"tmp-promise": "^3.0.2",
"unzipper": "^0.10.5",
"url-parse-lax": "^3.0.0",
"x509": "^0.3.4"
},
"devDependencies": {
"cucumber": "^6.0.5",
"docker-compose": "^0.23.10",
"express-swagger-generator": "^1.1.15",
"jest": "^29.1.2",
"mocha": "^7.2.0",
"nock": "^11.9.1",
"nodemon": "^1.19.1",
"randomstring": "^1.1.5",
"supertest": "^6.1.3"
},
"nodemonConfig": {
"ignore": [
"./upload",
"./crypto-config",
"msp"
]
}
}