|
3 | 3 | "version": "5.26.3",
|
4 | 4 | "description": "react tooltip component",
|
5 | 5 | "scripts": {
|
6 |
| - "dev-rollup": "node ./prebuild.js --env=development && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.dev.js --watch", |
7 |
| - "build": "node ./prebuild.js --env=production && npm run types && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.prod.js && npm run test", |
| 6 | + "dev-rollup": "node ./prebuild.js --env=development && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.dev.mjs --watch", |
| 7 | + "build": "node ./prebuild.js --env=production && npm run types && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.prod.mjs && npm run test", |
8 | 8 | "dev": "node ./prebuild.js --env=development && node ./esbuild.config.dev.mjs",
|
9 | 9 | "build-esbuild": "node ./prebuild.js --env=production && node ./esbuild.config.prod.mjs",
|
10 |
| - "types": "node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.types.js", |
| 10 | + "types": "node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.types.mjs", |
11 | 11 | "eslint": "eslint --ext=js --ext=jsx --ext=ts --ext=tsx --fix ./src",
|
12 | 12 | "stylelint": "stylelint \"src/**/*.css\"",
|
13 | 13 | "prettier": "prettier --config ./.prettierrc.json --write \"src/**/*{.js,.jsx,.ts,.tsx,.css}\"",
|
|
18 | 18 | "postbuild": "npm run types && npm run bundlesize",
|
19 | 19 | "prepublishOnly": "npm run build"
|
20 | 20 | },
|
| 21 | + "type": "module", |
21 | 22 | "types": "dist/react-tooltip.d.ts",
|
22 | 23 | "license": "MIT",
|
23 | 24 | "private": false,
|
|
48 | 49 | },
|
49 | 50 | "homepage": "https://github.com/ReactTooltip/react-tooltip#readme",
|
50 | 51 | "devDependencies": {
|
51 |
| - "@rollup/plugin-commonjs": "22.0.2", |
52 |
| - "@rollup/plugin-node-resolve": "14.1.0", |
53 |
| - "@rollup/plugin-replace": "4.0.0", |
54 |
| - "@rollup/plugin-typescript": "8.5.0", |
| 52 | + "@rollup/plugin-commonjs": "25.0.7", |
| 53 | + "@rollup/plugin-node-resolve": "15.2.3", |
| 54 | + "@rollup/plugin-replace": "5.0.5", |
| 55 | + "@rollup/plugin-typescript": "11.1.6", |
55 | 56 | "@testing-library/jest-dom": "^5.16.5",
|
56 | 57 | "@testing-library/react": "12.1.5",
|
57 | 58 | "@testing-library/user-event": "14.5.2",
|
|
62 | 63 | "@types/react": "18.2.17",
|
63 | 64 | "@types/react-dom": "18.2.22",
|
64 | 65 | "@types/react-test-renderer": "18.0.7",
|
65 |
| - "@typescript-eslint/eslint-plugin": "5.54.0", |
66 |
| - "@typescript-eslint/parser": "5.54.0", |
| 66 | + "@typescript-eslint/eslint-plugin": "7.3.1", |
| 67 | + "@typescript-eslint/parser": "7.3.1", |
67 | 68 | "bundlesize": "0.18.2",
|
68 | 69 | "css-loader": "6.10.0",
|
69 | 70 | "esbuild": "0.20.2",
|
|
86 | 87 | "process": "^0.11.10",
|
87 | 88 | "react": "16.14.0",
|
88 | 89 | "react-dom": "16.14.0",
|
89 |
| - "rimraf": "^3.0.2", |
90 |
| - "rollup": "2.79.1", |
| 90 | + "rimraf": "5.0.5", |
| 91 | + "rollup": "4.13.0", |
91 | 92 | "rollup-plugin-analyzer": "^4.0.0",
|
92 | 93 | "rollup-plugin-browsersync": "^1.3.3",
|
93 | 94 | "rollup-plugin-copy": "3.5.0",
|
94 |
| - "rollup-plugin-dts": "5.2.0", |
95 |
| - "rollup-plugin-filesize": "^9.1.1", |
| 95 | + "rollup-plugin-dts": "6.1.0", |
| 96 | + "rollup-plugin-filesize": "10.0.0", |
96 | 97 | "rollup-plugin-html-scaffold": "^0.2.0",
|
97 | 98 | "rollup-plugin-postcss": "^4.0.1",
|
98 | 99 | "rollup-plugin-progress": "^1.1.2",
|
|
105 | 106 | "stylelint-config-standard": "^22.0.0",
|
106 | 107 | "ts-jest": "29.1.2",
|
107 | 108 | "ts-node": "10.9.2",
|
108 |
| - "typescript": "4.9.5" |
| 109 | + "typescript": "5.4.2" |
109 | 110 | },
|
110 | 111 | "peerDependencies": {
|
111 | 112 | "react": ">=16.14.0",
|
|
0 commit comments