{"_rev":"34-b6f8a58e3216cbd881dd5f5fbfc3d484","time":{"created":"2024-03-22T11:30:31.320Z","0.0.1":"2023-03-30T14:32:35.278Z","modified":"2024-03-22T11:30:32.139Z","0.0.2":"2023-08-15T19:20:21.000Z","0.0.3":"2023-08-15T19:21:22.055Z","0.0.8":"2023-11-03T10:09:29.159Z","0.0.9":"2023-11-03T10:12:12.371Z","0.0.10":"2023-11-03T10:17:36.424Z","0.0.11":"2023-11-03T10:52:13.346Z","0.0.12":"2023-11-03T10:59:10.468Z","0.0.13":"2023-11-03T11:01:23.330Z","0.0.14":"2023-11-03T11:08:17.641Z","0.0.15":"2023-11-03T11:12:02.480Z","0.0.16":"2023-11-03T11:14:42.210Z","0.0.17":"2023-11-03T11:20:01.315Z","0.0.18":"2023-11-06T10:56:30.003Z","0.0.19":"2023-11-06T11:55:22.244Z","0.0.20":"2023-11-06T12:22:08.815Z","0.0.21":"2023-11-17T16:22:46.483Z","0.0.22":"2023-11-18T21:03:03.245Z","0.0.23":"2023-11-18T21:07:30.293Z","0.0.24":"2023-11-28T14:39:50.452Z","0.0.25":"2023-12-05T15:31:45.307Z","0.0.26":"2023-12-08T17:49:52.605Z","0.0.27":"2023-12-14T10:06:42.014Z","0.0.28":"2023-12-14T10:23:55.366Z","0.0.29":"2023-12-18T13:06:19.370Z","0.0.30":"2023-12-23T13:08:30.520Z","0.0.31":"2024-01-09T12:16:55.278Z","0.0.32":"2024-01-29T15:48:04.553Z","0.0.33":"2024-02-02T12:00:58.345Z","0.0.34":"2024-02-22T13:50:55.051Z","0.0.35":"2024-02-24T14:17:18.900Z","0.1.0":"2024-03-06T11:19:30.700Z","0.2.0":"2024-03-22T11:30:31.585Z"},"_id":"@ai-ecom/medusa-plugin-employee","name":"@ai-ecom/medusa-plugin-employee","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@ai-ecom/medusa-plugin-employee","version":"0.2.0","description":"An plugin for employee system.","author":{"name":"Ai-Ecom","email":"admin@ai-ecom.io"},"license":"MIT","scripts":{"build":"babel src --out-dir . --ignore **/__tests__ --extensions \".ts,.js\"","start":"medusa develop","clean":"cross-env ./node_modules/.bin/rimraf services/ types/ utils/ models/ migrations/ api/ loaders/ repositories/ subscribers/ interfaces/ index.js index.map.js","watch":"babel -w src --out-dir . --ignore **/__tests__ --extensions \".ts,.js\"","prepare":"yarn clean && cross-env NODE_ENV=production yarn build","development":"yarn link \"typeorm\" && yarn link \"@medusajs/medusa\" && yarn link \"medusa-interfaces\""},"peerDependencies":{"@medusajs/medusa":"1.12.0","medusa-interfaces":"^1.3.7"},"devDependencies":{"@babel/cli":"^7.14.3","@babel/core":"^7.14.3","@babel/eslint-parser":"^7.21.3","@babel/preset-typescript":"^7.14.5","@types/node":"^18.11.0","@typescript-eslint/eslint-plugin":"^5.55.0","@typescript-eslint/parser":"^5.55.0","babel-preset-medusa-package":"^1.1.19","cross-env":"^7.0.3","eslint":"^8.36.0","eslint-config-google":"^0.14.0","eslint-config-prettier":"^8.5.0","eslint-plugin-markdown":"^3.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.31.11","rimraf":"^3.0.2","ts-loader":"^9.2.6","typescript":"^4.5.5"},"keywords":["medusa","service"],"dependencies":{"@medusajs/utils":"^1.9.0","class-transformer":"^0.5.1","class-validator":"^0.14.0","cors":"^2.8.5","express":"^4.18.2","express-list-endpoints":"^6.0.0","fs-exists-cached":"^1.0.0","lodash":"^4.17.21","medusa-core-utils":"^1.1.31","medusa-test-utils":"^1.1.37","pg":"^8.8.0","typeorm":"^0.3.16"},"gitHead":"16d0cbd394fda5a7dc2ae3c1c15f47fe251e577d","_id":"@ai-ecom/medusa-plugin-employee@0.2.0","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-rO0+6ECEVSApY7eEqrGzX9Qm2Q04RfNFU6H7KdJcYzyNf5Gn9DBW26X41fsPT5c8JMOKAeebMT1Fzp71vif1dQ==","shasum":"6a5607e244a045b3d99e1fe2a3d0f88a906ed8e2","tarball":"https://registry.npmjs.org/@ai-ecom/medusa-plugin-employee/-/medusa-plugin-employee-0.2.0.tgz","fileCount":113,"unpackedSize":542758,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmKSRCmDJUXSRJXIBH77e7zy1ceGCS05Tb+f9NQr6lPgIhAJwV/yQjRhafPLqqWknQhFdmCfQdfuFCsNJodRxgVLQf"}]},"_npmUser":{"name":"ai-ecom-io-akram","email":"akram.askar@nosc.ai"},"directories":{},"maintainers":[{"name":"tholut","email":"tholut.akhyar@nosc.ai"},{"name":"ai-ecom-io-akram","email":"akram.askar@nosc.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/medusa-plugin-employee_0.2.0_1711107031433_0.09153356840460969"},"_hasShrinkwrap":false}},"maintainers":[{"name":"tholut","email":"tholut.akhyar@nosc.ai"},{"name":"ai-ecom-io-akram","email":"akram.askar@nosc.ai"}],"description":"An plugin for employee system.","keywords":["medusa","service"],"author":{"name":"Ai-Ecom","email":"admin@ai-ecom.io"},"license":"MIT","readme":"<p align=\"center\">\n  <a href=\"https://www.medusa-commerce.com\">\n    <img alt=\"Medusa\" src=\"https://i.imgur.com/USubGVY.png\" width=\"100\" />\n  </a>\n</p>\n<h1 align=\"center\">\n  Medusa Starter Default\n</h1>\n<p align=\"center\">\nThis repo provides the skeleton to get you started with using <a href=\"https://github.com/medusajs/medusa\">Medusa</a>. Follow the steps below to get ready.\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://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://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 align=\"center\">\n    <a href=\"https://heroku.com/deploy?template=https://github.com/medusajs/medusa-starter-default/tree/feat/deploy-heroku\">\n      <img src=\"https://www.herokucdn.com/deploy/button.svg\" alt=\"Deploy\">\n    </a>\n  </p>\n</p>\n\n## Prerequisites\n\nThis starter has minimal prerequisites and most of these will usually already be installed on your computer.\n\n- [Install Node.js](https://nodejs.org/en/download/)\n- [Install git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\n- [Install SQLite](https://www.sqlite.org/download.html)\n\n## Setting up your store\n\n- Install the Medusa CLI\n  ```\n  npm install -g @medusajs/medusa\n  yarn global add @medusajs/medusa\n  ```\n- Create a new Medusa project\n  ```\n  medusa new my-medusa-store\n  ```\n- Run your project\n  ```\n  cd my-medusa-store\n  medusa develop\n  ```\n\nYour local Medusa server is now running on port **9000**.\n\n### Seeding your Medusa store\n\n---\n\nTo seed your medusa store run the following command:\n\n```\nmedusa seed -f ./data/seed.json\n```\n\nThis command seeds your database with some sample data to get you started, including a store, an administrator account, a region and a product with variants. What the data looks like precisely you can see in the `./data/seed.json` file.\n\n## Setting up your store with Docker\n\n- Install the Medusa CLI\n  ```\n  npm install -g @medusajs/medusa-cli\n  ```\n- Create a new Medusa project\n  ```\n  medusa new my-medusa-store\n  ```\n- Update project config in `medusa-config.js`:\n\n  ```\n  module.exports = {\n    projectConfig: {\n      redis_url: REDIS_URL,\n      database_url: DATABASE_URL, //postgres connectionstring\n      database_type: \"postgres\",\n      store_cors: STORE_CORS,\n      admin_cors: ADMIN_CORS,\n    },\n    plugins,\n  };\n  ```\n\n- Run your project\n\n  When running your project the first time `docker compose` should be run with the `build` flag to build your container locally:\n\n  ```\n  docker-compose up --build\n  ```\n\n  When running your project subsequent times you can run docker compose with no flags to spin up your local environment in seconds:\n\n  ```\n  docker-compose up\n  ```\n\nYour local Medusa server is now running on port **9000**.\n\n### Seeding your Medusa store with Docker\n\n---\n\nTo add seed data to your medusa store running with Docker, run this command in a seperate terminal:\n\n```\ndocker exec medusa-server medusa seed -f ./data/seed.json\n```\n\nThis will execute the previously described seed script in the running `medusa-server` Docker container.\n\n## Try it out\n\n```\ncurl -X GET localhost:9000/store/products | python -m json.tool\n```\n\nAfter the seed script has run you will have the following things in you database:\n\n- a User with the email: admin@medusa-test.com and password: supersecret\n- a Region called Default Region with the countries GB, DE, DK, SE, FR, ES, IT\n- a Shipping Option called Standard Shipping which costs 10 EUR\n- a Product called Cool Test Product with 4 Product Variants that all cost 19.50 EUR\n\nVisit [docs.medusa-commerce.com](https://docs.medusa-commerce.com) for further guides.\n\n<p>\n  <a href=\"https://www.medusa-commerce.com\">\n    Website\n  </a> \n  |\n  <a href=\"https://medusajs.notion.site/medusajs/Medusa-Home-3485f8605d834a07949b17d1a9f7eafd\">\n    Notion Home\n  </a>\n  |\n  <a href=\"https://twitter.com/intent/follow?screen_name=medusajs\">\n    Twitter\n  </a>\n  |\n  <a href=\"https://docs.medusa-commerce.com\">\n    Docs\n  </a>\n</p>\n","readmeFilename":"README.md"}