add cross-env

This commit is contained in:
luk.lu
2019-09-24 09:22:10 +08:00
parent 540b5467e9
commit 2d262ed94c
2 changed files with 6 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "node --inspect-brk ./",
"mongod": "/mongodb/bin/mongod -f /mongodb/mongodb.conf --logpath /data/log/mongo.log",
"daemon": "cross-env NODE_ENV=production pm2 start index.js --name fiv.server"
"daemon.pm2": "cross-env NODE_ENV=production pm2 start index.js --name fiv.server"
},
"author": "Nova.xu",
"license": "ISC",
@@ -43,6 +43,7 @@
"web3": "^1.2.1"
},
"devDependencies": {
"cross-env": "^6.0.0",
"eslint": "^6.1.0"
}
}