mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
test node directly
This commit is contained in:
parent
3c2ca11332
commit
909dd0e8a1
8 changed files with 41 additions and 72 deletions
|
|
@ -1,5 +0,0 @@
|
|||
- id: foo
|
||||
name: Foo
|
||||
entry: foo
|
||||
language: node
|
||||
files: \.js$
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
console.log('Hello World');
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"name": "foo",
|
||||
"version": "0.0.1",
|
||||
"bin": {"foo": "./bin/main.js"}
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- id: versioned-node-hook
|
||||
name: Versioned node hook
|
||||
entry: versioned-node-hook
|
||||
language: node
|
||||
language_version: 9.3.0
|
||||
files: \.js$
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
console.log(process.version);
|
||||
console.log('Hello World');
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"name": "versioned-node-hook",
|
||||
"version": "0.0.1",
|
||||
"bin": {"versioned-node-hook": "./bin/main.js"}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue