audreyr/cookiecutter-jquery

语言: JavaScript

git: https://github.com/audreyr/cookiecutter-jquery

jQuery插件的Cookiecutter模板。基于
Cookiecutter template for a jQuery plugin. Based on
README.md (中文)

18.11-的jQuery

jQuery插件的Cookiecutter模板。请参阅https://github.com/audreyr/cookiecutter。

  • 免费软件:MIT许可证

用法

$ cookiecutter https://github.com/audreyr/cookiecutter-jquery.git
$ ... (fill out the values you want)
$ npm install

生成项目后:

  • 转到https://travis-ci.org/profile,单击[立即同步],然后打开您的仓库的Travis CI挂钩。

分行

这个分支是@ audreyr自己的“自以为是”的项目最终jQuery插件模板。它起初是jQuery Boilerplate,但它已被改编 对于@ audreyr的偏好。

这些是变化:  遵循Felix的Node.js风格指南而不是jQuery核心风格指南:   * 2个空格而不是标签  生成的项目的CONTRIBUTING.md链接到Felix的指南,并有一个拉取请求清单。 * Gruntfile有一个连接任务,可以启动本地服务器并打开demo index.html。默认情况下也会运行此任务。

jQuery的样板

这个分支旨在尽可能接近原始的jquery-boilerplate,我很喜欢它。如果它已经过时,那么对这个分支的拉取请求表示赞赏。

类似的Cookiecutters

  • cookiecutter-jswidget就像是一个非jQuery依赖的版本。

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

cookiecutter-jquery

Cookiecutter template for a jQuery plugin. See https://github.com/audreyr/cookiecutter.

  • Free software: MIT license

Usage

$ cookiecutter https://github.com/audreyr/cookiecutter-jquery.git
$ ... (fill out the values you want)
$ npm install

After generating the project:

Branches

master

This branch is @audreyr's own "opinionated" ultimate jQuery plugin template for projects. It started off as jQuery Boilerplate, but it has since been adapted
for @audreyr's preferences.

These are the changes:
Follows Felix's Node.js Style Guide instead of the jQuery Core Style Guide:
* 2 spaces instead of tabs
The generated project's CONTRIBUTING.md links to Felix's guide and has a pull request checklist.
* Gruntfile has a connect task that starts a local server and opens the demo index.html. This task is also run by default.

jquery-boilerplate

This branch aims to be as close as possible to the original jquery-boilerplate, which I'm a big fan of. If it ever gets out of date, pull requests against this branch are appreciated.

Similar Cookiecutters