Skip to content

Commit 7973f41

Browse files
committed
Add pre-commit hook.
1 parent db427e9 commit 7973f41

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

Diff for: package.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "vim-vsnip",
3+
"version": "1.0.0",
4+
"description": "This aims to plugin like Visual Studio Code's Snippet feature.",
5+
"scripts": {
6+
"test": "themis ."
7+
},
8+
"husky": {
9+
"hooks": {
10+
"pre-commit": "npm run test"
11+
}
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "git+https://github.com/hrsh7th/vim-test-snips.git"
16+
},
17+
"author": "hrsh7th",
18+
"license": "MIT",
19+
"bugs": {
20+
"url": "https://github.com/hrsh7th/vim-test-snips/issues"
21+
},
22+
"homepage": "https://github.com/hrsh7th/vim-test-snips#readme",
23+
"devDependencies": {
24+
"husky": "^3.0.5"
25+
}
26+
}

0 commit comments

Comments
 (0)