2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-20 20:00:37 +03:00

dist main file & jsx

This commit is contained in:
陈峰
2018-09-20 10:33:05 +08:00
parent a340304521
commit 8aa567dc8e
8 changed files with 332 additions and 175 deletions
+7 -5
View File
@@ -2,7 +2,7 @@
"name": "vue-json-viewer",
"version": "2.0.1",
"description": "vuejs展示json的组件",
"main": "lib/index.js",
"main": "dist/vue-json-viewer.js",
"files": [
"lib/*"
],
@@ -11,7 +11,7 @@
"example": "./example"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --config ./build/webpack.config.js",
"example": "webpack-dev-server --config ./example/build/webpack.dev.conf.js"
},
"repository": {
@@ -42,8 +42,8 @@
}
],
"dependencies": {
"vue": "^2.5.2",
"clipboard": "^1.7.1"
"clipboard": "^1.7.1",
"vue": "^2.5.2"
},
"devDependencies": {
"autoprefixer": "^7.1.5",
@@ -51,9 +51,10 @@
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-loader": "^7.1.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-runtime": "^6.26.0",
"css-loader": "^0.28.7",
@@ -69,6 +70,7 @@
"vue-style-loader": "^3.0.3",
"vue-template-compiler": "^2.5.2",
"webpack": "^3.8.1",
"webpack-bundle-analyzer": "^3.0.2",
"webpack-dev-server": "^2.9.2",
"webpack-merge": "^4.1.0"
}