Skip to content

Commit

Permalink
Merge pull request #14 from a2nt/master
Browse files Browse the repository at this point in the history
IMPR: Webpack 5 upgrade
  • Loading branch information
sunnysideup authored May 9, 2021
2 parents 560869e + c5ec7d0 commit 36edf41
Show file tree
Hide file tree
Showing 7 changed files with 7,862 additions and 342 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@
## Requirements


Install pnpm (https://pnpm.io/):
```
npm install -g pnpm
```

See [composer.json](composer.json) for details


### Suggested Modules


Expand Down Expand Up @@ -64,7 +67,7 @@ We welcome any contributions. See [CONTRIBUTING.md](CONTRIBUTING.md) for more de



You can pay us to create an improved / adapted version of this module for your own projects. Please contact us if you like to find out more: [www.sunnysideup.co.nz](http://www.sunnysideup.co.nz). For example, we can write tests for this module.
You can pay us to create an improved / adapted version of this module for your own projects. Please contact us if you like to find out more: [www.sunnysideup.co.nz](http://www.sunnysideup.co.nz). For example, we can write tests for this module.

## Author

Expand Down
136 changes: 69 additions & 67 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,69 +1,71 @@
{
"name": "public",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"scripts": {
"dev": "webpack --config webpack.dev.js",
"watch": "webpack-dashboard -- webpack --config webpack.dev.js",
"build": "webpack --config webpack.prod.js",
"update-browsers": "npx browserslist@latest --update-db",
"profile": "webpack --config webpack.prod.js --profile --server"
},
"devDependencies": {
"autoprefixer": "^9.4.4",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"clean-webpack-plugin": "^0.1.19",
"css-loader": "^1.0.0",
"expose-loader": "^0.7.5",
"file-loader": "^1.1.11",
"glob-all": "^3.2.1",
"html-webpack-plugin": "^3.2.0",
"imagemin-gifsicle": "^6.0.1",
"imagemin-jpegtran": "^6.0.0",
"imagemin-optipng": "^6.0.0",
"imagemin-svgo": "^7.0.0",
"imagemin-webpack": "^2.0.0",
"mini-css-extract-plugin": "^0.4.1",
"node-sass": "^4.14.1",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"path": "^0.12.7",
"postcss-loader": "^3.0.0",
"purgecss-webpack-plugin": "^3.0.0",
"resolve-url-loader": "^3.1.2",
"sass-loader": "^7.1.0",
"style-loader": "^0.22.0",
"terser-webpack-plugin": "^1.2.3",
"url-loader": "^1.1.1",
"webpack": "^4.28.3",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.12",
"webpack-dashboard": "^3.2.1",
"webpack-livereload-plugin": "^2.2.0",
"webpack-merge": "^4.2.1",
"webpack-shell-plugin": "^0.5.0"
},
"dependencies": {
"@babel/polyfill": "^7.8.7",
"app-root-path": "^2.1.0",
"audit": "0.0.6",
"chokidar": "^3.5.1",
"fix": "^0.0.3",
"jquery": "^3.5.1",
"normalize.css": "^8.0.0",
"purify-css": "^1.1.9",
"rootpath": "^0.1.2"
},
"consider": {},
"browserslist": [
"last 2 versions",
"> 1%"
],
"try": {
"favicons-webpack-plugin": "^4.2.0"
}
"name": "public",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"scripts": {
"dev": "webpack --config webpack.dev.js",
"watch": "webpack-dashboard -- webpack --config webpack.dev.js",
"build": "webpack --config webpack.config.js",
"update-browsers": "npx browserslist@latest --update-db",
"preinstall": "npx only-allow pnpm",
"profile": "webpack --config webpack.prod.js --profile --server"
},
"devDependencies": {
"autoprefixer": "^10.2.5",
"babel-core": "^6.26.3",
"babel-loader": "^8.2.2",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"css-loader": "^5.2.4",
"css-minimizer-webpack-plugin": "^2.0.0",
"cssnano": "^5.0.2",
"expose-loader": "^2.0.0",
"file-loader": "^6.2.0",
"glob-all": "^3.2.1",
"html-webpack-plugin": "^5.3.1",
"image-minimizer-webpack-plugin": "^2.2.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-svgo": "^9.0.0",
"mini-css-extract-plugin": "^1.6.0",
"node-sass": "^5.0.0",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"path": "^0.12.7",
"postcss-loader": "^5.2.0",
"purgecss-webpack-plugin": "^4.0.3",
"resolve-url-loader": "^3.1.3",
"sass-loader": "^11.0.1",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.1.1",
"url-loader": "^4.1.1",
"webpack": "^5.36.2",
"webpack-bundle-analyzer": "^4.4.1",
"webpack-cli": "^4.6.0",
"webpack-dashboard": "^3.3.1",
"webpack-hook-plugin": "^1.0.7",
"webpack-livereload-plugin": "^3.0.1",
"webpack-merge": "^5.7.3",
"webpack-shell-plugin": "^0.5.0"
},
"dependencies": {
"app-root-path": "^3.0.0",
"audit": "0.0.6",
"chokidar": "^3.5.1",
"fix": "^0.0.6",
"jquery": "^3.6.0",
"normalize.css": "^8.0.1",
"purify-css": "^1.2.5",
"rootpath": "^0.1.2"
},
"consider": {},
"browserslist": [
"last 2 versions",
"> 1%"
],
"try": {
"favicons-webpack-plugin": "^4.2.0"
}
}
Loading

0 comments on commit 36edf41

Please sign in to comment.