santech-galaxy-component 1.0.0

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/.env ADDED
@@ -0,0 +1,6 @@
1
+ VUE_APP_BASIC_URL="https://testapi.huajianlian.com"
2
+ VUE_APP_BASE_API="/freightrate"
3
+ VUE_APP_SOCKET_URL="http://120.26.57.168:9099"
4
+ VUE_APP_CLIENT_ROOM="jetsocket"
5
+ VUE_APP_CLIENT_TYPE="WEB"
6
+ VUE_APP_BASE_URL=""
@@ -0,0 +1,6 @@
1
+ VUE_APP_BASIC_URL="https://testapi.huajianlian.com"
2
+ VUE_APP_BASE_API="/freightrate"
3
+ VUE_APP_SOCKET_URL="http://120.26.57.168:9099"
4
+ VUE_APP_CLIENT_ROOM="jetsocket"
5
+ VUE_APP_CLIENT_TYPE="WEB"
6
+ VUE_APP_BASE_URL=""
@@ -0,0 +1,6 @@
1
+ VUE_APP_BASIC_URL="https://testapi.huajianlian.com"
2
+ VUE_APP_BASE_API="/freightrate"
3
+ VUE_APP_SOCKET_URL="http://120.26.57.168:9099"
4
+ VUE_APP_CLIENT_ROOM="jetsocket"
5
+ VUE_APP_CLIENT_TYPE="WEB"
6
+ VUE_APP_BASE_URL=""
package/.eslintrc.js ADDED
@@ -0,0 +1,19 @@
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ node: true
5
+ },
6
+ 'extends': [
7
+ 'plugin:vue/vue3-essential',
8
+ 'eslint:recommended',
9
+ '@vue/typescript/recommended'
10
+ ],
11
+ parserOptions: {
12
+ ecmaVersion: 2020
13
+ },
14
+ rules: {
15
+ 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
16
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
17
+ '@typescript-eslint/no-var-requires': 0
18
+ }
19
+ }
@@ -0,0 +1,24 @@
1
+ .DS_Store
2
+ node_modules
3
+ /dist
4
+ /lib
5
+
6
+
7
+ # local env files
8
+ .env.local
9
+ .env.*.local
10
+
11
+ # Log files
12
+ npm-debug.log*
13
+ yarn-debug.log*
14
+ yarn-error.log*
15
+ pnpm-debug.log*
16
+
17
+ # Editor directories and files
18
+ .idea
19
+ .vscode
20
+ *.suo
21
+ *.ntvs*
22
+ *.njsproj
23
+ *.sln
24
+ *.sw?
package/Dockerfilecs ADDED
@@ -0,0 +1,18 @@
1
+ FROM node:14.17 as stmvn
2
+ RUN mkdir -p /usr/share/project
3
+ COPY . /usr/share/project
4
+
5
+ RUN cd /usr/share/project \
6
+ && mv /usr/share/project/cs/.env.production /usr/share/project/ \
7
+ && npm install -g @vue/cli \
8
+ && npm install \
9
+ && npm run build
10
+
11
+ FROM registry.cn-hangzhou.aliyuncs.com/st-base/base-tomcat:9.0.41-jdk15
12
+ MAINTAINER nbst
13
+ ENV LANG en_US.UTF-8
14
+ COPY --from=stmvn /usr/share/project/dist/ /usr/local/apache-tomcat-9.0.41/webapps/dist
15
+ RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
16
+
17
+ EXPOSE 8080
18
+ CMD /usr/local/apache-tomcat-9.0.41/bin/startup.sh && tail -f /dev/null
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # antv-ts-demo
2
+
3
+ ## Project setup
4
+ ```
5
+ npm install
6
+ ```
7
+
8
+ ### Compiles and hot-reloads for development
9
+ ```
10
+ npm run serve
11
+ ```
12
+
13
+ ### Compiles and minifies for production
14
+ ```
15
+ npm run build
16
+ ```
17
+
18
+ ### Lints and fixes files
19
+ ```
20
+ npm run lint
21
+ ```
22
+
23
+ ### Customize configuration
24
+ See [Configuration Reference](https://cli.vuejs.org/config/).
@@ -0,0 +1,6 @@
1
+ VUE_APP_BASIC_URL="https://testapi.huajianlian.com"
2
+ VUE_APP_BASE_API="/freightrate"
3
+ VUE_APP_SOCKET_URL="http://120.26.57.168:9099"
4
+ VUE_APP_CLIENT_ROOM="jetsocket"
5
+ VUE_APP_CLIENT_TYPE="WEB"
6
+ VUE_APP_BASE_URL=""
package/lib/demo.html ADDED
@@ -0,0 +1,10 @@
1
+ <meta charset="utf-8">
2
+ <title>index demo</title>
3
+ <script src="./index.umd.js"></script>
4
+
5
+ <link rel="stylesheet" href="./index.css">
6
+
7
+
8
+ <script>
9
+ console.log(index)
10
+ </script>