Webpack 5 support with updated packages (#131)

- Update to Webpack 5
- Use @effortlessmotion dynamic html and inline source plugins
- Remove .clasp.json and use SAMPLE file
- Consistent prettier formatting throughout
- Update packages to latest versions

Co-authored-by: Kevin Malakoff <kmalakoff@gmail.com>
This commit is contained in:
Elisha Nuchi
2022-06-20 01:59:26 -04:00
committed by GitHub
parent 0adf784ba1
commit fd73dc051c
25 changed files with 7690 additions and 17891 deletions
+47 -47
View File
@@ -8,7 +8,7 @@
},
"scripts": {
"test:integration": "jest --forceExit test/local-development.test",
"test:integration:extended": "cross-env IS_EXTENDED=1 jest --forceExit test/local-development.test",
"test:integration:extended": "cross-env IS_EXTENDED=true jest --forceExit test/local-development.test",
"login": "clasp login",
"setup": "rimraf .clasp.json && clasp create --type sheets --title \"My React Project\" --rootDir ./dist",
"open": "clasp open --addon",
@@ -17,7 +17,7 @@
"build": "cross-env NODE_ENV=production webpack",
"deploy:dev": "rimraf dist && npm run build:dev && npx clasp push",
"deploy": "rimraf dist && npm run build && npx clasp push",
"serve": "cross-env NODE_ENV=development webpack-dev-server",
"serve": "cross-env NODE_ENV=development webpack serve",
"start": "npm run deploy:dev && npm run serve"
},
"keywords": [
@@ -35,75 +35,75 @@
},
"dependencies": {
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-bootstrap": "^1.6.4",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-bootstrap": "^2.4.0",
"react-dom": "^18.2.0",
"react-transition-group": "^4.4.2"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-object-rest-spread": "^7.18.0",
"@babel/plugin-proposal-optional-chaining": "^7.17.12",
"@babel/plugin-transform-object-assign": "^7.16.7",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@google/clasp": "2.3.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@types/expect-puppeteer": "^4.4.7",
"@types/jest-environment-puppeteer": "^4.4.1",
"@types/puppeteer": "^5.4.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@effortlessmotion/dynamic-cdn-webpack-plugin": "^5.0.1",
"@effortlessmotion/html-webpack-inline-source-plugin": "^1.0.3",
"@google/clasp": "^2.4.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@types/expect-puppeteer": "^5.0.0",
"@types/jest-environment-puppeteer": "^5.0.2",
"@types/puppeteer": "^5.4.6",
"@types/react": "^18.0.14",
"aws-sdk": "^2.1106.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.4",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-loader": "^8.2.5",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
"babel-plugin-transform-es3-property-literals": "^6.22.0",
"copy-webpack-plugin": "^6.4.1",
"cross-env": "^7.0.2",
"css-loader": "^3.6.0",
"dotenv": "^8.6.0",
"dynamic-cdn-webpack-plugin": "^5.0.0",
"eslint": "^8.12.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"dotenv": "^16.0.1",
"eslint": "^8.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-standard": "^14.1.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-googleappsscript": "^1.0.4",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-standard": "^4.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-standard": "^5.0.0",
"gas-client": "^1.0.0",
"gas-lib": "^2.0.4",
"gas-types-detailed": "^1.0.0",
"gas-webpack-plugin": "^1.2.3",
"html-webpack-inline-source-plugin": "0.0.10",
"html-webpack-plugin": "^3.2.0",
"jest": "^27.5.1",
"jest-environment-node": "^27.5.1",
"jest-image-snapshot": "^4.5.1",
"gas-webpack-plugin": "^2.2.2",
"html-webpack-plugin": "^5.5.0",
"jest": "^28.1.1",
"jest-environment-node": "^28.1.1",
"jest-image-snapshot": "^5.1.0",
"mkdirp": "^1.0.4",
"module-to-cdn": "^3.1.5",
"prettier": "^1.19.1",
"puppeteer": "^13.5.2",
"prettier": "^2.7.0",
"puppeteer": "^14.3.0",
"puppeteer-extra": "^3.2.3",
"puppeteer-extra-plugin-stealth": "^2.9.0",
"react-refresh": "^0.10.0",
"react-refresh": "^0.14.0",
"rimraf": "^3.0.2",
"style-loader": "^1.3.0",
"tern": "^0.24.3",
"terser-webpack-plugin": "^2.3.8",
"ts-loader": "^8.3.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.3"
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.3",
"ts-loader": "^9.3.0",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.2"
}
}