Skip to content

Commit

Permalink
Add babel dependencies/config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbassy committed Aug 10, 2017
1 parent d969fa8 commit 973d85b
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion packages/gatsby-source-wordpress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"lodash": "^4.17.4",
"qs": "^6.4.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-runtime": "^6.25.0"
},
"deprecated": false,
"description": "Gatsby source plugin for building websites using the Wordpress CMS as a data source.",
"keywords": [
Expand All @@ -21,5 +28,20 @@
"build": "babel src --out-dir .",
"watch": "babel -w src --out-dir ."
},
"version": "1.6.3"
"version": "1.6.3",
"babel": {
"presets": [
"es2015",
"stage-0"
],
"plugins": [
[
"transform-runtime",
{
"polyfill": false,
"regenerator": true
}
]
]
}
}

0 comments on commit 973d85b

Please sign in to comment.