gulp-css-sprite V0.0.1 初步完成一个读取既定规则的css文件,并且sprite文件中image,然后生成一个sprite.png,并且把新的css内容替换到原css中,生成一个css文件,图片和css文件路径保持原路径不变。
2021-07-09 19:03:18 45KB JavaScript
1
gulp-es6-module-to-closure 编译 ES6 import/export => Google Closure goog.require/goog.provide 注意:为了支持 ES6 特性,引入了一些特殊规则。 请参见下面的示例,尤其是当您使用现有代码中的翻译库时。 安装 npm install gulp-es6-module-to-closure --save-dev 用法 var es6ModuleToClosure = require ( "gulp-es6-module-to-closure" ) ; gulp . src ( "./src/**/*.js" ) . pipe ( es6ModuleToClosure ( { root : 'src' , namespace : "prefix.name.space" } ) )
2021-07-06 17:06:43 23KB JavaScript
1
基于 gulp 的高质量 Web 主题助手 这个项目提供了一个gulp tasks来创建一个应用所有最佳实践的 web 主题,需要新的 web 应用程序现在需要。 它深受启发,但它仅提供构建任务和组织约定,不提供任何额外资源。 虽然开始 Web 主题开发(前端应用程序)添加您需要的东西,但没有提供任何东西,只是为了节省您删除它们的时间。 它提供了什么 它提供了一个包含下一个主要任务的gulpfile : init :创建目录脚手架来组织您的应用程序资产。 serve : 在 3000 端口启动一个 web 服务器。你必须在主题开发过程中使用它。 build :构建主题的生产版本。 serve:dist :在端口 3000 中使用您的主题的生产版本启动 Web 服务器。 clean :清理用于其他任务的输出目录。 要求 要使用此工具,您必须可以使用path的下一个工具,因此操作系
2021-07-05 18:05:15 13KB JavaScript
1
入门 $ git clone https://github.com/jessepollak/gulp-express-coffee-sass.git example $ cd example $ git submodule init && git submodule update $ gulp watch Heroku 部署 在浏览器中访问 ,您应该就可以开始了。 $ heroku create $ heroku config:set BUILDPACK_URL=https://github.com/timdp/heroku-buildpack-nodejs-gulp.git NODE_ENV=production $ git push heroku master $ heroku open 您的浏览器应在新选项卡中打开 heroku 应用程序。
2021-07-03 09:10:12 42KB CoffeeScript
1
Gulp的使用
2021-06-26 09:05:06 4KB gulp
1
大口吞咽 用法 安装包 npm install -g gulp npm install 开始 gulp serve
2021-06-23 16:05:05 131KB JavaScript
1
吞咽尖峰 命令 运行 go server 并观察资产的变化gulp server 为开发编译资产gulp assets:compile 为生产gulp assets:precompile
2021-06-22 11:05:04 3KB JavaScript
1
sass/ | |– base/ | |– _reset.scss # Reset/normalize | |– _typography.scss # Typography rules | ... # Etc… | |– components/ | |– _buttons.scss # Buttons | |– _carousel.scss # Carousel | |– _cover.scss # Cover | |– _dropdown.scss # Dropdown | ... # Etc… | |– layout/ | |– _navigation.scss # Navigation | |– _
2021-06-15 15:21:38 10KB JavaScript
1
gulp-marko-precomplie ( 深度 alpha ) Gulp 的 Marko-Optimizer 包装器 仅用于插件测试目的。 入口点: gulpfile.js 要求: gulp、优化器、through2、express、path、marko 由于优化器gulpfile 的异步性质必须在进入localhost:8080之前运行两次,它也会抛出错误:找不到模块错误
2021-06-15 15:20:30 153KB JavaScript
1
anyfs-ftp-适配器 AnyFS 的 FTP 适配器 用法 var AnyFS = require ( 'anyfs' ) ; var Adapter = require ( 'anyfs-ftp-adapter' ) ; var adapter = new Adapter ( { host : "localhost" , user : "test" , pass : "test" , port : 3334 , } ) ; var fs = new AnyFS ( adapter ) ; fs . list ( '/dir' , function ( err , list ) { console . log ( list ) ; } ) ;
2021-06-13 09:03:52 4KB nodejs gulp gulp-plugin ftp
1