diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..cd1587098 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +sudo: false +language: node_js +node_js: + - "5" diff --git a/README.md b/README.md index 0db520990..73ef097c8 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,17 @@ # Element > UI Elements for admin page. -## Demo/Docs -http://element-test.faas.elenet.me/ +## Docs + +Comming soon + +## Demo + + ## Usages ```shell -npm install element-ui +npm install element-ui@next ``` ## Quick Start @@ -61,8 +66,27 @@ Vue.component(Button.name, Button) } ``` +## development + +### Building Tool Installation + +Element UI is built with [cooking](http://cookingjs.github.io/). So before running it you'll need to install [cooking](http://cookingjs.github.io/) globally. + +```bash +$ npm install cooking -g +``` + +### Commands + +```bash +$ make install --- install dependencies +$ make dev --- develop mode +$ make dist --- compile the project +$ make dist-all --- compile each component individually +``` + ## Changelog -Details changes for each release are documented in the [release notes](https://github.com/eleme/element-ui/releases). +Details changes for each release are documented in the [release notes](https://github.com/ElemeFE/element/releases). ## LICENSE MIT diff --git a/examples/assets/images/element-demo.jpeg b/examples/assets/images/element-demo.jpeg new file mode 100644 index 000000000..047e72661 Binary files /dev/null and b/examples/assets/images/element-demo.jpeg differ diff --git a/fe.element/appspec.yml b/fe.element/appspec.yml deleted file mode 100644 index 76c138afd..000000000 --- a/fe.element/appspec.yml +++ /dev/null @@ -1,5 +0,0 @@ -appid: fe.element -version: 1.0.0 -os: linux -language: cdnjs -apptype: web diff --git a/fe.element_build.yml b/fe.element_build.yml deleted file mode 100644 index db0e608cc..000000000 --- a/fe.element_build.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: fe.cooking -version: 0.5.4 -script: - - make deploy -outfile: - - ./fe.element -notifications: - email: - - haiping.zeng@ele.me -branch: - master: alpha_stable diff --git a/package.json b/package.json index e4fb0b9fd..ee6902314 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,6 @@ "gh-docs": "cooking build -c scripts/cooking.demo.js -p && gh-pages -d examples/element-ui --remote origin", "prepublish": "make dist" }, - "faas": { - "domain": "element", - "public": "examples/element-ui" - }, "repository": { "type": "git", "url": "git@github.com:eleme/element-ui.git"