add SearchService interface to medusa-interfaces add DefaultSearchService skeleton implementation to core add search-index.js loader to core for indexing db documents add SearchSubscriber to core add loadToSearchEngine method in ProductService switch order of loaders in core to load subscriptions AFTER plugins adjust service and loader for medusa-plugin-meilisearch
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "medusa-plugin-meilisearch",
|
|
"version": "0.0.1",
|
|
"description": "A starter for Medusa projects.",
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa",
|
|
"directory": "packages/medusa-plugin-meilisearch"
|
|
},
|
|
"author": "Zakaria El Asri",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "babel src -d .",
|
|
"prepare": "cross-env NODE_ENV=production npm run build",
|
|
"watch": "babel -w src --out-dir . --ignore **/__tests__",
|
|
"test": "jest"
|
|
},
|
|
"peerDependencies": {
|
|
"medusa-interfaces": "1.x",
|
|
"typeorm": "0.x"
|
|
},
|
|
"dependencies": {
|
|
"body-parser": "^1.19.0",
|
|
"lodash": "^4.17.21",
|
|
"medusa-core-utils": "^1.1.20",
|
|
"medusa-interfaces": "^1.1.23",
|
|
"meilisearch": "^0.20.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.7.5",
|
|
"@babel/core": "^7.7.5",
|
|
"@babel/node": "^7.7.4",
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
|
"@babel/plugin-transform-instanceof": "^7.8.3",
|
|
"@babel/plugin-transform-runtime": "^7.7.6",
|
|
"@babel/preset-env": "^7.7.5",
|
|
"@babel/register": "^7.7.4",
|
|
"@babel/runtime": "^7.9.6",
|
|
"client-sessions": "^0.8.0",
|
|
"cross-env": "^5.2.1",
|
|
"eslint": "^6.8.0",
|
|
"jest": "^25.5.2"
|
|
}
|
|
}
|