Files
vic-server-mongo/package.json

58 lines
2.2 KiB
JSON

{
"name": "vic.server.mongo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"check": "node --inspect-brk index.js",
"serve-prod-pm2": "cross-env NODE_ENV=production pm2 start index.js --name vic.server.mongo",
"serve-prod-pm2cluster": "cross-env NODE_ENV=production pm2 start index.js --name vic.server.mongo -i max",
"mongodb-install": "cd /root && wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian92-4.2.0.tgz && tar xzf mongodb-linux-x86_64-debian92-4.2.0.tgz && mv mongodb-linux-x86_64-debian92-4.2.0 mongodb && mkdir mongodb/backup && mkdir mongodb/log && mkdir /data && mkdir /data/db",
"mongod": "/root/mongodb/bin/mongod -f /root/vic.server.mongo/mongod.conf --fork --dbpath /data/db",
"mongod-pm2": "pm2 start -x /root/mongodb/bin/mongod -n mongod -- --port 6842 --auth --dbpath /data/db --logpath /root/mongodb/log/mongod.log",
"mongodump": "/root/mongodb/bin/mongodump -h localhost:6842 -d vic -o /root/mongodb/backup",
"mongorestore": "/root/mongodb/bin/mongorestore -h localhost:6842 -d vic /root/mongodb/backup/vic",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Nova.xu",
"license": "ISC",
"dependencies": {
"@alicloud/sms-sdk": "^1.1.6",
"agenda": "^2.0.2",
"agendash": "^1.0.0",
"axios": "^0.19.0",
"bignumber": "^1.1.0",
"bitcore-mnemonic": "^8.6.0",
"body-parser": "^1.16.1",
"bs58check": "^2.1.2",
"bunyan": "^1.8.12",
"bunyan-pretty-colors": "^0.1.7",
"commander": "^2.14.1",
"compression": "^1.7.3",
"cookie-parser": "^1.4.3",
"cors": "^2.8.1",
"cron": "^1.7.1",
"deepmerge": "^4.0.0",
"errorhandler": "^1.5.0",
"ethers": "^4.0.36",
"etherscan-api": "^10.0.4",
"express": "^4.17.1",
"formidable": "^1.2.1",
"helmet": "^3.21.1",
"js-sha3": "^0.8.0",
"jsonwebtoken": "^8.5.1",
"mongodb": "^3.3.0-beta2",
"mongoose": "^5.6.8",
"morgan": "^1.8.1",
"node-schedule": "^1.3.0",
"nodemailer": "^6.3.0",
"socket.io": "^1.0.6",
"tweetnacl": "^1.0.1",
"web3": "^1.2.1"
},
"devDependencies": {
"cross-env": "^7.0.2",
"eslint": "^6.1.0"
}
}