Skip to content

Instantly share code, notes, and snippets.

@spring8904
Created December 29, 2023 04:03
Show Gist options
  • Save spring8904/69a0bc5fc846d1f86ece771c3c439ced to your computer and use it in GitHub Desktop.
Save spring8904/69a0bc5fc846d1f86ece771c3c439ced to your computer and use it in GitHub Desktop.
build babel
"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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment