From 03256c9f71fb5e9db03a4b47d4973c67f336249f Mon Sep 17 00:00:00 2001 From: niunai Date: Mon, 16 Jan 2017 01:11:00 +0800 Subject: [PATCH] test --- components.json | 4 +++- packages/test/CHANGELOG.md | 8 ++++++++ packages/test/README.md | 26 ++++++++++++++++++++++++++ packages/test/index.js | 3 +++ packages/test/package.json | 10 ++++++++++ packages/test/src/main.vue | 14 ++++++++++++++ 6 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 packages/test/CHANGELOG.md create mode 100644 packages/test/README.md create mode 100644 packages/test/index.js create mode 100644 packages/test/package.json create mode 100644 packages/test/src/main.vue diff --git a/components.json b/components.json index 7a67f0e3e..bb488a72a 100644 --- a/components.json +++ b/components.json @@ -1,3 +1,5 @@ { - "sample": "./packages/sample/index.js" + "sample": "./packages/sample/index.js", + "test": "./packages/test/index.js", + "test2": "./packages/test2/index.js" } diff --git a/packages/test/CHANGELOG.md b/packages/test/CHANGELOG.md new file mode 100644 index 000000000..e88c472b3 --- /dev/null +++ b/packages/test/CHANGELOG.md @@ -0,0 +1,8 @@ +## 0.0.2 (2017-01-20) + +* 改了bug A +* 加了功能B + +## 0.0.1 (2017-01-10) + +* 第一版 diff --git a/packages/test/README.md b/packages/test/README.md new file mode 100644 index 000000000..4c6172563 --- /dev/null +++ b/packages/test/README.md @@ -0,0 +1,26 @@ +# @youzan/<%= name %> + +!!! 请在此处填写你的文档最简单描述 !!! + +[![version][version-image]][download-url] +[![download][download-image]][download-url] + +[version-image]: http://npm.qima-inc.com/badge/v/@youzan/<%= name %>.svg?style=flat-square +[download-image]: http://npm.qima-inc.com/badge/d/@youzan/<%= name %>.svg?style=flat-square +[download-url]: http://npm.qima-inc.com/package/@youzan/<%= name %> + +## Demo + +## Usage + +## API + +| 参数 | 说明 | 类型 | 默认值 | 可选值 | +|-----------|-----------|-----------|-------------|-------------| +| className | 自定义额外类名 | string | '' | '' | + + + + +## License +[MIT](https://opensource.org/licenses/MIT) diff --git a/packages/test/index.js b/packages/test/index.js new file mode 100644 index 000000000..59bd195b2 --- /dev/null +++ b/packages/test/index.js @@ -0,0 +1,3 @@ +import SampleComponent from './src/main'; + +export default SampleComponent; diff --git a/packages/test/package.json b/packages/test/package.json new file mode 100644 index 000000000..87ec1b163 --- /dev/null +++ b/packages/test/package.json @@ -0,0 +1,10 @@ +{ + "name": "@youzan/your-component-name", + "version": "0.0.1", + "description": "vue component", + "main": "./lib/index.js", + "author": "who r u", + "license": "MIT", + "devDependencies": {}, + "dependencies": {} +} diff --git a/packages/test/src/main.vue b/packages/test/src/main.vue new file mode 100644 index 000000000..9a9b4a3b0 --- /dev/null +++ b/packages/test/src/main.vue @@ -0,0 +1,14 @@ + + +