1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{ 'targets': [ { 'target_name': 'npm_install', 'type': 'none', 'hard_dependency': 1, 'actions': [ { 'action_name': 'npm install', 'inputs': [ '../bin/package.json', ], 'outputs': [ '../bin/node_modules', ], 'action': ['./scripts/npm_install.sh', '<@(npm)'] } ], }, ] }