Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
Update dependencies (#258)
Browse files Browse the repository at this point in the history
* Update dependencies

* Update Rollup config
  • Loading branch information
lwojcik authored Mar 15, 2023
1 parent 65f1ed9 commit 0e26f16
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,28 @@
"*.ts": "eslint --cache --fix"
},
"devDependencies": {
"@testing-library/react": "13.3.0",
"@types/jest": "^28.1.0",
"@types/node": "^18.0.0",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@testing-library/react": "14.0.0",
"@types/jest": "^29.4.2",
"@types/node": "^18.15.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^28.1.0",
"esbuild": "^0.14.39",
"eslint": "^8.15.0",
"eslint-config-lukemnet": "^1.0.1",
"husky": "^8.0.1",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"lint-staged": "^13.0.0",
"babel-jest": "^29.5.0",
"esbuild": "^0.17.11",
"eslint": "^8.36.0",
"eslint-config-lukemnet": "^1.0.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.2.0",
"react": "^18.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.74.0",
"rollup-plugin-dts": "^4.2.1",
"rollup-plugin-esbuild": "^4.9.1",
"sort-package-json": "^1.57.0",
"ts-jest": "^28.0.2",
"typescript": "^4.6.4"
"rimraf": "^4.4.0",
"rollup": "^3.19.1",
"rollup-plugin-dts": "^5.2.0",
"rollup-plugin-esbuild": "^5.0.0",
"sort-package-json": "^2.4.1",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"peerDependencies": {
"react": ">= 16.8.0"
Expand Down
5 changes: 4 additions & 1 deletion rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import dts from "rollup-plugin-dts";
// eslint-disable-next-line import/no-extraneous-dependencies
import esbuild from "rollup-plugin-esbuild";

const name = require("./package.json").main.replace(/\.js$/, "");
const name = "dist/index";

const bundle = (config) => ({
...config,
input: "src/index.ts",
external: (id) => !/^[./]/.test(id),
});

// eslint-disable-next-line import/no-default-export
export default [
bundle({
plugins: [
Expand Down

0 comments on commit 0e26f16

Please sign in to comment.