mirror of
https://github.com/spaytac/orbiter.git
synced 2026-01-21 21:54:50 +00:00
Add git hooks and standard for linting
This commit is contained in:
parent
0e8be22711
commit
b13a7cb851
1037
ui/package-lock.json
generated
1037
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,9 @@
|
|||||||
"dev": "next",
|
"dev": "next",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "standard && npm list 1>/dev/null",
|
||||||
|
"precommit": "npm test",
|
||||||
|
"prepush": "npm test"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -23,5 +25,9 @@
|
|||||||
"next": "^3.0.6",
|
"next": "^3.0.6",
|
||||||
"react": "^15.6.1",
|
"react": "^15.6.1",
|
||||||
"react-dom": "^15.6.1"
|
"react-dom": "^15.6.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"husky": "^0.14.3",
|
||||||
|
"standard": "^10.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user