-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.json
117 lines (117 loc) · 4.19 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "@energyweb/issuer-api",
"version": "0.6.1",
"description": "NestJS module for interacting with renewable energy certificates",
"homepage": "https://github.com/energywebfoundation/origin/tree/master/packages/issuer-api#readme",
"author": "EnergyWeb DevHub GmbH; Joseph Bagaric, [email protected]",
"license": "MIT",
"main": "dist/js/src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/energywebfoundation/origin.git"
},
"bugs": {
"url": "https://github.com/energywebfoundation/origin/issues"
},
"bin": {
"issuer-api-migrate": "./bin/issuer-api-migrate"
},
"scripts": {
"build": "yarn build:ts",
"build:ts": "tsc --project tsconfig.json",
"prettier": "prettier --write --config-precedence file-override './src/**/*'",
"lint": "eslint \"src/**/*{.ts,.tsx}\" \"test/**/*{.ts,.tsx}\" --quiet",
"lint-fix": "eslint \"src/**/*{.ts,.tsx}\" \"test/**/*{.ts,.tsx}\" --quiet --fix",
"test": "jest --env 'node'",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:mocha": "mocha -r ts-node/register test/*.e2e-spec.ts --timeout 60000 --exit",
"test:e2e": "yarn typeorm:drop && yarn typeorm:run && npx concurrently --success first --kill-others -n eth,test \"yarn start-ganache\" \"npx wait-on tcp:8581 && yarn test:mocha\"",
"start-ganache": "ganache-cli -m 'chalk park staff buzz chair purchase wise oak receive avoid avoid home' -l 8000000 -e 1000000 -a 20 -p 8581 -q",
"clean": "shx rm -rf dist dist-shakeable",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js --config ormconfig-dev.ts",
"typeorm:migrate": "yarn typeorm migration:generate -- -n",
"typeorm:run": "yarn typeorm migration:run",
"typeorm:drop": "yarn typeorm schema:drop",
"typeorm:dropAndMigrate": "yarn typeorm:drop && yarn typeorm:run",
"precommit": "lint-staged"
},
"dependencies": {
"@energyweb/issuer": "6.0.1",
"@energyweb/origin-backend-core": "8.2.1",
"@energyweb/origin-backend-utils": "1.8.1",
"@energyweb/utils-general": "11.2.1",
"@nestjs/config": "1.0.2",
"@nestjs/passport": "8.0.1",
"@nestjs/schedule": "1.0.1",
"@nestjs/swagger": "5.1.4",
"class-validator": "0.13.2",
"ethers": "5.3.1",
"ew-precise-proofs-js": "1.1.0",
"ganache-cli": "6.12.2",
"moment": "2.29.2",
"moment-range": "4.0.2",
"pg": "8.7.1",
"rxjs": "7.4.0",
"swagger-ui-express": "4.2.0",
"typeorm": "0.2.41",
"cryptr": "6.0.2"
},
"devDependencies": {
"@nestjs/cli": "8.1.4",
"@nestjs/common": "8.1.1",
"@nestjs/core": "8.1.1",
"@nestjs/cqrs": "8.0.0",
"@nestjs/schematics": "8.0.4",
"@nestjs/testing": "8.1.1",
"@nestjs/typeorm": "8.0.2",
"@types/chai": "4.3.0",
"@types/express": "4.17.13",
"@types/jest": "27.4.0",
"@types/mocha": "9.0.0",
"@types/node": "14.18.10",
"@types/superagent": "4.1.15",
"@types/supertest": "2.0.11",
"chai": "4.3.4",
"eslint-plugin-jest": "25.3.4",
"jest": "27.4.5",
"mocha": "9.1.3",
"polly-js": "1.8.3",
"prettier": "2.5.1",
"supertest": "6.1.6",
"ts-node": "9.1.1",
"typescript": "4.5.4",
"@types/cryptr": "4.0.1"
},
"peerDependencies": {
"@nestjs/common": "8.1.1",
"@nestjs/core": "8.1.1",
"@nestjs/cqrs": "8.0.0",
"@nestjs/typeorm": "8.0.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"files": [
"dist",
"bin"
],
"resolutions": {
"tslib": "2.3.1"
}
}