Commit 8414c3c0 by 王岩

保存

parent 63f50c38
#!/bin/sh
echo "delpoy是是是"
\ No newline at end of file
...@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment