forked from energywebfoundation/origin-247-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 3.57 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
{
"name": "@energyweb/origin-247-transfer",
"version": "3.0.1",
"main": "./dist/js/src/index.js",
"types": "./dist/js/src/index.d.ts",
"scripts": {
"test:unit": "jest --testRegex '\\.spec\\.ts$'",
"test:e2e": "concurrently --success first --kill-others -n eth,test \"yarn run:ganache\" \"wait-on tcp:8546 && yarn drop && yarn migrate && yarn test:e2e:jest\"",
"test:e2e:jest": "WEB3=http://localhost:8546 OPERATOR_ENCRYPTION_KEY=pass ISSUER_PRIVATE_KEY=0xb9e54b01a556f150e05272c25a9362096bce3b86e81e481c4d263e7768ac8c74 jest --testRegex '.e2e-spec.ts$' --forceExit --maxWorkers 1",
"build": "tsc --project tsconfig.json",
"migrate": "yarn typeorm:run && yarn typeorm:run:certificate",
"drop": "yarn typeorm:drop && yarn typeorm:drop:certificate",
"typeorm": "ts-node -r tsconfig-paths/register node_modules/typeorm/cli.js --config ormconfig-dev.ts",
"typeorm:drop": "yarn typeorm schema:drop",
"typeorm:run": "yarn typeorm migration:run",
"typeorm:run:certificate": "node_modules/typeorm/cli.js migration:run --config node_modules/@energyweb/origin-247-certificate/dist/js/ormconfig.js",
"typeorm:drop:certificate": "node_modules/typeorm/cli.js schema:drop --config node_modules/@energyweb/origin-247-certificate/dist/js/ormconfig.js",
"run:ganache": "ganache-cli -q -m 'govern long helmet alert stay supply kick knife boss until buzz unlock' -l 8000000 -e 1000000 -a 20 -p 8546",
"publish:canary": "lerna publish --yes --skip-git --exact --cd-version=prerelease --pre-dist-tag canary --preid=alpha.$BUILD_ID",
"publish:release": "lerna version --create-release github --conventional-commits --exact --yes --message \"chore(release): publish /skip-deploy\" && lerna publish from-git --yes"
},
"dependencies": {
"cache-manager": "3.4.4",
"ethers": "5.3.1",
"lodash": "4.17.21",
"pg": "8.7.1",
"rxjs": "7.4.0",
"typeorm": "0.2.41"
},
"peerDependencies": {
"@energyweb/origin-247-certificate": "^2.0.0",
"@nestjs/common": "8.1.1",
"@nestjs/core": "8.1.1",
"@nestjs/cqrs": "8.0.0",
"@nestjs/typeorm": "8.0.2"
},
"devDependencies": {
"@energyweb/issuer": "6.0.2-alpha.1646058469.0",
"@energyweb/origin-247-certificate": "4.1.0",
"@energyweb/origin-backend-utils": "1.8.2-alpha.1646058469.0",
"@energyweb/utils-general": "11.2.2-alpha.1646058469.0",
"@nestjs/bull": "0.4.2",
"@nestjs/common": "8.1.1",
"@nestjs/core": "8.1.1",
"@nestjs/cqrs": "8.0.0",
"@nestjs/passport": "8.0.1",
"@nestjs/platform-express": "8.1.1",
"@nestjs/testing": "8.1.1",
"@nestjs/typeorm": "8.0.2",
"@types/cache-manager": "3.4.2",
"@types/cache-manager-ioredis": "2.0.2",
"@types/jest": "26.0.23",
"@types/lodash": "4.14.176",
"@types/node": "16.11.3",
"bull": "3.29.3",
"cache-manager-ioredis": "2.1.0",
"class-transformer": "0.4.0",
"concurrently": "6.3.0",
"ganache-cli": "6.12.2",
"jest": "27.0.5",
"ts-jest": "27.0.3",
"ts-node": "9.1.1",
"tsconfig-paths": "3.10.1",
"typescript": "4.3.4",
"wait-on": "6.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}