diff --git a/package.json b/package.json index c3ae86f..06d936e 100644 --- a/package.json +++ b/package.json @@ -9,12 +9,14 @@ "displayName": "Duplicate Button" }, "peerDependencies": { - "@strapi/design-system": "^2.0.0-rc.10", - "@strapi/icons": "^2.0.0-rc.10", - "@strapi/strapi": "^5.0.0-rc.17", - "@strapi/utils": "^5.0.0-rc.17", - "react-intl": "6.6.2", - "react-router-dom": "6.22.3" + "@strapi/design-system": "^2.0.0", + "@strapi/icons": "^2.0.0", + "@strapi/strapi": "^5.0.0", + "@strapi/utils": "^5.0.0", + "react-intl": "^6.6.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-router-dom": "^6.22.3" }, "author": { "name": "Johannes Lauter" @@ -27,14 +29,17 @@ "exports": { "./strapi-admin": { "source": "./admin/src/index.js", - "import": "./admin/dist/index.mjs", - "require": "./admin/dist/index.js", - "default": "./admin/dist/index.js" + "import": "./dist/admin/index.mjs", + "require": "./dist/admin/index.js", + "default": "./dist/admin/index.js" }, "./package.json": "./package.json" }, "scripts": { - "build": "rollup -c", + "watch": "strapi-plugin watch", + "watch:link": "strapi-plugin watch:link", + "verify": "strapi-plugin verify", + "build": "strapi-plugin build", "prepublish": "npm run build" }, "engines": { @@ -43,9 +48,6 @@ "license": "MIT", "devDependencies": { "@babel/preset-react": "^7.24.7", - "@rollup/plugin-babel": "^6.0.4", - "@rollup/plugin-dynamic-import-vars": "^2.1.2", - "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^15.2.3" + "@strapi/sdk-plugin": "^5.4.0" } -} \ No newline at end of file +}