609d75103c
* [APM] Add new kibana package '@kbn/babel-plugin-apm-idx' based on 'babel-plugin-idx' to work with the APM implementation of the deep object property helper function. Configure it as a babel plugin in the common babel preset. * [APM] modified the expanded output code to handle null checking correction for nested properties and added tests. * [APM] use same versions of babel and jest as core kibana. fixes broken tests. * [APM] created namespaced package `@kbn/elastic-idx`. Made available the apm/common/idx and the corresponding babel plugin under this package. Modified all imports of apm/common/idx to @kbn/elastic-idx. * [APM] add typescript build to the @kbn/elastic-idx package * [APM] fix idx import and linting failures * [APM] make @kbn/elastic-idx/babel plugin detect idx calls as member functions from the bound scope
17 lines
483 B
JSON
17 lines
483 B
JSON
{
|
|
"name": "@kbn/babel-preset",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@babel/plugin-proposal-class-properties": "^7.3.4",
|
|
"@babel/preset-react":"^7.0.0",
|
|
"@babel/preset-env": "^7.3.4",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@kbn/elastic-idx": "1.0.0",
|
|
"babel-plugin-add-module-exports": "^1.0.0",
|
|
"babel-plugin-transform-define": "^1.3.1",
|
|
"babel-plugin-typescript-strip-namespaces": "^1.1.1"
|
|
}
|
|
}
|