保存
Showing
notifications.sh
0 → 100644
| ... | @@ -5,14 +5,16 @@ | ... | @@ -5,14 +5,16 @@ |
| "main": "index.js", | "main": "index.js", | ||
| "scripts": { | "scripts": { | ||
| "test": "echo \"Error: no test specified\" && exit 1", | "test": "echo \"Error: no test specified\" && exit 1", | ||
| "delopy": "sh foo.sh" | "delopy": "sh foo.sh", | ||
| "push_notifications": "sh notifications.sh" | |||
| }, | }, | ||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| "url": "git@gitlab.gzsle.com:wangyan/upgradeSFA.git" | "url": "git@gitlab.gzsle.com:wangyan/upgradeSFA.git" | ||
| }, | }, | ||
| "gitHooks": { | "gitHooks": { | ||
| "pre-commit": "npm run delopy" | "pre-commit": "npm run push_notifications", | ||
| "post-commit": "npm run push_notifications" | |||
| }, | }, | ||
| "author": "", | "author": "", | ||
| "license": "ISC", | "license": "ISC", | ||
| ... | ... |
Please
register
or
sign in
to comment