From 09cb5a4989ea4510aad0a07ba0fb882dc25a0223 Mon Sep 17 00:00:00 2001 From: Shivraj Roy Date: Sun, 13 Apr 2025 00:00:44 +0530 Subject: [PATCH] Update peerDependencies to support React 17, 18, and 19 --- package.json | 146 +++++++++++++++++++++++++-------------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/package.json b/package.json index 9caec61..6b7749a 100644 --- a/package.json +++ b/package.json @@ -1,75 +1,75 @@ { - "name": "react-slidedown", - "version": "2.4.7", - "description": "Component for animating height during mount/unmount using a CSS transition", - "main": "lib/slidedown.js", - "style": "lib/slidedown.css", - "types": "lib/slidedown.d.ts", - "scripts": { - "clean": "rimraf '{example,lib,test}/**/*.{js,js.map,d.ts}'", - "test": "npm run build && karma start --single-run", - "test:watch": "karma start", - "test:start": "concurrently \"npm run build:watch\" \"npm run test:watch\" --kill-others", - "build": "tsc", - "build:watch": "tsc -w", - "example:watch": "watchify ./example/index.js -o ./example/bundle.js", - "example:serve": "live-server --open=./example --port=5555", - "start": "concurrently \"npm run build:watch\" \"npm run example:watch\" \"npm run example:serve\" --kill-others" - }, - "author": "Frank Wallis", - "license": "MIT", - "devDependencies": { - "@types/chai": "^4.1.3", - "@types/enzyme": "^3.1.10", - "@types/mocha": "^5.2.5", - "@types/node": "^10.9.4", - "@types/react": "^16.0.16", - "@types/react-dom": "^16.0.5", - "browserify": "^16.2.2", - "chai": "^4.1.2", - "concurrently": "^4.0.1", - "enzyme": "^3.3.0", - "enzyme-adapter-react-16": "^1.3.1", - "karma": "^3.0.0", - "karma-browserify": "^5.2.0", - "karma-chrome-launcher": "^2.2.0", - "karma-mocha": "^1.3.0", - "karma-mocha-reporter": "^2.2.5", - "mocha": "^5.2.0", - "purecss": "^1.0.0", - "react": "^16.4.0", - "react-dom": "^16.4.0", - "react-test-renderer": "^16.8.6", - "rimraf": "^2.6.2", - "typescript": "^4.5.4", - "watchify": "^3.11.0" - }, - "dependencies": { - "tslib": "^2.0.0" - }, - "peerDependencies": { - "react": "^16.3.0 || 17", - "react-dom": "^16.3.0 || 17" - }, - "files": [ - "lib/**/*.js", - "lib/**/*.js.map", - "lib/**/*.css", - "lib/**/*.d.ts", - "lib/**/*.tsx" - ], - "repository": "frankwallis/react-slidedown", - "keywords": [ - "react", - "animation", - "collapse", - "dropdown", - "transition", - "mount", - "height", - "auto", - "dynamic", - "css", - "slide" - ] + "name": "react-slidedown", + "version": "2.4.7", + "description": "Component for animating height during mount/unmount using a CSS transition", + "main": "lib/slidedown.js", + "style": "lib/slidedown.css", + "types": "lib/slidedown.d.ts", + "scripts": { + "clean": "rimraf '{example,lib,test}/**/*.{js,js.map,d.ts}'", + "test": "npm run build && karma start --single-run", + "test:watch": "karma start", + "test:start": "concurrently \"npm run build:watch\" \"npm run test:watch\" --kill-others", + "build": "tsc", + "build:watch": "tsc -w", + "example:watch": "watchify ./example/index.js -o ./example/bundle.js", + "example:serve": "live-server --open=./example --port=5555", + "start": "concurrently \"npm run build:watch\" \"npm run example:watch\" \"npm run example:serve\" --kill-others" + }, + "author": "Frank Wallis", + "license": "MIT", + "devDependencies": { + "@types/chai": "^4.1.3", + "@types/enzyme": "^3.1.10", + "@types/mocha": "^5.2.5", + "@types/node": "^10.9.4", + "@types/react": "^16.0.16", + "@types/react-dom": "^16.0.5", + "browserify": "^16.2.2", + "chai": "^4.1.2", + "concurrently": "^4.0.1", + "enzyme": "^3.3.0", + "enzyme-adapter-react-16": "^1.3.1", + "karma": "^3.0.0", + "karma-browserify": "^5.2.0", + "karma-chrome-launcher": "^2.2.0", + "karma-mocha": "^1.3.0", + "karma-mocha-reporter": "^2.2.5", + "mocha": "^5.2.0", + "purecss": "^1.0.0", + "react": "^16.4.0", + "react-dom": "^16.4.0", + "react-test-renderer": "^16.8.6", + "rimraf": "^2.6.2", + "typescript": "^4.5.4", + "watchify": "^3.11.0" + }, + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "react": "^16.3.0 || ^17 || ^18 || ^19", + "react-dom": "^16.3.0 || ^17 || ^18 || ^19" + }, + "files": [ + "lib/**/*.js", + "lib/**/*.js.map", + "lib/**/*.css", + "lib/**/*.d.ts", + "lib/**/*.tsx" + ], + "repository": "frankwallis/react-slidedown", + "keywords": [ + "react", + "animation", + "collapse", + "dropdown", + "transition", + "mount", + "height", + "auto", + "dynamic", + "css", + "slide" + ] }