summaryrefslogtreecommitdiff
path: root/gyp/npm_install.gypi
blob: ddd3081ad5d4ff0b17365c65ad8f9340ee5367b7 (plain)
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)']
        }
      ],
    },
  ]
}