-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 2.08 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
{
"name": "@gala-chain/rpg-chaincode",
"version": "1.4.10",
"description": "Product Chaincode",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"scripts": {
"start": "node lib/src/cli.js start",
"clean": "tsc -b --clean",
"build": "tsc -p tsconfig.json",
"build:watch": "tsc -p tsconfig.json -w",
"lint": "eslint . --ext .ts,.js",
"fix": "eslint . --ext .ts,.js --fix",
"format": "prettier --config .prettierrc 'src/**/*.ts' 'e2e/**/*.ts' --write",
"prepublishOnly": "npm run format && npm run build && npm run lint && npm run test",
"network:start": "galachain network:up -C=product-channel -t=curator -n=basic-product -d=./ --envConfig=./.dev-env --watch",
"network:up": "galachain network:up -C=product-channel -t=curator -n=basic-product -d=./ --envConfig=./.dev-env --contracts=$(node lib/src/cli.js get-contract-names | tail -n 1)",
"network:prune": "galachain network:prune",
"network:recreate": "npm run network:prune && rm -rf ./test-network && npm run network:start",
"test": "jest",
"test:e2e": "jest --config=e2e/jest.config.js --runInBand",
"update-snapshot": "jest --updateSnapshot"
},
"dependencies": {
"@gala-chain/api": "1.4.10",
"@gala-chain/chaincode": "1.4.10",
"@grpc/grpc-js": "1.10.10",
"dotenv": "^16.0.1",
"fabric-contract-api": "2.5.6",
"fabric-shim": "2.5.6"
},
"peerDependencies": {
"bignumber.js": "*",
"class-transformer": "*",
"class-validator": "*"
},
"devDependencies": {
"@gala-chain/cli": "1.4.10",
"@gala-chain/client": "1.4.10",
"@gala-chain/test": "1.4.10",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "^29.5.12",
"@types/node": "18.11.9",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-prettier-config": "^1.0.1",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"typescript": "^5.3.3"
}
}