From bfe5c35945f95d80bfddb6f310be9818409cdc31 Mon Sep 17 00:00:00 2001 From: tower1229 Date: Wed, 3 Jan 2018 10:37:18 +0800 Subject: [PATCH] update npm --- .syncignore | 1 + README.md | 9 +++++++++ package.json | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 .syncignore create mode 100644 package.json diff --git a/.syncignore b/.syncignore new file mode 100644 index 0000000..e392d43 --- /dev/null +++ b/.syncignore @@ -0,0 +1 @@ +{**/*.js.map,**/node_modules/**,src/**,_component/**,_docs/**,docs/**,lib/**,public/**} \ No newline at end of file diff --git a/README.md b/README.md index fda5a59..2c5938b 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,15 @@ [HybridStart专题文章](http://refined-x.com/tags/HybridStart/) +## 下载 + +项目主页:http://refined-x.com/HybridStart/ + +git:`git clone https://github.com/tower1229/HybridStart.git` + +npm:`npm i HybridStart` + + ## 默认集成插件 - [UIPullRefreshFlash](http://docs.apicloud.com/Client-API/UI-Layout/UIPullRefreshFlash)自定义下拉刷新 - [ajpush](http://docs.apicloud.com/Client-API/Open-SDK/ajpush)极光推送 diff --git a/package.json b/package.json new file mode 100644 index 0000000..67407ea --- /dev/null +++ b/package.json @@ -0,0 +1,33 @@ +{ + "name": "HybridStart", + "version": "1.0.0", + "description": "A hybrid application development framework", + "main": "lib/index.js", + "directories": { + "doc": "docs" + }, + "scripts": { + "init": "apicloud wifiStart --port 8686", + "sync": "apicloud wifiSync --project ./ --updateAll false --port 8686", + "stop": "apicloud wifiStop --port 8686" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tower1229/HybridStart.git" + }, + "keywords": [ + "hybridstart", + "hybridapp", + "apicloud", + "hybridstart-cli" + ], + "author": "tower1229@gmail.com", + "license": "MIT", + "bugs": { + "url": "https://github.com/tower1229/HybridStart/issues" + }, + "homepage": "https://github.com/tower1229/HybridStart#readme", + "dependencies": { + "apicloud-cli": "^0.2.0" + } +}