我正在使用gulp,bower,stylus进行
angularjs应用.
我没有使用任何持续集成技术,当git push被设置为bitbucket上的master分支时,git手动从repo中提取代码,考虑到这种情况:
>包含bower.json,package.json和.是一个好习惯
生产服务器上的gulpfile.js并安装依赖项
在服务器上通过npm install或bower install手动安装?
>在服务器上包含gulpfile.js是否安全?
此外,如果使用任何持续集成技术,最佳做法是什么?
我的.gitignore文件如下:
node_modules dist .tmp .sass-cache bower_components private.xml nbproject gruntfile.js gulpfile.js package.json