diff --git a/.eslintrc.json b/.eslintrc.json old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index c6bba59..ec961c2 --- a/.gitignore +++ b/.gitignore @@ -128,3 +128,6 @@ dist .yarn/build-state.yml .yarn/install-state.gz .pnp.* + +# DS Store +.DS_Store \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..799ef4e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +# Sets the docker image for the job +image: node:16 + +# Build static page +.build-page: + script: + - yarn + - yarn build + - mkdir public + - mv dist/* public + +.upload-artifacts: + artifacts: + paths: + - public + +# Setup GitLab Pages +pages: + extends: + - .build-page + - .upload-artifacts + cache: + paths: + - node_modules + stage: deploy + only: + - develop diff --git a/.parcelrc.json b/.parcelrc.json old mode 100644 new mode 100755 diff --git a/.postcssrc.json b/.postcssrc.json old mode 100644 new mode 100755 diff --git a/.posthtmlrc b/.posthtmlrc old mode 100644 new mode 100755 diff --git a/.prettierrc b/.prettierrc old mode 100644 new mode 100755 diff --git a/.stylelintrc.json b/.stylelintrc.json old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 index bc55ecb..b5d829e --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "MIT", "browserslist": "> 0.5%, last 2 versions, not dead", "engines": { - "node": "16.x" + "node": ">= 16.0.0" }, "scripts": { "clean:output": "rimraf dist", @@ -15,14 +15,14 @@ "build": "yarn run clean:output && parcel build src/index.html --no-optimize --public-url ./" }, "devDependencies": { - "@parcel/config-default": "^2.8.0", - "@parcel/core": "^2.8.3", - "@parcel/transformer-sass": "^2.8.0", - "@parcel/validator-eslint": "^2.8.0", + "@parcel/config-default": "^2.10.3", + "@parcel/core": "^2.10.3", + "@parcel/transformer-sass": "^2.10.3", + "@parcel/validator-eslint": "^2.10.3", "eslint": "^8.28.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.5.0", - "parcel": "^2.8.0", + "parcel": "^2.10.3", "parcel-validator-stylelint": "^1.0.1", "postcss": "^8.4.19", "postcss-import": "^15.1.0", diff --git a/src/index.html b/src/index.html old mode 100644 new mode 100755 index 28e7f1d..bca34cb --- a/src/index.html +++ b/src/index.html @@ -13,6 +13,7 @@ FunderMaps - Inzicht in funderingsrisico's en asset management + @@ -28,24 +29,27 @@