module.exports = function (api) {
api.cache.using(() => process.env.NODE_ENV === "test")
return {
presets: [
['@babel/preset-env', {
"targets": {
"node": "current"
}
}],
]
}
}
"dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server",