forked from energywebfoundation/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 5.47 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
118
119
120
121
122
123
{
"name": "@energyweb/exchange-irec",
"version": "1.2.1",
"description": "A service project hosting order book based I-REC specific exchange",
"homepage": "https://github.com/energywebfoundation/origin/tree/master/packages/exchange-irec#readme",
"author": "EnergyWeb DevHub GmbH; Piotr Kosinski, [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": {
"origin-exchange-migrate": "./bin/origin-exchange-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' --passWithNoTests",
"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:run:all && npx concurrently --success first --kill-others -n eth,test \"yarn start-ganache\" \"npx wait-on tcp:8545 && 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 8545 -q",
"clean": "shx rm -rf dist dist-shakeable",
"precommit": "lint-staged",
"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",
"typeorm:run:issuer": "node_modules/typeorm/cli.js migration:run --config node_modules/@energyweb/issuer-irec-api/dist/js/ormconfig.js",
"typeorm:run:device-registry": "node_modules/typeorm/cli.js migration:run --config node_modules/@energyweb/origin-device-registry-api/dist/js/ormconfig.js",
"typeorm:run:organization": "node_modules/typeorm/cli.js migration:run --config node_modules/@energyweb/origin-organization-irec-api/dist/js/ormconfig.js",
"typeorm:run:origin-backend": "node_modules/typeorm/cli.js migration:run --config node_modules/@energyweb/origin-backend/dist/js/ormconfig.js",
"typeorm:run:device-registry-irec": "node_modules/typeorm/cli.js migration:run --config node_modules/@energyweb/origin-device-registry-irec-local-api/dist/js/ormconfig.js",
"typeorm:run:all": "yarn typeorm:run:organization && yarn typeorm:run:origin-backend && yarn typeorm:run:device-registry-irec && yarn typeorm:run:device-registry && yarn typeorm:run:issuer && yarn typeorm migration:run"
},
"dependencies": {
"@energyweb/exchange": "1.13.1",
"@energyweb/exchange-core": "3.2.5",
"@energyweb/exchange-core-irec": "1.0.7",
"@energyweb/issuer": "6.0.1",
"@energyweb/issuer-api": "0.6.1",
"@energyweb/issuer-irec-api": "0.5.1",
"@energyweb/issuer-irec-api-wrapper": "1.1.1",
"@energyweb/origin-backend": "11.2.1",
"@energyweb/origin-backend-core": "8.2.1",
"@energyweb/origin-backend-utils": "1.8.1",
"@energyweb/origin-device-registry-api": "1.1.1",
"@energyweb/origin-device-registry-irec-local-api": "1.1.1",
"@energyweb/origin-organization-irec-api": "1.8.1",
"@energyweb/utils-general": "11.2.1",
"@nestjs/common": "8.1.1",
"@nestjs/config": "1.0.2",
"@nestjs/core": "8.1.1",
"@nestjs/cqrs": "8.0.0",
"@nestjs/passport": "8.0.1",
"@nestjs/platform-express": "8.1.1",
"@nestjs/swagger": "5.1.4",
"@nestjs/typeorm": "8.0.2",
"bn.js": "5.2.0",
"class-transformer": "0.3.1",
"class-validator": "0.13.2",
"immutable": "4.0.0",
"moment": "2.29.2",
"pg": "8.7.1",
"reflect-metadata": "0.1.13",
"rxjs": "7.4.0",
"typeorm": "0.2.41"
},
"devDependencies": {
"@nestjs/cli": "8.1.4",
"@nestjs/schematics": "8.0.4",
"@nestjs/testing": "8.1.1",
"@types/bn.js": "5.1.0",
"@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",
"ganache-cli": "6.12.2",
"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"
},
"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"
]
}