Add to .prettierrc
:
{
"printWidth": 80,
"tabWidth": 2,
"scripts": { | |
"start": "npm run build && node build/app.js", | |
"dev": "nodemon --exec babel-node src/app.js", | |
"build": "npm run clean && npm run build-babel", | |
"build-babel": "babel src -d build", | |
"clean": "rm -rf build && mkdir build" | |
} |
Rename-Item -Path "./data" -NewName "./data_old" | |
Copy-Item -Path "./backup" -Destination "./data" -Recurse | |
Remove-Item "./data/test" -Recurse | |
$dbPaths = Get-ChildItem -Path "./data_old" -Exclude ('mysql', 'performance_schema', 'phpmyadmin') -Recurse -Directory | |
Copy-Item -Path $dbPaths.FullName -Destination "./data" -Recurse | |
Copy-Item -Path "./data_old/ibdata1" -Destination "./data/ibdata1" |