-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
179 lines (179 loc) · 5.71 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "ink-substrate-explorer-api",
"version": "1.1.1",
"description": "Ink Explorer is an application that provides Ink contracts related information on Substrate based blockchains.",
"author": "Blockcoders <[email protected]>",
"license": "MIT",
"readmeFilename": "README.md",
"engineStrict": false,
"engines": {
"node": "^14.x || >=16.x"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "NODE_ENV=production node dist/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint:ci": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"dockers:start": "docker-compose up -d",
"dockers:down": "docker-compose down -v --rmi=local --remove-orphans",
"docker:stop": "docker-compose stop",
"docker:exec": "docker-compose exec",
"logs": "docker-compose logs --tail=60 -f",
"backend:logs": "npm run logs -- backend",
"backend:start": "npm run dockers:start -- backend",
"backend:stop": "npm run docker:stop -- backend",
"backend:rebuild": "docker-compose rm -s -v -f backend && npm run dockers:start -- --build --force-recreate backend",
"backend:restart": "npm run backend:stop && npm run backend:start",
"backend:bash": "docker-compose exec -it backend /bin/sh",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
"typeorm:sync": "npm run typeorm schema:sync",
"typeorm:drop": "npm run typeorm schema:drop",
"typeorm:reset": "npm run typeorm:drop && npm run typeorm:sync",
"typeorm:migrate": "ts-node --transpile-only ./node_modules/typeorm/cli.js migration:generate -d ormconfig.ts -- -n",
"typeorm:create": "ts-node --transpile-only ./node_modules/typeorm/cli.js migration:create -d ormconfig.ts",
"typeorm:run": "ts-node --transpile-only ./node_modules/typeorm/cli.js migration:run -d ormconfig.ts",
"typeorm:revert": "npm run typeorm migration:revert",
"check": "npm run lint && npm run test && npm run build",
"mongo:indexes": "ts-node mongo-indexes"
},
"precommit": [
"lint:ci",
"test:cov"
],
"repository": {
"type": "git",
"url": "git+https://github.com/blockcoders/ink-substrate-explorer-api.git"
},
"keywords": [
"substrate",
"polkadot",
"polkadot-js",
"kusama",
"blockchain",
"nft",
"token",
"erc20",
"trait-erc20",
"erc721",
"trait-erc721",
"erc1155",
"trait-erc1155",
"smart-contracts",
"dot",
"trait",
"ink!",
"ink",
"ink-contract",
"ink-event"
],
"bugs": {
"url": "https://github.com/blockcoders/ink-substrate-explorer-api/issues"
},
"homepage": "https://github.com/blockcoders/ink-substrate-explorer-api#readme",
"dependencies": {
"@fastify/compress": "^5.0.0",
"@fastify/helmet": "^8.1.0",
"@nestjs/apollo": "^10.1.6",
"@nestjs/common": "^8.4.7",
"@nestjs/config": "^2.2.0",
"@nestjs/core": "^8.4.7",
"@nestjs/graphql": "^10.1.6",
"@nestjs/mapped-types": "^1.2.0",
"@nestjs/platform-fastify": "^8.4.7",
"@nestjs/typeorm": "^9.0.1",
"@polkadot/api": "9.10.1",
"@polkadot/api-augment": "9.10.1",
"@polkadot/api-contract": "9.10.1",
"@polkadot/types": "9.10.1",
"@polkadot/types-codec": "9.10.1",
"@polkadot/types-create": "9.10.1",
"@polkadot/util": "10.2.1",
"apollo-server-fastify": "^3.11.1",
"async-await-retry": "^2.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"compression": "^1.7.4",
"fastify": "^3.29.3",
"graphql": "^16.6.0",
"graphql-type-json": "^0.3.2",
"mongodb": "^4.12.1",
"mongoose": "^6.8.0",
"nestjs-pino": "^3.1.1",
"p-queue": "^6.6.2",
"pg": "^8.8.0",
"pino": "^8.7.0",
"pino-http": "^8.2.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.7",
"typeorm": "^0.3.10",
"uuid": "^8.3.2",
"uuidv4": "^6.2.13"
},
"devDependencies": {
"@jest/types": "^28.1.3",
"@nestjs/cli": "^8.2.8",
"@nestjs/schematics": "^8.0.11",
"@nestjs/testing": "^8.4.7",
"@types/jest": "^28.1.8",
"@types/node": "^16.18.3",
"@types/supertest": "^2.0.12",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.3",
"pino-pretty": "^8.1.0",
"pre-commit": "^1.2.2",
"prettier": "^2.7.1",
"supertest": "^6.3.1",
"ts-jest": "^28.0.8",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "4.7.4",
"webpack": "^5.75.0"
},
"jest": {
"verbose": true,
"testTimeout": 40000,
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s",
"!**/*.module.ts",
"!env/env.validation.ts",
"!main.ts"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/$1",
"^test/(.*)$": "<rootDir>/../test/$1"
}
}
}