-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
152 lines (152 loc) · 5.25 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
{
"name": "explorer",
"version": "4.3.0",
"description": "Zen Protocol block explorer",
"main": "server/index.js",
"scripts": {
"start": "npm run server:start",
"dev": "npm-run-all -s docker:up client:start",
"dev:all": "npm-run-all -s docker:up:all client:start",
"server:start": "node server/index.js",
"server:dev": "nodemon --inspect=0.0.0.0:9229 -w ./server --nolazy server/index.js",
"heroku-postbuild": "npm run heroku:client:build",
"heroku-release": "npm run heroku:db:migrate",
"heroku:db:migrate": "npx sequelize db:migrate",
"heroku:client:build": "npm run client:build",
"heroku:server:start": "pm2-runtime start ecosystem.config.js --env production",
"docker:up": "docker-compose up -d",
"docker:up:all": "docker-compose -f docker-compose.yml -f docker-compose.optional.yml up -d",
"docker:stop": "docker-compose -f docker-compose.yml -f docker-compose.optional.yml stop",
"docker:logs": "docker-compose -f docker-compose.yml -f docker-compose.optional.yml logs -f --tail=20",
"presetup": "npm install",
"setup": "npm-run-all -s setup:script client:build docker:up:all setup:db docker:stop",
"setup:script": "node setup.js",
"setup:db": "docker-compose exec web npm run setup:docker:db",
"setup:docker:db": "npm run setup:docker:db:test && npm run setup:docker:db:development",
"setup:docker:db:test": "cross-env NODE_ENV=test npx sequelize db:create && cross-env NODE_ENV=test npx sequelize db:migrate",
"setup:docker:db:development": "npx sequelize db:create && npx sequelize db:migrate",
"test": "npm-run-all -s test:server test:worker test:client:lib",
"pretest": "cross-env NODE_ENV=test npx sequelize db:migrate:undo:all && cross-env NODE_ENV=test npx sequelize db:migrate",
"test:server": "cross-env NODE_ENV=test tape 'server/**/*.test.js' | tap-bail | tap-spec",
"test:worker": "cross-env NODE_ENV=test tape 'worker/**/*.test.js' | tap-bail | tap-spec",
"test:client:lib": "babel-tape-runner 'src/**/*.lib.test.js' | tap-bail | tap-spec",
"test:coverage": "cross-env NODE_ENV=test nyc tape server/**/*.test.js",
"client:start": "cross-env PORT=3001 BROWSER=none react-scripts start",
"client:build": "react-scripts build",
"client:test": "react-scripts test",
"client:eject": "react-scripts eject",
"release": "standard-version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zenprotocol/explorer.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/zenprotocol/explorer/issues"
},
"homepage": "http://mywebsite.com/public",
"dependencies": {
"@babel/core": "^7.10.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.10.4",
"@babel/register": "^7.10.5",
"@popperjs/core": "^2.6.0",
"@types/react": "^16.9.43",
"@zen/zenjs": "0.0.84",
"asset-require-hook": "^1.2.0",
"axios": "^0.24.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-preset-react-app-babel-7": "^4.0.2-0",
"bech32": "^1.1.4",
"bigi": "^1.4.2",
"body-parser": "^1.19.0",
"bootstrap": "^4.5.0",
"bull": "^3.16.0",
"classnames": "^2.2.6",
"clipboard-polyfill": "^3.0.0",
"colors": "^1.4.0",
"common-tags": "^1.8.0",
"compression": "^1.7.4",
"core-js": "^3.6.5",
"cors": "^2.8.5",
"decimal.js": "^10.2.0",
"deepmerge": "^4.2.2",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"file-loader": "^6.0.0",
"helmet": "^3.23.3",
"highcharts": "^8.1.2",
"http-status": "^1.4.2",
"ignore-styles": "^5.0.1",
"js-file-download": "^0.4.12",
"js-sha3": "^0.8.0",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"mobx": "^5.15.4",
"mobx-react": "^6.2.2",
"morgan": "^1.10.0",
"nconf": "^0.11.3",
"node-sass": "^4.14.1",
"pg": "^8.3.0",
"pg-hstore": "^2.3.3",
"pm2": "^4.5.4",
"prop-types": "^15.7.2",
"ramda": "^0.27.0",
"react": "^16.13.1",
"react-day-picker": "^7.4.8",
"react-dom": "^16.13.1",
"react-dropdown": "^1.7.0",
"react-helmet": "^6.1.0",
"react-highcharts": "^16.1.0",
"react-highlight": "^0.14.0",
"react-loadable": "^5.5.0",
"react-popper": "^2.2.4",
"react-router-dom": "^5.2.0",
"react-scripts": "^3.4.1",
"react-table": "^6.11.5",
"sequelize": "^6.11.0",
"sequelize-cli": "^6.3.0",
"sitemap": "^6.2.0",
"slack-node": "^0.1.8",
"sywac": "^1.3.0",
"url-loader": "^4.1.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/express": "^4.17.7",
"@types/node": "^14.0.24",
"@types/tape": "^4.13.0",
"babel-tape-runner": "^3.0.0",
"blue-tape": "^1.0.0",
"cross-env": "^7.0.2",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-security": "^1.4.0",
"faker": "^4.1.0",
"nodemon": "^2.0.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"standard-version": "^8.0.2",
"supertest": "^4.0.2",
"tap-bail": "^1.0.0",
"tap-spec": "^5.0.0",
"tape": "^5.0.1",
"testdouble": "^3.16.1"
},
"engines": {
"node": "10.x"
},
"nyc": {
"include": [
"server/**"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}