承接 ttree/gulpfilejs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ttree/gulpfilejs

Composer 安装命令:

composer require ttree/gulpfilejs

包简介

Gulpfile.js tailored to Flow Framework and Neos CMS project

README 文档

README

Stolen files originaly created by jonnitto and carefully packaged for your Flow Framework and Neos CMS project.

Installation

composer require --dev ttree/gulpfilejs

When the package is installed you can copy the templates files:

cp -rT Build/Gulp/templates ./

Warning: Check the content of the templates directory to not override important stuffs on your distribution. Your are free to not use the provided templates or customize them to match your own requirements. The following document is based on the official templates.

Edit the package.json in your distribution directory to match your requirements.

nvm use # to enable the correct 
yarn install
yarn run tasks

You must see something like:

[14:14:53] Tasks for ~/Sites/dev/www.domain.dev/Build/Gulp
[14:14:53] ├── build             Generates all  Assets, Javascript and CSS files
[14:14:53] │   --b, --beautify  … Beautify and dont't compress files
[14:14:53] │   --d, --debug     … Files dont't get compressed and sourcemaps get genereated
[14:14:53] │   --m, --maps      … Write sourcemaps
[14:14:53] ├── css              Render CSS Files
[14:14:53] │   --b, --beautify  … Beautify and dont't compress files
[14:14:53] │   --d, --debug     … Files dont't get compressed and sourcemaps get genereated
[14:14:53] │   --m, --maps      … Write sourcemaps
[14:14:53] ├─┬ default           Generates all  Assets, Javascript and CSS files &  watch them
[14:14:53] │ │ --b, --beautify  … Beautify and dont't compress files
[14:14:53] │ │ --d, --debug     … Files dont't get compressed and sourcemaps get genereated
[14:14:53] │ │ --m, --maps      … Write sourcemaps
[14:14:53] │ └─┬ <series>
[14:14:53] │   ├── build
[14:14:53] │   └── watch
[14:14:53] ├── js               Render Javascript Files
[14:14:53] │   --b, --beautify  … Beautify and dont't compress files
[14:14:53] │   --d, --debug     … Files dont't get compressed and sourcemaps get genereated
[14:14:53] │   --m, --maps      … Write sourcemaps
[14:14:53] ├── jsLint           Lint Javascript files
[14:14:53] ├── optimizeImages   Optimize images and overrite them in the public folder
[14:14:53] ├─┬ pipeline         Build task for pipeline
[14:14:53] │ └─┬ <series>
[14:14:53] │   ├── build
[14:14:53] │   └── optimizeImages
[14:14:53] ├── scss             Render _all.scss and _allsub.scss Files
[14:14:53] ├── sprite           Create SVG Sprite
[14:14:53] └── watch            Watch files and regenereate them
✨  Done in 5.61s.

Check jonnitto for more details informations.

Warning: This package currently don't support Babel, we opt to use Bublé most of the time, maybe this can change in the future. The original version from jonnitto support both Bublé (default) and Babel.

Features

  • RollupJS (module bundler)
  • Bublé (the blazing fast, batteries-included ES2015 compiler)
  • PostCSS
  • Browsersync
  • Assets (JS/CSS) pre compression with Broetli and Zoepfli
  • Gulp, Uglify, Image optimizations, SVG Sprites, ...

Configuration

You can read the default configuration in config.json, if you need to override the configuration for a specific site package, you can create a Gulp.json in the Configuration directory, like this:

{
    "root": {
        "notifications": true
    },
    "browserSync": {
        "enable": true,
        "proxy": "https://www.domain.dev:8180"
    },
    "tasks": {
        "compress": true
    }
}

This configuration will enable system notification, browsersync and enable global compression of static assets (JS/CSS) with Broetli and Zoepfli.

Acknowledgments

All the hard work has been done by jonnitto

Packaging and fork sponsored by ttree ltd - neos solution provider.

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.

License

Licensed under MIT, see LICENSE

ttree/gulpfilejs 适用场景与选型建议

ttree/gulpfilejs 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 671 次下载、GitHub Stars 达 1, 最近一次更新时间为 2017 年 07 月 27 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 ttree/gulpfilejs 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 ttree/gulpfilejs 我们能提供哪些服务?
定制开发 / 二次开发

基于 ttree/gulpfilejs 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 671
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-27