forked from Colm3na/polkastats-backend-v3
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 3.48 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 3.48 KB
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
{
"name": "polkastats-backend-uniquenetwork",
"version": "1.4.8",
"description": "Block explorer UniqueNetwork",
"main": "index.js",
"types": "module",
"scripts": {
"build": "rm -rf dist && NODE_ENV=production webpack build",
"build:dev": "rm -rf dist && NODE_ENV=development webpack build",
"watch": "NODE_ENV=development webpack watch",
"node-dev": "NODE_ENV=development node-dev ./dist/bundle.js",
"start:dev": "NODE_ENV=development npm run build:dev && npm-run-all --parallel watch node-dev",
"start": "NODE_ENV=production npm run build && node --enable-source-maps -r ./dist/bundle.js --max-old-space-size=128",
"debug": "node inspect -r dotenv/config index.js",
"docker": "docker-compose --env-file .env -f docker/polkastats-backend/docker-compose.yml up -d",
"docker:polkadot": "docker-compose -f docker/polkastats-backend/docker-compose.yml up",
"docker:local": "docker-compose --env-file .env -f docker/polkastats-backend/docker-compose.local.yml up",
"docker:build": "docker-compose -f docker/polkastats-backend/docker-compose.yml build",
"docker:clean": "bash docker/polkastats-backend/clean-polkastats-dockers",
"docker:stop": "docker stop polkastats-backend_crawler_1 polkastats-backend_graphql-engine_1 polkastats-backend_postgres_1 polkastats-backend_substrate-node_1 polkastats-backend_phragmen_1",
"docker:postgres:backup": "docker exec -t polkastats-backend_postgres_1 pg_dump polkastats -c -U polkastats > polkastats_dump.sql",
"docker:rebuild:graphql": "docker-compose -f docker/polkastats-backend/docker-compose-polkadot.yml up -d graphql-engine",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"migration:create": "node_modules/sequelize-cli/lib/sequelize migration:generate --name",
"migration": "ts-node node_modules/sequelize-cli/lib/sequelize db:migrate",
"migration:undo": "node_modules/sequelize-cli/lib/sequelize db:migrate:undo"
},
"repository": {
"type": "git",
"url": "git+https://github.com/UniqueNetwork/polkastats-backend-v3.git"
},
"keywords": [
"blockchain",
"block explorer",
"polkadot",
"substrate"
],
"author": "PolkaStats Team",
"license": "Apache-2.0",
"homepage": "https://github.com/UniqueNetwork/polkastats-backend-v3#readme",
"dependencies": {
"@polkadot/api": "^8.6.2",
"@polkadot/keyring": "^9.3.1",
"@polkadot/rpc-provider": "^8.9.1",
"@polkadot/types": "^8.6.2",
"@polkadot/util": "^9.3.1",
"@unique-nft/sdk": "^0.4.25",
"@unique-nft/unique-mainnet-types": "^0.6.1",
"bignumber.js": "^9.0.2",
"chalk": "^4.1.2",
"dotenv": "^10.0.0",
"lodash": "^4.17.21",
"pg": "^8.4.2",
"pino": "^7.10.0",
"prom-client": "^14.0.1",
"protobufjs": "^6.11.2",
"sequelize": "^6.7.0",
"sequelize-cli": "^6.2.0",
"ts-node": "^10.8.1"
},
"devDependencies": {
"@polkadot/dev": "^0.66.32",
"@types/node": "^17.0.24",
"@types/pino": "^7.0.5",
"@types/sequelize": "^4.28.13",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"eslint": "^8.15.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"jest": "^27.2.1",
"node-dev": "^7.4.3",
"npm-run-all": "^4.1.5",
"source-map-loader": "^3.0.1",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-node-externals": "^3.0.0"
}
}