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 +6 -0
- package/.env.development +6 -0
- package/.env.production +6 -0
- package/.eslintrc.js +19 -0
- package/.gitignore copy +24 -0
- package/Dockerfilecs +18 -0
- package/README.md +24 -0
- package/cs/.env.production +6 -0
- package/lib/demo.html +10 -0
- package/lib/index.common.js +72561 -0
- package/lib/index.css +1 -0
- package/lib/index.umd.js +72571 -0
- package/lib/index.umd.min.js +327 -0
- package/package.json +79 -0
- package/rollup.config.js +53 -0
package/.env
ADDED
package/.env.development
ADDED
package/.env.production
ADDED
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
|
+
}
|
package/.gitignore copy
ADDED
|
@@ -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/).
|