diff --git a/package.json b/package.json index e9101ef..7f94c58 100644 --- a/package.json +++ b/package.json @@ -30,13 +30,14 @@ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js tests", "test:ci": "yarn test --ci --silent --coverage --json --watchAll=false --testLocationInResults --outputFile=report.json", "serve": "npx live-server --port=3030 --no-browser --ignore='.*,src,tests'", + "prepare": "yarn build", "prepublishOnly": "yarn build" }, "author": "katspaugh", "license": "BSD-3-Clause", "peerDependencies": { - "react": "^19.0.0", - "wavesurfer.js": ">=7.8.11" + "react": "^18.2.0 || ^19.0.0", + "wavesurfer.js": ">=7.7.14" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7", @@ -67,4 +68,4 @@ "transform": {}, "testEnvironment": "jest-environment-jsdom" } -} +} \ No newline at end of file