From e071a097649c03e4f0b5f13b026a47d3f996848f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BC=81=E9=98=B3=E4=BB=94?= <15836909675@163.com> Date: Mon, 22 Aug 2022 14:32:36 +0800 Subject: [PATCH] yml --- .babelrc | 9 +++++++++ .codechina-ci.yml | 18 ++++++++++++++++++ .gitignore | 24 ++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 .babelrc create mode 100644 .codechina-ci.yml create mode 100644 .gitignore diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..7b9510a --- /dev/null +++ b/.babelrc @@ -0,0 +1,9 @@ +{ + "plugins": [ + ["import", { + "libraryName": "vant", + "libraryDirectory": "es", + "style": true + }] + ] +} diff --git a/.codechina-ci.yml b/.codechina-ci.yml new file mode 100644 index 0000000..0c72718 --- /dev/null +++ b/.codechina-ci.yml @@ -0,0 +1,18 @@ +default: + image: node:latest +stages: + - deploy + +pages: + stage: deploy + script: + - npm install + - npm run build + - rm -rf public + - mv dist public + artifacts: + paths: + - public + expire_in: 1 day + only: + - master diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30ef73b --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +.DS_Store +node_modules +package-lock.json +/dist + + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? -- GitLab