Update the versioned node hook test

This commit is contained in:
Anthony Sottile 2018-01-11 22:20:21 -08:00
parent 577f1093cf
commit b4541d8a5f
6 changed files with 13 additions and 13 deletions

View file

@ -0,0 +1,6 @@
- id: versioned-node-hook
name: Versioned node hook
entry: versioned-node-hook
language: node
language_version: 9.3.0
files: \.js$

View file

@ -0,0 +1,4 @@
#!/usr/bin/env node
console.log(process.version);
console.log('Hello World');

View file

@ -0,0 +1,5 @@
{
"name": "versioned-node-hook",
"version": "0.0.1",
"bin": {"versioned-node-hook": "./bin/main.js"}
}