Skip to content

Commit

Permalink
Update build setup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmod committed Sep 28, 2023
1 parent d5a1788 commit d2bc405
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 567 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 18
cache: yarn
- run: yarn
- run: yarn build
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 14.18.2
nodejs 18.18.0
yarn 1.22.19
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"scripts": {
"start": "web-ext run --target=chromium",
"build": "yarn build.dev",
"build.dev": "webpack --mode development --display-error-details --progress",
"build.prod": "webpack --mode production --display-error-details --progress",
"build.watch": "webpack --mode development --display-error-details --progress --watch",
"build.dev": "export NODE_OPTIONS=--openssl-legacy-provider && webpack --mode development --display-error-details --progress",
"build.prod": "export NODE_OPTIONS=--openssl-legacy-provider && webpack --mode production --display-error-details --progress",
"build.watch": "export NODE_OPTIONS=--openssl-legacy-provider && webpack --mode development --display-error-details --progress --watch",
"prebuild.dev": "node ./tools/licenses/fetchLicenses.js",
"prebuild.prod": "node ./tools/licenses/fetchLicenses.js",
"prebuild.watch": "node ./tools/licenses/fetchLicenses.js",
Expand Down Expand Up @@ -59,13 +59,12 @@
"jsdom-global": "^3.0.2",
"jsonfile": "^6.0.1",
"license-checker": "^25.0.1",
"mini-css-extract-plugin": "^0.9.0",
"node-sass": "^4.10.0",
"mini-css-extract-plugin": "0.9.0",
"postcss-loader": "^3.0.0",
"react-fake-props": "^0.3.2",
"react-test-renderer": "^16.13.1",
"redux-mock-store": "^1.5.4",
"sass-loader": "^8.0.2",
"sass-loader": "8.0.2",
"sinon-chrome": "^3.0.1",
"style-loader": "^1.2.1",
"stylelint": "^13.3.3",
Expand Down Expand Up @@ -101,6 +100,7 @@
"react-shadow": "^16.3.1",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"sass": "^1.68.0",
"ua-parser-js": "^0.7.21",
"whatwg-fetch": "^3.0.0"
}
Expand Down
Loading

0 comments on commit d2bc405

Please sign in to comment.