Skip to content
This repository was archived by the owner on Jun 19, 2018. It is now read-only.

Add webpack configurator tools #20

Merged
merged 15 commits into from
Apr 22, 2018
Merged
17 changes: 17 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"presets": [
[
"env",
{
"targets": {
"node": [
"8"
]
}
}
]
],
"plugins": [
["transform-class-properties", { "spec": true }]
]
}
9 changes: 7 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
const config = {
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: '2017'
sourceType: 'script'
},
extends: ['@magento']
extends: ['@magento', "plugin:node/recommended"],
plugins: [
"babel",
"node"
]
};

module.exports = config;
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ npm-debug.log
coverage
dist
test-report.xml
.vscode
Loading