npm run lib
node script.js
第一次提交git
git init
git add .
git commit -m "commit"
git remote add origin https://github.com/pikaz-18/test.git
git push -u origin master
之后提交git,只需写在package.json中的命令中即可
"scripts": {
"push": "node script.js && npm run lib && git add . && git commit -m 'commit' && git push"
}