Replace snowpack by webpack
parent
4492a7c9
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
- babel.config.js 7 additions, 0 deletionsbabel.config.js
- integrate.md 2 additions, 1 deletionintegrate.md
- jest.config.js 16 additions, 6 deletionsjest.config.js
- package.json 20 additions, 15 deletionspackage.json
- pnpm-lock.yaml 2050 additions, 4648 deletionspnpm-lock.yaml
- public/style-copied-from-website.css 0 additions, 4623 deletionspublic/style-copied-from-website.css
- snowpack.config.js 0 additions, 36 deletionssnowpack.config.js
- 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 @@ |
"description": "Webform for helping users check the status of their web services and get help if required.", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "snowpack dev", | ||
"build": "snowpack build", | ||
"start": "webpack serve --open --host 0.0.0.0 --mode=development", | ||
"build": "webpack --mode=production", | ||
"test": "jest --coverage --watchAll", | ||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,yaml}\"", | ||
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx,yaml}\"" | ||
... | ... | @@ -14,9 +14,11 @@ |
"type": "git", | ||
"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", | ||
"browserslist": [ "defaults" ], | ||
"browserslist": [ | ||
"defaults" | ||
], | ||
"dependencies": { | ||
"i18next": "^19.8.7", | ||
"js-yaml": "^4.0.0", | ||
... | ... | @@ -26,13 +28,7 @@ |
}, | ||
"devDependencies": { | ||
"@babel/preset-react": "^7.12.13", | ||
"@snowpack/app-scripts-react": "^2.0.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", | ||
"@snowpack/plugin-webpack": "^2.3.1", | ||
"@babel/preset-typescript": "^7.13.0", | ||
"@testing-library/jest-dom": "^5.11.9", | ||
"@testing-library/react": "^11.0.0", | ||
"@testing-library/react-hooks": "^5.0.3", | ||
... | ... | @@ -41,24 +37,33 @@ |
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"@types/react-transition-group": "^4.4.0", | ||
"@types/snowpack-env": "^2.3.2", | ||
"@typescript-eslint/eslint-plugin": "^4.15.0", | ||
"@typescript-eslint/parser": "^4.15.0", | ||
"babel-jest": "^26.6.3", | ||
"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-plugin-jest-dom": "^3.6.5", | ||
"eslint-plugin-react": "^7.22.0", | ||
"eslint-plugin-testing-library": "^3.10.1", | ||
"identity-obj-proxy": "^3.0.0", | ||
"jest-cli": "^26.6.3", | ||
"js-yaml-loader": "^1.2.2", | ||
"markdown-to-jsx": "^7.1.1", | ||
"mini-css-extract-plugin": "^1.6.0", | ||
"prettier": "^2.0.5", | ||
"react-test-renderer": "^17.0.2", | ||
"react-transition-group": "^4.4.1", | ||
"rxjs": "^6.6.3", | ||
"sass": "^1.32.6", | ||
"snowpack": "^3.0.11", | ||
"sass": "^1.32.13", | ||
"sass-loader": "^11.1.1", | ||
"ts-loader": "^8.3.0", | ||
"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