fekey
fekey 2.0
Last updated 4 years ago by younth_go .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fekey 
SYNC missed versions from official npm registry.

fekey

基于百度外卖业务,以fis3为基础的前端构建工具

提供面向外卖业务的相关工程的解决方案

支持swig前端模板,支持es6,支持当前外卖nodeui工程前端的构建和发布

npm install -g fekey

普通工程初始化

fekey init normal

smarty前端工程初始化

fekey init php

node前端工程初始化

fekey init node

###解决方案类插件:

###优化类(插件属性:optimizer)

###预处理类

###打包类

###处理swig模板

  1. node前端工程默认引入swig.min.js和fekey-parser-swig插件
  2. 需要在fekey-conf.js中配置fekey-parser-swig处理tmpl文件
fis.match('**.tmpl', {
    parser : "swig",
    release : false
});
  1. 同时在需要使用的js文件中通过__inline的方式引入后编译:
var dataTmpl = swig.compile(__inline('./data.tmpl'));

###新增智能打包能力

fis.match('/client/widget/huodong/member/member.js', {
    autoSmartPack: true
});

会将该文件的所有依赖自动打成一个包

Current Tags

  • 2.0.17                                ...           latest (4 years ago)

38 Versions

  • 2.0.17                                ...           4 years ago
  • 2.0.16                                ...           4 years ago
  • 2.0.15                                ...           4 years ago
  • 2.0.14                                ...           4 years ago
  • 2.0.13                                ...           4 years ago
  • 2.0.12                                ...           4 years ago
  • 2.0.11                                ...           4 years ago
  • 2.0.10                                ...           4 years ago
  • 2.0.9                                ...           4 years ago
  • 2.0.8                                ...           4 years ago
  • 2.0.7                                ...           4 years ago
  • 2.0.6                                ...           4 years ago
  • 2.0.5                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 0.1.9                                ...           4 years ago
  • 0.1.8                                ...           4 years ago
  • 0.1.7                                ...           4 years ago
  • 0.1.6                                ...           4 years ago
  • 0.1.5                                ...           4 years ago
  • 0.1.4                                ...           4 years ago
  • 0.1.3                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.9                                ...           4 years ago
  • 0.0.8                                ...           4 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |