fix test configuration (babel)

This commit is contained in:
Alexander Zobnin
2019-12-25 12:12:36 +03:00
parent cf9780c6ea
commit c1db914376
4 changed files with 529 additions and 1166 deletions

View File

@@ -1,7 +0,0 @@
{
"presets": [
[ "@babel/env", { "targets": { "node": "current" } } ],
"@babel/react"
],
"retainLines": true
}

7
babel.config.js Normal file
View File

@@ -0,0 +1,7 @@
module.exports = {
"presets": [
[ "@babel/preset-env", { "targets": { "node": "current" } } ],
"@babel/react"
],
"retainLines": true
};

View File

@@ -24,8 +24,8 @@
"url": "https://github.com/alexanderzobnin/grafana-zabbix/issues" "url": "https://github.com/alexanderzobnin/grafana-zabbix/issues"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.6.4", "@babel/core": "^7.7.7",
"@babel/preset-env": "^7.6.3", "@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.6.3", "@babel/preset-react": "^7.6.3",
"@grafana/data": "^6.4.2", "@grafana/data": "^6.4.2",
"@grafana/ui": "^6.4.2", "@grafana/ui": "^6.4.2",
@@ -54,7 +54,7 @@
"grunt-cli": "^1.3.1", "grunt-cli": "^1.3.1",
"grunt-execute": "^0.2.2", "grunt-execute": "^0.2.2",
"html-loader": "^0.5.5", "html-loader": "^0.5.5",
"jest": "^23.6.0", "jest": "^24.9.0",
"jscs": "^3.0.7", "jscs": "^3.0.7",
"jsdom": "~11.3.0", "jsdom": "~11.3.0",
"jshint": "^2.9.6", "jshint": "^2.9.6",
@@ -75,7 +75,7 @@
"sass-loader": "7.1.0", "sass-loader": "7.1.0",
"style-loader": "^0.23.1", "style-loader": "^0.23.1",
"tether-drop": "^1.4.2", "tether-drop": "^1.4.2",
"ts-jest": "^23.10.5", "ts-jest": "^24.2.0",
"ts-loader": "^4.4.1", "ts-loader": "^4.4.1",
"tslint": "5.20.1", "tslint": "5.20.1",
"typescript": "3.7.2", "typescript": "3.7.2",

1673
yarn.lock

File diff suppressed because it is too large Load Diff