address-client 1.5.22 → 1.5.23

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.
@@ -1,2 +1,2 @@
1
- #Mon Jul 05 18:08:04 GMT+08:00 2021
2
- gradle.version=6.8
1
+ #Mon Nov 12 14:18:19 CST 2018
2
+ gradle.version=3.5.1
@@ -1,115 +1,115 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- var httpProxy = require('http-proxy')
6
-
7
- var app = express()
8
- var compiler = webpack(config)
9
- var proxy = httpProxy.createProxyServer()
10
-
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- var str = 'http://219.138.230.241:7005/'
14
- var proxyTable = {
15
- '/rs/user': {
16
- target: str
17
- },
18
- '/rs/search': {
19
- target: str
20
- },
21
- '/rs/logic/getLogin': {
22
- target: str
23
- },
24
- '/rs/logic/getInitData': {
25
- target: str
26
- },
27
- '/rs/vue': {
28
- target: str
29
- },
30
- '/rs': {
31
- target: str
32
- //target: 'http://127.0.0.1:8099/address'
33
- }
34
- }
35
-
36
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
37
- publicPath: config.output.publicPath,
38
- stats: {
39
- colors: true,
40
- chunks: false
41
- }
42
- })
43
-
44
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
45
- // force page reload when html-webpack-plugin template changes
46
- compiler.plugin('compilation', function (compilation) {
47
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
48
- hotMiddleware.publish({ action: 'reload' })
49
- cb()
50
- })
51
- })
52
-
53
- // proxy api requests
54
- Object.keys(proxyTable).forEach(function (context) {
55
- var options = proxyTable[context]
56
- if (typeof options === 'string') {
57
- options = { target: options }
58
- }
59
- app.use(proxyMiddleware(context, options))
60
- })
61
-
62
- // handle fallback for HTML5 history API
63
- app.use(require('connect-history-api-fallback')())
64
-
65
- // serve webpack bundle output
66
- app.use(devMiddleware)
67
-
68
- // enable hot-reload and state-preserving
69
- // compilation error display
70
- app.use(hotMiddleware)
71
-
72
- // serve pure static assets
73
- app.use('/static', express.static('./static'))
74
-
75
- // app.all('/rs/*', function (req, res) {
76
- // proxy.web(req, res, {
77
- // target: 'http://127.0.0.1:8081/reports'
78
- // })
79
- // })
80
-
81
- // app.all('/rs/*', function (req, res) {
82
- // proxy.web(req, res, {
83
- // target: 'http://127.0.0.1:8081/ldap'
84
- // })
85
- // })
86
- // app.all('/excel/*', function (req, res) {
87
- // proxy.web(req, res, {
88
- // target: 'http://127.0.0.1:8081/charge'
89
- // })
90
- // })
91
-
92
- // app.all('/rs/*', function (req, res) {
93
- // proxy.web(req, res, {
94
- // target: 'http://127.0.0.1:82/charge'
95
- // })
96
- // })
97
-
98
- // app.all('/*', function (req, res) {
99
- // proxy.web(req, res, {
100
- // target: 'http://127.0.0.1:82'
101
- // })
102
- // })
103
- // app.all('/rs/user', function (req, res) {
104
- // proxy.web(req, res, {
105
- // target: 'http://127.0.0.1:82'
106
- // })
107
- // })
108
-
109
- module.exports = app.listen(8084, function (err) {
110
- if (err) {
111
- console.log(err)
112
- return
113
- }
114
- console.log('Listening at http://localhost:8084')
115
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ var httpProxy = require('http-proxy')
6
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ var str = 'http://219.138.230.241:7005/'
14
+ var proxyTable = {
15
+ '/rs/user': {
16
+ target: str
17
+ },
18
+ '/rs/search': {
19
+ target: str
20
+ },
21
+ '/rs/logic/getLogin': {
22
+ target: str
23
+ },
24
+ '/rs/logic/getInitData': {
25
+ target: str
26
+ },
27
+ '/rs/vue': {
28
+ target: str
29
+ },
30
+ '/rs': {
31
+ target: str
32
+ //target: 'http://127.0.0.1:8099/address'
33
+ }
34
+ }
35
+
36
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
37
+ publicPath: config.output.publicPath,
38
+ stats: {
39
+ colors: true,
40
+ chunks: false
41
+ }
42
+ })
43
+
44
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
45
+ // force page reload when html-webpack-plugin template changes
46
+ compiler.plugin('compilation', function (compilation) {
47
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
48
+ hotMiddleware.publish({ action: 'reload' })
49
+ cb()
50
+ })
51
+ })
52
+
53
+ // proxy api requests
54
+ Object.keys(proxyTable).forEach(function (context) {
55
+ var options = proxyTable[context]
56
+ if (typeof options === 'string') {
57
+ options = { target: options }
58
+ }
59
+ app.use(proxyMiddleware(context, options))
60
+ })
61
+
62
+ // handle fallback for HTML5 history API
63
+ app.use(require('connect-history-api-fallback')())
64
+
65
+ // serve webpack bundle output
66
+ app.use(devMiddleware)
67
+
68
+ // enable hot-reload and state-preserving
69
+ // compilation error display
70
+ app.use(hotMiddleware)
71
+
72
+ // serve pure static assets
73
+ app.use('/static', express.static('./static'))
74
+
75
+ // app.all('/rs/*', function (req, res) {
76
+ // proxy.web(req, res, {
77
+ // target: 'http://127.0.0.1:8081/reports'
78
+ // })
79
+ // })
80
+
81
+ // app.all('/rs/*', function (req, res) {
82
+ // proxy.web(req, res, {
83
+ // target: 'http://127.0.0.1:8081/ldap'
84
+ // })
85
+ // })
86
+ // app.all('/excel/*', function (req, res) {
87
+ // proxy.web(req, res, {
88
+ // target: 'http://127.0.0.1:8081/charge'
89
+ // })
90
+ // })
91
+
92
+ // app.all('/rs/*', function (req, res) {
93
+ // proxy.web(req, res, {
94
+ // target: 'http://127.0.0.1:82/charge'
95
+ // })
96
+ // })
97
+
98
+ // app.all('/*', function (req, res) {
99
+ // proxy.web(req, res, {
100
+ // target: 'http://127.0.0.1:82'
101
+ // })
102
+ // })
103
+ // app.all('/rs/user', function (req, res) {
104
+ // proxy.web(req, res, {
105
+ // target: 'http://127.0.0.1:82'
106
+ // })
107
+ // })
108
+
109
+ module.exports = app.listen(8085, function (err) {
110
+ if (err) {
111
+ console.log(err)
112
+ return
113
+ }
114
+ console.log('Listening at http://localhost:8085')
115
+ })
package/package.json CHANGED
@@ -1,97 +1,97 @@
1
- {
2
- "name": "address-client",
3
- "version": "1.5.22",
4
- "description": "地址管理前台组件",
5
- "author": "wanbochao",
6
- "license": "ISC",
7
- "main": "src/index.js",
8
- "keywords": [
9
- "sale"
10
- ],
11
- "scripts": {
12
- "unit": "karma start test/unit/karma.conf.js",
13
- "example": "node build/example-server.js",
14
- "dev": "node build/dev-server.js",
15
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
16
- "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
17
- "e2e": "node test/e2e/runner.js",
18
- "make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js && publish",
19
- "release": "bash build/release.sh"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "https://gitee.com/aote/address_management.git"
24
- },
25
- "dependencies": {
26
- "less-loader": "^2.2.3",
27
- "vue": "^1.0.17"
28
- },
29
- "devDependencies": {
30
- "babel-core": "^6.0.0",
31
- "babel-loader": "^6.0.0",
32
- "babel-plugin-transform-runtime": "^6.0.0",
33
- "babel-preset-es2015": "^6.0.0",
34
- "babel-preset-stage-2": "^6.0.0",
35
- "chai": "^3.5.0",
36
- "co": "^4.6.0",
37
- "connect-history-api-fallback": "^1.1.0",
38
- "cross-env": "^1.0.7",
39
- "cross-spawn": "^2.1.5",
40
- "css-loader": "^0.23.0",
41
- "echarts": "^4.1.0",
42
- "eslint": "^2.0.0",
43
- "eslint-config-standard": "^5.1.0",
44
- "eslint-friendly-formatter": "^1.2.2",
45
- "eslint-loader": "^1.3.0",
46
- "eslint-plugin-html": "^1.3.0",
47
- "eslint-plugin-promise": "^1.0.8",
48
- "eslint-plugin-standard": "^1.3.2",
49
- "eslint-plugin-vue": "^0.1.1",
50
- "eventsource-polyfill": "^0.9.6",
51
- "express": "^4.13.3",
52
- "extract-text-webpack-plugin": "^1.0.1",
53
- "file-loader": "^0.8.4",
54
- "function-bind": "^1.0.2",
55
- "html-webpack-plugin": "^2.8.1",
56
- "http-proxy-middleware": "^0.11.0",
57
- "inject-loader": "^2.0.1",
58
- "isparta-loader": "^2.0.0",
59
- "jasmine-core": "^2.4.1",
60
- "jquery": "^3.3.1",
61
- "json-loader": "^0.5.4",
62
- "karma": "^1.4.1",
63
- "karma-chrome-launcher": "^2.2.0",
64
- "karma-coverage": "^1.1.1",
65
- "karma-mocha": "^1.3.0",
66
- "karma-sinon-chai": "^1.3.1",
67
- "karma-sourcemap-loader": "^0.3.7",
68
- "karma-spec-reporter": "0.0.31",
69
- "karma-webpack": "^2.0.2",
70
- "less": "^2.7.3",
71
- "mkdirp": "^0.5.1",
72
- "mocha": "^3.2.0",
73
- "ncp": "^2.0.0",
74
- "rimraf": "^2.5.0",
75
- "sale-client": "^1.2.5",
76
- "selenium-server": "2.52.0",
77
- "sinon": "^2.1.0",
78
- "sinon-chai": "^2.8.0",
79
- "style": "0.0.3",
80
- "style-loader": "^0.20.3",
81
- "system-clients": "^1.6.1",
82
- "url-loader": "^0.5.7",
83
- "vue-client": "1.20.78",
84
- "vue-hot-reload-api": "^1.2.0",
85
- "vue-html-loader": "^1.0.0",
86
- "vue-loader": "^8.2.1",
87
- "vue-resource": "^1.5.0",
88
- "vue-router": "^0.7.13",
89
- "vue-strap": "^1.0.9",
90
- "vue-style-loader": "^1.0.0",
91
- "vue-validator": "2.1.7",
92
- "webpack": "^1.12.2",
93
- "webpack-dev-middleware": "^1.4.0",
94
- "webpack-hot-middleware": "^2.6.0",
95
- "webpack-merge": "^0.8.3"
96
- }
97
- }
1
+ {
2
+ "name": "address-client",
3
+ "version": "1.5.23",
4
+ "description": "地址管理前台组件",
5
+ "author": "wanbochao",
6
+ "license": "ISC",
7
+ "main": "src/index.js",
8
+ "keywords": [
9
+ "sale"
10
+ ],
11
+ "scripts": {
12
+ "unit": "karma start test/unit/karma.conf.js",
13
+ "example": "node build/example-server.js",
14
+ "dev": "node build/dev-server.js",
15
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
16
+ "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
17
+ "e2e": "node test/e2e/runner.js",
18
+ "make": "rimraf dist-android && mkdirp dist-android && ncp static dist-android/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prodandroid.conf.js && publish",
19
+ "release": "bash build/release.sh"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://gitee.com/aote/address_management.git"
24
+ },
25
+ "dependencies": {
26
+ "less-loader": "^2.2.3",
27
+ "vue": "^1.0.17"
28
+ },
29
+ "devDependencies": {
30
+ "babel-core": "^6.0.0",
31
+ "babel-loader": "^6.0.0",
32
+ "babel-plugin-transform-runtime": "^6.0.0",
33
+ "babel-preset-es2015": "^6.0.0",
34
+ "babel-preset-stage-2": "^6.0.0",
35
+ "chai": "^3.5.0",
36
+ "co": "^4.6.0",
37
+ "connect-history-api-fallback": "^1.1.0",
38
+ "cross-env": "^1.0.7",
39
+ "cross-spawn": "^2.1.5",
40
+ "css-loader": "^0.23.0",
41
+ "echarts": "^4.1.0",
42
+ "eslint": "^2.0.0",
43
+ "eslint-config-standard": "^5.1.0",
44
+ "eslint-friendly-formatter": "^1.2.2",
45
+ "eslint-loader": "^1.3.0",
46
+ "eslint-plugin-html": "^1.3.0",
47
+ "eslint-plugin-promise": "^1.0.8",
48
+ "eslint-plugin-standard": "^1.3.2",
49
+ "eslint-plugin-vue": "^0.1.1",
50
+ "eventsource-polyfill": "^0.9.6",
51
+ "express": "^4.13.3",
52
+ "extract-text-webpack-plugin": "^1.0.1",
53
+ "file-loader": "^0.8.4",
54
+ "function-bind": "^1.0.2",
55
+ "html-webpack-plugin": "^2.8.1",
56
+ "http-proxy-middleware": "^0.11.0",
57
+ "inject-loader": "^2.0.1",
58
+ "isparta-loader": "^2.0.0",
59
+ "jasmine-core": "^2.4.1",
60
+ "jquery": "^3.3.1",
61
+ "json-loader": "^0.5.4",
62
+ "karma": "^1.4.1",
63
+ "karma-chrome-launcher": "^2.2.0",
64
+ "karma-coverage": "^1.1.1",
65
+ "karma-mocha": "^1.3.0",
66
+ "karma-sinon-chai": "^1.3.1",
67
+ "karma-sourcemap-loader": "^0.3.7",
68
+ "karma-spec-reporter": "0.0.31",
69
+ "karma-webpack": "^2.0.2",
70
+ "less": "^2.7.3",
71
+ "mkdirp": "^0.5.1",
72
+ "mocha": "^3.2.0",
73
+ "ncp": "^2.0.0",
74
+ "rimraf": "^2.5.0",
75
+ "sale-client": "^1.2.5",
76
+ "selenium-server": "2.52.0",
77
+ "sinon": "^2.1.0",
78
+ "sinon-chai": "^2.8.0",
79
+ "style": "0.0.3",
80
+ "style-loader": "^0.20.3",
81
+ "system-clients": "^1.6.1",
82
+ "url-loader": "^0.5.7",
83
+ "vue-client": "1.20.78",
84
+ "vue-hot-reload-api": "^1.2.0",
85
+ "vue-html-loader": "^1.0.0",
86
+ "vue-loader": "^8.2.1",
87
+ "vue-resource": "^1.5.0",
88
+ "vue-router": "^0.7.13",
89
+ "vue-strap": "^1.0.9",
90
+ "vue-style-loader": "^1.0.0",
91
+ "vue-validator": "2.1.7",
92
+ "webpack": "^1.12.2",
93
+ "webpack-dev-middleware": "^1.4.0",
94
+ "webpack-hot-middleware": "^2.6.0",
95
+ "webpack-merge": "^0.8.3"
96
+ }
97
+ }