9wares 中文文档教程
Wares-js
用于与 9Wares 通信的 Javascript 库
Adding this library to your project
npm install 9wares --save
Running a demo
node_modules/brunch/bin/brunch watch --server
Building this library
npm run build
- will package it to the dist folder- Everything must be committed by this point
npm version patch|minor|major
- to bump the (appropriate) version
这将创建需要推送的新版本的 git 标记。
git push origin v0.0.0
或者,您可以通过这种方式将“所有”本地标签推送到服务器……
git push origin --tags
您可以使用删除不需要的本地标签以下。 如果创建的版本标签有错误并需要重建但未部署或推送,则很有帮助。
git 标签 -d v0.0.0
Wares-js
Javascript libraries for communicating with 9Wares
Adding this library to your project
npm install 9wares --save
Running a demo
node_modules/brunch/bin/brunch watch --server
Building this library
npm run build
- will package it to the dist folder- Everything must be committed by this point
npm version patch|minor|major
- to bump the (appropriate) version
This will create a git tag of the new version that needs to be pushed.
git push origin v0.0.0
Alternatively, you can push "all" the local tags to the server this way…
git push origin --tags
You can removed undesired local tags using below. Helpful if a version tag was created that had bugs and needed to be rebuilt but wasn't deployed or pushed.
git tag -d v0.0.0