move moment to peerDependency in elastic-datemath (#27264)

This commit is contained in:
Nathan Reese 2018-12-14 16:42:32 -07:00 committed by Spencer
parent 9f17c4ae39
commit 459099199e
3 changed files with 8 additions and 5 deletions

View file

@ -92,7 +92,7 @@
]
},
"dependencies": {
"@elastic/datemath": "5.0.1",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "5.6.1",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana2",

View file

@ -1,6 +1,6 @@
{
"name": "@elastic/datemath",
"version": "5.0.1",
"version": "5.0.2",
"description": "elasticsearch datemath parser, used in kibana",
"license": "Apache-2.0",
"main": "target/index.js",
@ -13,10 +13,13 @@
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.7.0"
"babel-preset-env": "^1.7.0",
"moment": "^2.13.0"
},
"dependencies": {
"moment": "^2.13.0",
"tslib": "^1.9.3"
},
"peerDependencies": {
"moment": "^2.13.0"
}
}

View file

@ -117,7 +117,7 @@
"yargs": "4.8.1"
},
"dependencies": {
"@elastic/datemath": "5.0.1",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "5.6.1",
"@elastic/node-crypto": "0.1.2",
"@elastic/node-phantom-simple": "2.2.4",