Skip to content

Instantly share code, notes, and snippets.

@christian-schulze
Created August 13, 2019 11:09
Show Gist options
  • Save christian-schulze/91836175f1dc8fe0764dbb5360bad496 to your computer and use it in GitHub Desktop.
Save christian-schulze/91836175f1dc8fe0764dbb5360bad496 to your computer and use it in GitHub Desktop.
babel boilerplate
{
"presets": ["@babel/preset-env"]
}
{
"name": "filter-object",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"scripts": {
"babel-node": "babel-node --ignore \"src/**/*.test.js\",\"node_modules\"",
"build": "babel src --out-dir build",
"start": "nodemon --exec yarn run babel-node -- src/index.js",
"test": "jest"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/node": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"babel-jest": "^24.8.0",
"jest": "^24.8.0",
"nodemon": "^1.19.1"
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment