mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[npm] explicitly depend on real deps
This commit is contained in:
parent
db34b3c226
commit
0403a7bc74
3 changed files with 21 additions and 2 deletions
13
Gruntfile.js
13
Gruntfile.js
|
@ -108,6 +108,19 @@ module.exports = function (grunt) {
|
|||
},
|
||||
files: replaceSrcFiles
|
||||
}
|
||||
},
|
||||
|
||||
run: {
|
||||
npmInstallInBuild: {
|
||||
cmd: 'npm',
|
||||
args: [
|
||||
'install',
|
||||
'--production'
|
||||
],
|
||||
options: {
|
||||
cwd: 'build/sense-<%= pkg.version %>'
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"contributors": [
|
||||
"Spencer Alger <spencer.alger@elastic.co>"
|
||||
],
|
||||
"name": "Sense",
|
||||
"name": "sense",
|
||||
"version": "2.0.0-snapshot",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -27,9 +27,14 @@
|
|||
"grunt-contrib-copy": "^0.8.2",
|
||||
"grunt-gitinfo": "^0.1.7",
|
||||
"grunt-replace": "^0.11.0",
|
||||
"grunt-run": "^0.5.2",
|
||||
"gruntify-eslint": "^1.2.0",
|
||||
"jit-grunt": "^0.9.1"
|
||||
},
|
||||
"dependencies": {},
|
||||
"dependencies": {
|
||||
"boom": "^3.1.2",
|
||||
"joi": "^8.0.4",
|
||||
"lodash": "^4.6.1"
|
||||
},
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ module.exports = function (grunt) {
|
|||
'clean:target',
|
||||
'eslint:source',
|
||||
'copy:build',
|
||||
'run:npmInstallInBuild',
|
||||
'gitinfo',
|
||||
'replace:build',
|
||||
'compress:build'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue