Merge branch '25-facilitate-inclusion-in-website' into 'main'
Resolve "Facilitate inclusion in website" Closes #25 See merge request !13
No related branches found
No related tags found
Showing
- .gitignore 6 additions, 6 deletions.gitignore
- .gitlab-ci.yml 2 additions, 2 deletions.gitlab-ci.yml
- README.md 1 addition, 1 deletionREADME.md
- babel.config.js 7 additions, 0 deletionsbabel.config.js
- jest.config.js 16 additions, 6 deletionsjest.config.js
- package.json 21 additions, 13 deletionspackage.json
- pnpm-lock.yaml 3411 additions, 2178 deletionspnpm-lock.yaml
- public/style-copied-from-website.css 0 additions, 4623 deletionspublic/style-copied-from-website.css
- snowpack.config.js 0 additions, 32 deletionssnowpack.config.js
- src/components/contact-form/ContactForm.tsx 23 additions, 17 deletionssrc/components/contact-form/ContactForm.tsx
- src/components/locale-switcher/LocaleSwitcher.tsx 1 addition, 1 deletionsrc/components/locale-switcher/LocaleSwitcher.tsx
- src/index.tsx 0 additions, 6 deletionssrc/index.tsx
- tsconfig.json 1 addition, 10 deletionstsconfig.json
- webpack.config.js 50 additions, 0 deletionswebpack.config.js
babel.config.js
0 → 100644
... | @@ -4,8 +4,8 @@ | ... | @@ -4,8 +4,8 @@ |
"description": "Webform for helping users check the status of their web services and get help if required.", | "description": "Webform for helping users check the status of their web services and get help if required.", | ||
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"start": "snowpack dev", | "start": "webpack serve --open --host 0.0.0.0 --mode=development", | ||
"build": "snowpack build", | "build": "webpack --mode=production", | ||
"test": "jest --coverage --watchAll", | "test": "jest --coverage --watchAll", | ||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,yaml}\"", | "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,yaml}\"", | ||
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx,yaml}\"" | "lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx,yaml}\"" | ||
... | @@ -14,8 +14,11 @@ | ... | @@ -14,8 +14,11 @@ |
"type": "git", | "type": "git", | ||
"url": "https://open.greenhost.net/greenhost/outage-form" | "url": "https://open.greenhost.net/greenhost/outage-form" | ||
}, | }, | ||
"author": "Mark Swillus, Tin Geber, Chris Snijder", | "author": "Tin Geber, Arie Peterson, Chris Snijder, Mark Swillus", | ||
"license": "Apache-2.0", | "license": "Apache-2.0", | ||
"browserslist": [ | |||
"defaults" | |||
], | |||
"dependencies": { | "dependencies": { | ||
"i18next": "^19.8.7", | "i18next": "^19.8.7", | ||
"js-yaml": "^4.0.0", | "js-yaml": "^4.0.0", | ||
... | @@ -25,12 +28,7 @@ | ... | @@ -25,12 +28,7 @@ |
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@babel/preset-react": "^7.12.13", | "@babel/preset-react": "^7.12.13", | ||
"@snowpack/app-scripts-react": "^2.0.0", | "@babel/preset-typescript": "^7.13.0", | ||
"@snowpack/plugin-build-script": "^2.1.0", | |||
"@snowpack/plugin-dotenv": "^2.0.5", | |||
"@snowpack/plugin-react-refresh": "^2.4.0", | |||
"@snowpack/plugin-sass": "^1.3.0", | |||
"@snowpack/plugin-typescript": "^1.2.0", | |||
"@testing-library/jest-dom": "^5.11.9", | "@testing-library/jest-dom": "^5.11.9", | ||
"@testing-library/react": "^11.0.0", | "@testing-library/react": "^11.0.0", | ||
"@testing-library/react-hooks": "^5.0.3", | "@testing-library/react-hooks": "^5.0.3", | ||
... | @@ -39,23 +37,33 @@ | ... | @@ -39,23 +37,33 @@ |
"@types/react": "^17.0.0", | "@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | "@types/react-dom": "^17.0.0", | ||
"@types/react-transition-group": "^4.4.0", | "@types/react-transition-group": "^4.4.0", | ||
"@types/snowpack-env": "^2.3.2", | |||
"@typescript-eslint/eslint-plugin": "^4.15.0", | "@typescript-eslint/eslint-plugin": "^4.15.0", | ||
"@typescript-eslint/parser": "^4.15.0", | "@typescript-eslint/parser": "^4.15.0", | ||
"babel-jest": "^26.6.3", | |||
"babel-preset-react-app": "^10.0.0", | "babel-preset-react-app": "^10.0.0", | ||
"copy-webpack-plugin": "^8.1.1", | |||
"core-js": "^3.11.3", | |||
"css-loader": "^5.2.4", | |||
"eslint": "^7.20.0", | "eslint": "^7.20.0", | ||
"eslint-plugin-jest-dom": "^3.6.5", | "eslint-plugin-jest-dom": "^3.6.5", | ||
"eslint-plugin-react": "^7.22.0", | "eslint-plugin-react": "^7.22.0", | ||
"eslint-plugin-testing-library": "^3.10.1", | "eslint-plugin-testing-library": "^3.10.1", | ||
"identity-obj-proxy": "^3.0.0", | "identity-obj-proxy": "^3.0.0", | ||
"jest-cli": "^26.6.3", | "jest-cli": "^26.6.3", | ||
"js-yaml-loader": "^1.2.2", | |||
"markdown-to-jsx": "^7.1.1", | "markdown-to-jsx": "^7.1.1", | ||
"mini-css-extract-plugin": "^1.6.0", | |||
"prettier": "^2.0.5", | "prettier": "^2.0.5", | ||
"react-test-renderer": "^17.0.2", | |||
"react-transition-group": "^4.4.1", | "react-transition-group": "^4.4.1", | ||
"rxjs": "^6.6.3", | "rxjs": "^6.6.3", | ||
"sass": "^1.32.6", | "sass": "^1.32.13", | ||
"snowpack": "^3.0.11", | "sass-loader": "^11.1.1", | ||
"ts-loader": "^8.3.0", | |||
"ts-node": "^9.1.1", | "ts-node": "^9.1.1", | ||
"typescript": "^4.0.0" | "typescript": "^4.2.4", | ||
"webpack": "^5.37.1", | |||
"webpack-cli": "^4.7.0", | |||
"webpack-dev-server": "^3.11.2" | |||
} | } | ||
} | } |
This diff is collapsed.
This diff is collapsed.
snowpack.config.js
deleted
100644 → 0
webpack.config.js
0 → 100644
Please register or sign in to comment