- Notifications
You must be signed in to change notification settings - Fork119
leancloud/javascript-sdk
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
JavaScript SDK forLeanCloud.
// npm 安装npm install leancloud-storage --save// npm 安装 2.x 版本npm install leancloud-storage@2 --save- 如果你发现了新的 bug,或者有新的 feature request,请新建一个 issue
- 在使用过程中遇到了问题时
- 如果你是商用版用户,请新建一个工单。
- 也可以在论坛 提问、讨论。
如果你希望为这个项目贡献代码,请按以下步骤进行:
fork这个项目npm install安装相关依赖- 开发和调试
- 确保测试全部通过
npm run test,浏览器环境打开test/test.html - 提交并发起
Pull Request
项目的目录结构说明如下:
├── dist // 编译之后生成的文件将会在此目录下│ ├── av.js // 浏览器版本│ ├── av-min.js│ ├── av-weapp.js // 小程序版本│ ├── av-weapp-min.js│ ├── node // 目录中为生成的 nodejs 版本代码│ └── ...├── src│ ├── index.js // node.js 环境入口文件│ └── ...└── test // 单元测试- 遵循 semver 提升版本号
- src/version.js
- package.json
- 对照 commit 历史写 changelog
- 提交当前所有改动
- 等待持续集成 pass
- 使用 GitHub 基于 dist 分支发布一个 release
- Fetch and checkout remote
distbranch 并确认该提交的内容是即将发布的版本 - npm publish(
npm publish,需 npm 协作者身份),如果是 pre-release 版本需要带 next tag
About
LeanCloud JavaScript SDK
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.