diff --git a/package.json b/package.json index 58f4c94..2a4e7d2 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "homepage": "https://github.com/abraham/reflection#readme", "devDependencies": { "pkg-ok": "^3.0.0", - "@types/jest": "^29.1.1", + "@types/jest": "^29.0.0", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^8.0.0", @@ -54,8 +54,8 @@ "eslint-plugin-jest": "^27.0.0", "jest": "^29.0.0", "prettier": "^2.0.0", - "rimraf": "^4.1.2", - "rollup": "^2.0.0", + "rimraf": "^4.0.0", + "rollup": "^3.0.0", "ts-jest": "^29.0.0", "typescript": "^4.0.0" }, @@ -77,14 +77,6 @@ "node" ] }, - "rollup": { - "input": "dist/index.js", - "output": { - "file": "dist/index.umd.cjs", - "format": "umd", - "name": "@abraham/reflection" - } - }, "eslintConfig": { "root": true, "parser": "@typescript-eslint/parser", diff --git a/rollup.config.js b/rollup.config.js deleted file mode 100644 index e736895..0000000 --- a/rollup.config.js +++ /dev/null @@ -1 +0,0 @@ -export { rollup as default } from './package.json'; diff --git a/rollup.config.mjs b/rollup.config.mjs new file mode 100644 index 0000000..30b87b6 --- /dev/null +++ b/rollup.config.mjs @@ -0,0 +1,8 @@ +export default { + input: 'dist/index.js', + output: { + file: 'dist/index.umd.cjs', + format: 'umd', + name: '@abraham/reflection', + }, +};