Skip to content

Instantly share code, notes, and snippets.

@lobot
Created December 16, 2021 00:24
Show Gist options
  • Save lobot/20502cc932b26e059528785d4f4959f1 to your computer and use it in GitHub Desktop.
Save lobot/20502cc932b26e059528785d4f4959f1 to your computer and use it in GitHub Desktop.
webhook-basics-add-to-package-json
"scripts": {
"start-dev": "babel-node ./src/index.js",
"dev": "nodemon --exec npm run start-dev",
"start": "npm run build && node ./build/index.js",
"build": "npm run clean && npm run build-babel",
"clean": "npx rimraf /F /Q build",
"build-babel": "babel src --out-dir build --source-maps inline --copy-files",
"test": "echo \"Error: no test specified\" && exit 1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment