Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to webpack 5 #661

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
43 changes: 20 additions & 23 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
"url": "https://github.com/fkling/esprima_ast_explorer.git"
},
"author": "Felix Kling",
"scripts": {
"dev": "concurrently \"yarn start\" \"yarn build-dev\"",
"start": "serve -l 8080 ../out",
"build": "rimraf ../out/* && cross-env NODE_ENV=production webpack --mode=production",
"build-dev": "rimraf ../out/* && cross-env NODE_ENV=development webpack --mode=development",
"watch": "webpack -dw --mode=development",
"lint": "node_modules/eslint/bin/eslint.js src/",
"fontcustom": "fontcustom compile ./fontcustom/input-svg/ --config=./fontcustom/config.yml"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.0",
Expand All @@ -18,29 +27,26 @@
"babel-loader": "^8.0.4",
"concurrently": "^6.2.0",
"cross-env": "^7.0.2",
"css-loader": "^3.5.2",
"css-loader": "^6.7.1",
"eslint": "^6.6.0",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-react": "^7.0.1",
"eslint-plugin-require-in-package": "^1.0.3",
"exports-loader": "^0.7.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^3.2.0",
"inline-manifest-webpack-plugin": "^4.0.1",
"html-webpack-plugin": "5.5.0",
"js-yaml": "^3.13.1",
"json-loader": "^0.5.3",
"mini-css-extract-plugin": "^0.9.0",
"mini-css-extract-plugin": "^2.6.1",
"null-loader": "^4.0.0",
"postcss-loader": "^4.0.0",
"raw-loader": "^4.0.0",
"rimraf": "^3.0.2",
"serve": "^11",
"style-loader": "^1.1.3",
"serve": "^14",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^2.2.1",
"url-loader": "^4.1.0",
"webpack": "^4.17.2",
"webpack-cli": "^3.1.0"
"webpack": "^5",
"webpack-cli": "^4"
},
"dependencies": {
"@angular-eslint/template-parser": "^12.3.0",
Expand All @@ -56,7 +62,7 @@
"@swc/wasm-web": "^1.2.146",
"@typescript-eslint/parser": "^5.27.0",
"@vue/compiler-dom": "^3.0.0-rc.10",
"@webassemblyjs/wast-parser": "^1.9.0",
"@webassemblyjs/wast-parser": "1.9.0",
"acorn": "^8.3.0",
"acorn-jsx": "^5.3.1",
"acorn-loose": "^8.1.0",
Expand Down Expand Up @@ -92,7 +98,7 @@
"eslint2": "npm:eslint@^2",
"eslint3": "npm:eslint@^3",
"eslint4": "npm:eslint@^4",
"eslint8": "npm:eslint@^8",
"eslint8": "npm:eslint@^8.20",
"espree": "^6.2.1",
"esprima": "^4.0.1",
"filbert": "^0.1.20",
Expand Down Expand Up @@ -124,7 +130,7 @@
"postcss": "^8.0.0",
"postcss-less": "^5.0.0",
"postcss-safe-parser": "^6.0.0",
"postcss-scss": "^4.0.0",
"postcss-scss": "^4.0.4",
"posthtml": "^0.13.4",
"posthtml-parser": "^0.5.1",
"prettier": "^2.0.4",
Expand Down Expand Up @@ -172,14 +178,5 @@
"yaml": "^1.7.2",
"yaml-ast-parser": "^0.0.43"
},
"browserslist": "> 0.25%, not dead",
"scripts": {
"dev": "concurrently \"yarn start\" \"yarn build-dev\"",
"start": "serve -l 8080 ../out",
"build": "rimraf ../out/* && cross-env NODE_ENV=production webpack --mode=production",
"build-dev": "rimraf ../out/* && cross-env NODE_ENV=development webpack -d --mode=development",
"watch": "webpack -dw --mode=development",
"lint": "node_modules/eslint/bin/eslint.js src/",
"fontcustom": "fontcustom compile ./fontcustom/input-svg/ --config=./fontcustom/config.yml"
}
"browserslist": "> 0.25%, not dead"
}