{"_id":"@ajeebsa/admin","_rev":"2-79b73344906f4280cbd6a85a6ff13145","name":"@ajeebsa/admin","dist-tags":{"latest":"6.0.5"},"versions":{"6.0.3":{"name":"@ajeebsa/admin","version":"6.0.3","bin":{"medusa-admin":"bin/medusa-admin.js"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc --build","test":"jest --passWithNoTests"},"repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/admin"},"dependencies":{"@ajeebsa/admin-ui":"*","@rollup/plugin-alias":"5.0.0","@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/plugin-virtual":"^3.0.1","commander":"^10.0.0","dotenv":"16.0.3","esbuild":"0.17.18","express":"4.18.2","fs-extra":"11.1.0","lodash":"^4.17.21","medusa-core-utils":"1.2.0","rollup":"3.20.7","rollup-plugin-esbuild":"5.0.0","ts-dedent":"^2.2.0"},"peerDependencies":{"@medusajs/medusa":"1.12.0"},"devDependencies":{"@medusajs/medusa":"*","@types/express":"^4.17.13","typescript":"^4.9.3"},"packageManager":"yarn@3.2.1","_id":"@ajeebsa/admin@6.0.3","gitHead":"eecb20bcf80a4df9aef0936c1e862b2aa167f53e","description":"<p align=\"center\">   <a href=\"https://www.medusajs.com\">     <img alt=\"Medusa\" src=\"https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png\" width=\"100\" />   </a> </p> <h1 align=\"center\">   @medusajs/admin </h1","bugs":{"url":"https://github.com/medusajs/medusa/issues"},"homepage":"https://github.com/medusajs/medusa#readme","_nodeVersion":"18.12.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-MYFm7u/sMba3UUuHRdGT0VIcao0Lv/Yk7H8++cSX7XstNYD43l327nISsPoVkrlVjJpDggMNTh/697Hsi3IPeA==","shasum":"cf0a6cddf6b03396e14d1224019869cbffc2aa0e","tarball":"https://registry.npmjs.org/@ajeebsa/admin/-/admin-6.0.3.tgz","fileCount":54,"unpackedSize":73884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHCCyHEJgSfXxQqXq//JFy+o1fUPl7ll0oRVDQK8qhxbAiEA7wc8WMt0rrCdy3n7j5Lk4JIC16xHXT+ceJYxzYsHqiI="}]},"_npmUser":{"name":"mawais022","email":"muhammadawais280@gmail.com"},"directories":{},"maintainers":[{"name":"mawais022","email":"muhammadawais280@gmail.com"},{"name":"abdullah-afzal","email":"mr.abdullahafzal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/admin_6.0.3_1690207404561_0.2401874828373609"},"_hasShrinkwrap":false},"6.0.4":{"name":"@ajeebsa/admin","version":"6.0.4","bin":{"medusa-admin":"bin/medusa-admin.js"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc --build","test":"jest --passWithNoTests"},"repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/admin"},"dependencies":{"@ajeebsa/admin-ui":"*","@rollup/plugin-alias":"5.0.0","@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/plugin-virtual":"^3.0.1","commander":"^10.0.0","dotenv":"16.0.3","esbuild":"0.17.18","express":"4.18.2","fs-extra":"11.1.0","lodash":"^4.17.21","medusa-core-utils":"1.2.0","rollup":"3.20.7","rollup-plugin-esbuild":"5.0.0","ts-dedent":"^2.2.0"},"peerDependencies":{"@medusajs/medusa":"1.12.0"},"devDependencies":{"@medusajs/medusa":"*","@types/express":"^4.17.13","typescript":"^4.9.3"},"packageManager":"yarn@3.2.1","_id":"@ajeebsa/admin@6.0.4","gitHead":"eecb20bcf80a4df9aef0936c1e862b2aa167f53e","description":"<p align=\"center\">   <a href=\"https://www.medusajs.com\">     <img alt=\"Medusa\" src=\"https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png\" width=\"100\" />   </a> </p> <h1 align=\"center\">   @medusajs/admin </h1","bugs":{"url":"https://github.com/medusajs/medusa/issues"},"homepage":"https://github.com/medusajs/medusa#readme","_nodeVersion":"18.12.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-KXZHayIzWxU4NArciDE70PpgHj00fStE7B0WXVH/aVCj0NovQYVJhcphDAdgX/ZxdYX9NeCmR9lMMXStVRGLCw==","shasum":"0c220718aa297579baea478d55ec8cb8dff182ea","tarball":"https://registry.npmjs.org/@ajeebsa/admin/-/admin-6.0.4.tgz","fileCount":54,"unpackedSize":73882,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwJ1FcZxthv+VdVUnDxKUYxzznIcrVRaew7T2fQY4lDAiEAseeCzT/hu7vGzbVk7d+OopZUuNB6aYAzB4a4r6fIpKM="}]},"_npmUser":{"name":"mawais022","email":"muhammadawais280@gmail.com"},"directories":{},"maintainers":[{"name":"mawais022","email":"muhammadawais280@gmail.com"},{"name":"abdullah-afzal","email":"mr.abdullahafzal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/admin_6.0.4_1690265503828_0.009590066590099422"},"_hasShrinkwrap":false},"6.0.5":{"name":"@ajeebsa/admin","version":"6.0.5","bin":{"medusa-admin":"bin/medusa-admin.js"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc --build","test":"jest --passWithNoTests"},"repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/admin"},"dependencies":{"@ajeebsa/admin-ui":"1.9.2","@rollup/plugin-alias":"5.0.0","@rollup/plugin-commonjs":"24.1.0","@rollup/plugin-json":"6.0.0","@rollup/plugin-node-resolve":"15.0.2","@rollup/plugin-replace":"5.0.2","@rollup/plugin-virtual":"^3.0.1","commander":"^10.0.0","dotenv":"16.0.3","esbuild":"0.17.18","express":"4.18.2","fs-extra":"11.1.0","lodash":"^4.17.21","medusa-core-utils":"1.2.0","rollup":"3.20.7","rollup-plugin-esbuild":"5.0.0","ts-dedent":"^2.2.0"},"peerDependencies":{"@medusajs/medusa":"1.12.0"},"devDependencies":{"@medusajs/medusa":"*","@types/express":"^4.17.13","typescript":"^4.9.3"},"packageManager":"yarn@3.2.1","_id":"@ajeebsa/admin@6.0.5","gitHead":"eecb20bcf80a4df9aef0936c1e862b2aa167f53e","description":"<p align=\"center\">   <a href=\"https://www.medusajs.com\">     <img alt=\"Medusa\" src=\"https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png\" width=\"100\" />   </a> </p> <h1 align=\"center\">   @medusajs/admin </h1","bugs":{"url":"https://github.com/medusajs/medusa/issues"},"homepage":"https://github.com/medusajs/medusa#readme","_nodeVersion":"18.12.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-z/lKeaUnIVa7zQPzV68CVw5AE1czD/PV4AZHobJhwYhykJVn8ONsT1d1vND9iBYjm4q506jAst33gPNlG5AdRw==","shasum":"ef6edd0a8c85efa30bdd1b11220d4a6c710eff65","tarball":"https://registry.npmjs.org/@ajeebsa/admin/-/admin-6.0.5.tgz","fileCount":54,"unpackedSize":73886,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2+OvVL1JJK3YX0SHDB1MzzCrqRmAVtR3Z81DKWq26TAiA08PlZcW56Mp8Qrbpn9pZxPLBCS14RJk27wMue1pCcFQ=="}]},"_npmUser":{"name":"mawais022","email":"muhammadawais280@gmail.com"},"directories":{},"maintainers":[{"name":"mawais022","email":"muhammadawais280@gmail.com"},{"name":"abdullah-afzal","email":"mr.abdullahafzal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/admin_6.0.5_1690267666779_0.37552282074409904"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-24T14:03:24.482Z","6.0.3":"2023-07-24T14:03:24.781Z","modified":"2023-07-25T06:47:47.179Z","6.0.4":"2023-07-25T06:11:43.990Z","6.0.5":"2023-07-25T06:47:46.963Z"},"maintainers":[{"name":"mawais022","email":"muhammadawais280@gmail.com"},{"name":"abdullah-afzal","email":"mr.abdullahafzal@gmail.com"}],"description":"<p align=\"center\">   <a href=\"https://www.medusajs.com\">     <img alt=\"Medusa\" src=\"https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png\" width=\"100\" />   </a> </p> <h1 align=\"center\">   @medusajs/admin </h1","homepage":"https://github.com/medusajs/medusa#readme","repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/admin"},"bugs":{"url":"https://github.com/medusajs/medusa/issues"},"readme":"<p align=\"center\">\n  <a href=\"https://www.medusajs.com\">\n    <img alt=\"Medusa\" src=\"https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png\" width=\"100\" />\n  </a>\n</p>\n<h1 align=\"center\">\n  @medusajs/admin\n</h1>\n\n<h4 align=\"center\">\n  <a href=\"https://docs.medusajs.com\">Documentation</a> |\n  <a href=\"https://demo.medusajs.com/\">Medusa Admin Demo</a> |\n  <a href=\"https://www.medusajs.com\">Website</a>\n</h4>\n\n<p align=\"center\">\nAn open source composable commerce engine built for developers.\n</p>\n<p align=\"center\">\n  <a href=\"https://github.com/medusajs/medusa/blob/master/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"Medusa is released under the MIT license.\" />\n  </a>\n  <a href=\"https://circleci.com/gh/medusajs/medusa\">\n    <img src=\"https://circleci.com/gh/medusajs/medusa.svg?style=shield\" alt=\"Current CircleCI build status.\" />\n  </a>\n  <a href=\"https://github.com/medusajs/medusa/blob/master/CONTRIBUTING.md\">\n    <img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat\" alt=\"PRs welcome!\" />\n  </a>\n    <a href=\"https://www.producthunt.com/posts/medusa\"><img src=\"https://img.shields.io/badge/Product%20Hunt-%231%20Product%20of%20the%20Day-%23DA552E\" alt=\"Product Hunt\"></a>\n  <a href=\"https://discord.gg/xpCwq3Kfn8\">\n    <img src=\"https://img.shields.io/badge/chat-on%20discord-7289DA.svg\" alt=\"Discord Chat\" />\n  </a>\n  <a href=\"https://twitter.com/intent/follow?screen_name=medusajs\">\n    <img src=\"https://img.shields.io/twitter/follow/medusajs.svg?label=Follow%20@medusajs\" alt=\"Follow @medusajs\" />\n  </a>\n</p>\n\n## Getting started\n\nInstall the package:\n\n```bash\nyarn add @medusajs/admin\n```\n\nAdd the plugin to your `medusa-config.js`:\n\n```js\nmodule.exports = {\n  // ...\n  plugins: [\n    {\n      resolve: \"@medusajs/admin\",\n      options: {\n        // ...\n      },\n    },\n  ],\n  // ...\n}\n```\n\n## Configuration\n\nThe plugin can be configured with the following options:\n\n| Option        | Type       | Description                                                                                                                                             | Default     |\n| ------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |\n| `serve`       | `boolean?` | Whether to serve the admin dashboard or not.                                                                                                            | `true`      |\n| `path`        | `string?`  | The path the admin server should run on. Should not be prefixed or suffixed with a slash. Cannot be one of the reserved paths: `\"admin\"` and `\"store\"`. | `\"app\"`     |\n| `outDir`      | `string?`  | Optional path for where to output the admin build files                                                                                                 | `undefined` |\n| `autoRebuild` | `boolean?` | Decides whether the admin UI should be rebuild if any changes or a missing build is detected during server startup                                      | `false`     |\n\n**Hint**: You can import the PluginOptions type for inline documentation for the different options:\n\n```js\nmodule.exports = {\n  // ...\n  plugins: [\n    {\n      resolve: \"@medusajs/admin\",\n      /** @type {import('@medusajs/admin').PluginOptions} */\n      options: {\n        path: \"app\",\n      },\n    },\n  ],\n  // ...\n}\n```\n\n## Building the admin dashboard\n\nThe admin will be built automatically the first time you start your server if you have enabled `autoRebuild`. Any subsequent changes to the plugin options will result in a rebuild of the admin dashboard.\n\nYou may need to manually trigger a rebuild sometimes, for example after you have upgraded to a newer version of `@medusajs/admin`, or if you have disabled `autoRebuild`. You can do so by adding the following script to your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"build:admin\": \"medusa-admin build\"\n  }\n}\n```\n\n## Accessing the admin dashboard\n\nThe admin dashboard will be available at `your-server-url/app`, unless you have specified a custom path in the plugin options. If you are running your server locally on port 9000 with the default path `\"app\"`, you will be able access the admin dashboard at `http://localhost:9000/app`.\n","readmeFilename":"README.md"}