mirror of
https://github.com/yjs/yjs.git
synced 2025-12-29 00:25:01 +01:00
updated precommit
This commit is contained in:
@@ -1 +0,0 @@
|
||||
node_modules
|
||||
10
.jshintrc
10
.jshintrc
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"node": true,
|
||||
|
||||
"curly": true,
|
||||
"latedef": true,
|
||||
"quotmark": true,
|
||||
"undef": true,
|
||||
"unused": true,
|
||||
"trailing": true
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"scripts": {
|
||||
"lint": "jshint ."
|
||||
},
|
||||
"pre-commit": ["lint", "validate", "test"]
|
||||
}
|
||||
@@ -5,11 +5,13 @@
|
||||
"main": "y.js",
|
||||
"scripts": {
|
||||
"test": "gulp test",
|
||||
"lint": "gulp lint"
|
||||
"lint": "gulp lint",
|
||||
"build": "gulp build"
|
||||
},
|
||||
"pre-commit": [
|
||||
"lint",
|
||||
"test"
|
||||
"test",
|
||||
"build"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user