diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000000000000000000000000000000000000..7b9510a0801e74309ac0755bc094b61dbe02d560 --- /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 0000000000000000000000000000000000000000..0c72718775ddf175b891af969cd54c0fbc842376 --- /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 0000000000000000000000000000000000000000..30ef73bdbda39cd3d901274998d3cc85207ec145 --- /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?