chore: make the 'npm run test' command work out of the box (#14602)

This commit is contained in:
Samuel Attard 2018-09-14 01:30:12 +10:00 committed by GitHub
parent 429b18d7a0
commit 05783d56f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 100 additions and 13 deletions

9
DEPS
View file

@ -61,6 +61,15 @@ hooks = [
'pattern': 'src/electron/package.json',
'name': 'electron_npm_deps'
},
{
'action': [
'python',
'-c',
'import os; os.chdir("src"); os.chdir("electron/spec"); os.system("npm install")',
],
'pattern': 'src/electron/spec/package.json',
'name': 'electron_spec_npm_deps'
},
]
recursedeps = [