Git Product home page Git Product logo

efes-scaffold-example's Introduction

efes-scaffold-example

Built with Gulp

efes scaffold example

##运行 下载或克隆下来后,先运行 npm install 安装npm插件,再运行gulp开启gulp任务。

目录

fonts

字体文件目录

images

图片资源目录

libs

第三方类库

scripts

js脚本文件目录

styles

css样式文件目录

src

开发目录:放置在此目录下的文件(除了jade目录)必须在concatfile.json中配置,才能生成至对应的发布目录中。此目录下的文件,不能直接使用。

src/coffee

coffee文件开发目录。需要在concatfile.json中配置合并、发布的路径。如非特殊需要,合并、发布目录为scripts

src/es6

es6文件开发目录。需要在concatfile.json中配置合并、发布的路径。如非特殊需要,合并、发布目录为scripts

src/js

js文件开发目录。需要在concatfile.json中配置合并、发布的路径。如非特殊需要,合并、发布目录为scripts

src/less

less文件开发目录

src/less/includes

作为引用的less文件开发目录,如:header.less, footer.less等。

src/less/publishs

作为发布,合并的less文件开发目录。需要在concatfile.json中配置合并、发布的路径。如非特殊需要,合并、发布目录为styles

src/css

css文件开发目录.需要在concatfile.json中配置合并、发布的路径。如非特殊需要,合并、发布目录为styles

src/jade

jade文件开发目录

src/jade/includes

作为引用的jade文件开发目录,如:header.jade, footer.jade等

src/jade/publishs

需要发布到根目录下的jade文件开发目录

.csslintrc

csslint检测规则

.eslintrc

eslint检测规则

.efesconfig

efes配置文件

concatfile.json

合并、发布配置文件

gulpfile.js

gulp配置文件

package.json

npm配置文件

gulp任务

1、编译coffee文件
2、编译es6文件
3、编译less文件
4、编译jade文件
5、按concatfile.json中的配置合并、发布js、css文件
6、监控src目录下所有文件,自动执行编译、合并、自动刷新

efes-scaffold-example's People

Contributors

hbxeagle avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.