tianheng-ui 0.0.3 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tianheng-ui.js +1 -1
- package/dist/tianheng-ui.js.map +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff2 +0 -0
- package/lib/theme-chalk/icon.css +1940 -0
- package/lib/theme-chalk/index.css +1940 -0
- package/package.json +12 -7
- package/{src/component → packages}/cell/index.js +0 -0
- package/{src/component → packages}/cell/index.vue +0 -0
- package/{src/component → packages}/icons/index.js +0 -0
- package/{src/component → packages}/icons/index.vue +0 -0
- package/{src/component → packages}/table/action.vue +0 -0
- package/{src/component → packages}/table/column.vue +0 -0
- package/{src/component → packages}/table/index.js +0 -0
- package/{src/component → packages}/table/index.vue +0 -0
- package/{src/component → packages}/table/search.vue +0 -0
- package/{src/component → packages}/table/tools.vue +0 -0
- package/src/App.vue +1 -1
- package/src/index.js +4 -4
- package/.babelrc +0 -6
- package/.editorconfig +0 -9
- package/index.html +0 -11
- package/webpack.config.js +0 -97
package/package.json
CHANGED
@@ -1,18 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "tianheng-ui",
|
3
3
|
"description": "A Vue.js project",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.7",
|
5
5
|
"author": "shu lang <403732931@qq.com>",
|
6
6
|
"license": "MIT",
|
7
7
|
"private": false,
|
8
|
-
"main": "dist/tianheng-ui.js",
|
8
|
+
"main": "./dist/tianheng-ui.js",
|
9
9
|
"scripts": {
|
10
10
|
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
11
11
|
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
|
12
12
|
},
|
13
|
-
"directories": {
|
14
|
-
"dist": "dist"
|
15
|
-
},
|
16
13
|
"dependencies": {
|
17
14
|
"element-ui": "^2.15.6",
|
18
15
|
"vue": "^2.5.11"
|
@@ -39,8 +36,16 @@
|
|
39
36
|
"webpack": "^3.6.0",
|
40
37
|
"webpack-dev-server": "^2.9.1"
|
41
38
|
},
|
39
|
+
"files": [
|
40
|
+
"dist",
|
41
|
+
"lib",
|
42
|
+
"packages",
|
43
|
+
"src"
|
44
|
+
],
|
45
|
+
"homepage": "http://element.eleme.io",
|
42
46
|
"keywords": [
|
43
|
-
"
|
47
|
+
"tianheng",
|
44
48
|
"prompt"
|
45
|
-
]
|
49
|
+
],
|
50
|
+
"style": "lib/theme-chalk/index.css"
|
46
51
|
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/src/App.vue
CHANGED
package/src/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import Cell from "
|
2
|
-
import Icons from "
|
3
|
-
import Table from "
|
1
|
+
import Cell from "../packages/cell/index.js";
|
2
|
+
import Icons from "../packages/icons/index.js";
|
3
|
+
import Table from "../packages/table/index.js";
|
4
4
|
|
5
5
|
const components = [Cell, Icons, Table];
|
6
6
|
|
@@ -15,7 +15,7 @@ if (typeof window !== "undefined" && window.Vue) {
|
|
15
15
|
}
|
16
16
|
|
17
17
|
export default {
|
18
|
-
version: "0.0.
|
18
|
+
version: "0.0.7",
|
19
19
|
install,
|
20
20
|
...components
|
21
21
|
};
|
package/.babelrc
DELETED
package/.editorconfig
DELETED
package/index.html
DELETED
package/webpack.config.js
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
var path = require("path");
|
2
|
-
var webpack = require("webpack");
|
3
|
-
|
4
|
-
module.exports = {
|
5
|
-
// entry: './src/main.js',
|
6
|
-
entry: "./src/index.js",
|
7
|
-
output: {
|
8
|
-
path: path.resolve(__dirname, "./dist"),
|
9
|
-
publicPath: "/dist/",
|
10
|
-
filename: "tianheng-ui.js",
|
11
|
-
library: "tianheng-ui",
|
12
|
-
libraryTarget: "umd",
|
13
|
-
umdNamedDefine: true
|
14
|
-
},
|
15
|
-
module: {
|
16
|
-
rules: [
|
17
|
-
{
|
18
|
-
test: /\.css$/,
|
19
|
-
use: ["vue-style-loader", "css-loader"]
|
20
|
-
},
|
21
|
-
{
|
22
|
-
test: /\.scss$/,
|
23
|
-
use: ["vue-style-loader", "css-loader", "sass-loader"]
|
24
|
-
},
|
25
|
-
{
|
26
|
-
test: /\.sass$/,
|
27
|
-
use: ["vue-style-loader", "css-loader", "sass-loader?indentedSyntax"]
|
28
|
-
},
|
29
|
-
{
|
30
|
-
test: /\.vue$/,
|
31
|
-
loader: "vue-loader",
|
32
|
-
options: {
|
33
|
-
loaders: {
|
34
|
-
// Since sass-loader (weirdly) has SCSS as its default parse mode, we map
|
35
|
-
// the "scss" and "sass" values for the lang attribute to the right configs here.
|
36
|
-
// other preprocessors should work out of the box, no loader config like this necessary.
|
37
|
-
scss: ["vue-style-loader", "css-loader", "sass-loader"],
|
38
|
-
sass: [
|
39
|
-
"vue-style-loader",
|
40
|
-
"css-loader",
|
41
|
-
"sass-loader?indentedSyntax"
|
42
|
-
]
|
43
|
-
}
|
44
|
-
// other vue-loader options go here
|
45
|
-
}
|
46
|
-
},
|
47
|
-
{
|
48
|
-
test: /\.js$/,
|
49
|
-
loader: "babel-loader",
|
50
|
-
exclude: /node_modules/
|
51
|
-
},
|
52
|
-
{
|
53
|
-
test: /\.(png|jpg|gif|svg|woff|ttf)$/,
|
54
|
-
loader: "file-loader",
|
55
|
-
options: {
|
56
|
-
name: "[name].[ext]?[hash]"
|
57
|
-
}
|
58
|
-
},
|
59
|
-
]
|
60
|
-
},
|
61
|
-
resolve: {
|
62
|
-
alias: {
|
63
|
-
vue$: "vue/dist/vue.esm.js"
|
64
|
-
},
|
65
|
-
extensions: ["*", ".js", ".vue", ".json"]
|
66
|
-
},
|
67
|
-
devServer: {
|
68
|
-
historyApiFallback: true,
|
69
|
-
noInfo: true,
|
70
|
-
overlay: true
|
71
|
-
},
|
72
|
-
performance: {
|
73
|
-
hints: false
|
74
|
-
},
|
75
|
-
devtool: "#eval-source-map"
|
76
|
-
};
|
77
|
-
|
78
|
-
if (process.env.NODE_ENV === "production") {
|
79
|
-
module.exports.devtool = "#source-map";
|
80
|
-
// http://vue-loader.vuejs.org/en/workflow/production.html
|
81
|
-
module.exports.plugins = (module.exports.plugins || []).concat([
|
82
|
-
new webpack.DefinePlugin({
|
83
|
-
"process.env": {
|
84
|
-
NODE_ENV: '"production"'
|
85
|
-
}
|
86
|
-
}),
|
87
|
-
new webpack.optimize.UglifyJsPlugin({
|
88
|
-
sourceMap: true,
|
89
|
-
compress: {
|
90
|
-
warnings: false
|
91
|
-
}
|
92
|
-
}),
|
93
|
-
new webpack.LoaderOptionsPlugin({
|
94
|
-
minimize: true
|
95
|
-
})
|
96
|
-
]);
|
97
|
-
}
|