creativestyle/creative-patterns
Composer 安装命令:
composer require creativestyle/creative-patterns
包简介
Pattern library
README 文档
README
This is creativestyle's pattern library that will contain all of the awesome code written by our great developers.
Local installation
To install the local copy of the library:
- Make sure you have
node >=4.0.0installed on your computer, you can runnode -vin console to check it. - Clone the repository.
- Run
npm installin project's root to install all of the needed dependencies. - Run
npm run serveto build the library and start its website.
Essential commands
Since pattern library's build system is based on gulp, here are some most essential commands which are helpful when working with it.
npm run buildorgulp build- Builds entire pattern library.npm run serveorgulp serve- Builds entire pattern library and fires up local dev server which let's you browse the files.npm run testorgulp test- Build scripts and runs unit tests.- Use
-wor--watchflag to rerun tests each time files change. - Use
-p package_pathor--package package_pathto run tests for single package wherepackage_pathis a path relative topackagesdirectory.
- Use
npm run lintorgulp lint- Lints scripts and styles according to our code style rules.
Adding new components
- Clone it!
- Run
npm installin project's root to install all of the needed dependencies. - Run
npm run generatorto fire up component generator. - Follow generator instructions.
- Write your code in newly generated directory.
- Add documentation and tests.
- Follow Contributing guide since point 2.
Contributing
- Clone it!
- Create your feature branch:
git checkout -b feature-my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin feature/my-new-feature - Submit a merge request :D
creativestyle/creative-patterns 适用场景与选型建议
creativestyle/creative-patterns 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 24.61k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 06 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 creativestyle/creative-patterns 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 creativestyle/creative-patterns 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 24.61k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2018-06-13