Skip to content

Commit 4d24fb0

Browse files
committed
🔖 1.0.0
1 parent 1fb658b commit 4d24fb0

File tree

4 files changed

+28
-5
lines changed

4 files changed

+28
-5
lines changed

.coveralls.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
repo_token: Fybnzn6f3uZVXKohjjSPxsusD5X6eI8Ig
2+

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
1+
[![NPM version][npm-image]][npm-url]
2+
[![build status][travis-image]][travis-url]
3+
[![Test coverage][coveralls-image]][coveralls-url]
4+
[![David deps][david-image]][david-url]
5+
[![npm download][download-image]][download-url]
6+
[![npm license][license-image]][download-url]
7+
8+
[npm-image]: https://img.shields.io/npm/v/vue-json-ui-editor.svg?style=flat-square
9+
[npm-url]: https://npmjs.org/package/vue-json-ui-editor
10+
[travis-image]: https://img.shields.io/travis/yourtion/vue-json-ui-editor.svg?style=flat-square
11+
[travis-url]: https://travis-ci.org/yourtion/vue-json-ui-editor
12+
[coveralls-image]: https://img.shields.io/coveralls/yourtion/vue-json-ui-editor.svg?style=flat-square
13+
[coveralls-url]: https://coveralls.io/r/yourtion/vue-json-ui-editor?branch=master
14+
[david-image]: https://img.shields.io/david/yourtion/vue-json-ui-editor.svg?style=flat-square
15+
[david-url]: https://david-dm.org/yourtion/vue-json-ui-editor
16+
[download-image]: https://img.shields.io/npm/dm/vue-json-ui-editor.svg?style=flat-square
17+
[download-url]: https://npmjs.org/package/vue-json-ui-editor
18+
[license-image]: https://img.shields.io/npm/l/vue-json-ui-editor.svg
19+
120
# json-editor
221

322
[![Greenkeeper badge](https://badges.greenkeeper.io/yourtion/vue-json-ui-editor.svg)](https://greenkeeper.io/)
23+
[![DeepScan grade](https://deepscan.io/api/teams/2046/projects/2774/branches/19927/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2046&pid=2774&bid=19927)
424

525
Edit JSON in UI form with JSON Schema and Vue.js `<json-editor>` component.
626

lib/json-editor.min.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ return /******/ (function(modules) { // webpackBootstrap
7777
/* 0 */
7878
/***/ (function(module, exports) {
7979

80-
var core = module.exports = { version: '2.5.6' };
80+
var core = module.exports = { version: '2.5.7' };
8181
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
8282

8383

@@ -440,7 +440,7 @@ var defaultGroup = { component: 'div', option: option };
440440
created: function created() {
441441
Object(__WEBPACK_IMPORTED_MODULE_4__parser__["a" /* loadFields */])(this, Object(__WEBPACK_IMPORTED_MODULE_5__utils__["deepClone"])(this.schema));
442442
this.default = Object(__WEBPACK_IMPORTED_MODULE_5__utils__["deepClone"])(this.value);
443-
this.data = Object(__WEBPACK_IMPORTED_MODULE_5__utils__["deepClone"])(this.value);
443+
this.data = this.value;
444444
},
445445
render: function render(createElement) {
446446
var _this3 = this;

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-json-ui-editor",
3-
"version": "0.9.0",
3+
"version": "1.0.0",
44
"description": "Edit JSON in UI form with JSON Schema and Vue.js",
55
"author": "YourtionGuo <[email protected]>",
66
"scripts": {
@@ -9,7 +9,7 @@
99
"start": "npm run dev",
1010
"lint": "eslint --ext .js,.vue src test example --fix",
1111
"dist": "npm test && webpack --config build/webpack.dist.conf.js && export TEST_LIB=true && jest --config test/jest.conf.js",
12-
"prepublishOnly": "npm run dist",
12+
"prepublishOnly": "npm run dist && cat ./coverage/lcov.info | coveralls",
1313
"docs": "vuedoc.md src/JsonEditor.vue",
1414
"build": "node build/build.js"
1515
},
@@ -38,7 +38,7 @@
3838
},
3939
"homepage": "https://github.com/yourtion/vue-json-ui-editor#readme",
4040
"peerDependencies": {
41-
"vue": "^2.5.16"
41+
"vue": "*"
4242
},
4343
"devDependencies": {
4444
"@vue/test-utils": "^1.0.0-beta.18",
@@ -58,6 +58,7 @@
5858
"babel-preset-stage-2": "^6.22.0",
5959
"chalk": "^2.3.2",
6060
"copy-webpack-plugin": "^4.5.2",
61+
"coveralls": "^3.0.2",
6162
"css-loader": "^0.28.0",
6263
"element-ui": "^2.4.11",
6364
"eslint": "^5.9.0",

0 commit comments

Comments
 (0)