# elephant **Repository Path**: ten_suns/elephant ## Basic Information - **Project Name**: elephant - **Description**: 大象医疗官网前端代码 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-03-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 大象医疗官网 # 开发环境 ## 开发环境 以nodejs为基础,gulp+webpack+typings搭建前端自动化模块,并采用bower进行包模块管理 ### 需安装nodejs 、 gulp 、webpack 、bower * 'npm install -g gulp' * 'npm install -g webpack' * 'npm install -g bower' ### gulpfile 主要模块 * gulp start 启动项目 * browser-sync 启动服务器 * watch 监听修改 * sass scss翻译 * html 静态模板渲染 * gulp test js和css检查 * jshint js校验 * css-lint css校验 * gulp 生成压缩包 * image 图片压缩 * dist js和css压缩及生成压缩包 ## 项目运行 * 'npm install' * 'bower install' * 'gulp start' ## 备注 ### 如果使用typescript开发js,在'gulp start'之前 * 'npm install -g typescript typings' * 'npm link typescript' ### SCSS 文件说明 * 参考https://github.com/marvin1023/sandal.git 和 https://github.com/jimyuan/tmpl.git