Moves common utility functions to obtain the repository root, paths (config/data), and Kibana package.json to a @kbn/utils package. Moving these existing functions allows them to be used in production, in other packages because of Kibana. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "@kbn/test",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"license": "Apache-2.0",
|
|
"main": "./target/index.js",
|
|
"scripts": {
|
|
"build": "babel src --out-dir target --delete-dir-on-start --extensions .ts,.js,.tsx --ignore *.test.js,**/__tests__/** --source-maps=inline",
|
|
"kbn:bootstrap": "yarn build",
|
|
"kbn:watch": "yarn build --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.10.5",
|
|
"@kbn/babel-preset": "1.0.0",
|
|
"@kbn/dev-utils": "1.0.0",
|
|
"@kbn/utils": "1.0.0",
|
|
"@types/joi": "^13.4.2",
|
|
"@types/lodash": "^4.14.159",
|
|
"@types/parse-link-header": "^1.0.0",
|
|
"@types/strip-ansi": "^5.2.1",
|
|
"@types/xml2js": "^0.4.5",
|
|
"diff": "^4.0.1"
|
|
},
|
|
"dependencies": {
|
|
"chalk": "^4.1.0",
|
|
"dedent": "^0.7.0",
|
|
"del": "^5.1.0",
|
|
"exit-hook": "^2.2.0",
|
|
"getopts": "^2.2.4",
|
|
"glob": "^7.1.2",
|
|
"joi": "^13.5.2",
|
|
"lodash": "^4.17.15",
|
|
"parse-link-header": "^1.0.1",
|
|
"rxjs": "^6.5.5",
|
|
"strip-ansi": "^5.2.0",
|
|
"tar-fs": "^2.1.0",
|
|
"tmp": "^0.1.0",
|
|
"xml2js": "^0.4.22",
|
|
"zlib": "^1.0.5"
|
|
}
|
|
}
|