Adds publish/subscribe pattern to allow plugins and projects to hook into events (#55)

Also adds CLI to ease development.
This commit is contained in:
Sebastian Rindom
2020-05-07 13:47:27 +02:00
committed by GitHub
parent 6a78df1ecd
commit 4c2aec2838
39 changed files with 6974 additions and 444 deletions
+6 -3
View File
@@ -10,8 +10,7 @@
"author": "Sebastian Rindom",
"license": "GPL-3.0",
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/core": "^7.9.6",
"@babel/node": "^7.7.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-transform-instanceof": "^7.8.3",
@@ -27,8 +26,12 @@
"supertest": "^4.0.2"
},
"dependencies": {
"@medusajs/medusa": "^0.1.27",
"bl": "^4.0.2",
"express": "^4.17.1",
"medusa-payment-stripe": "^0.1.27"
"medusa-interfaces": "^0.1.27",
"medusa-payment-stripe": "^0.1.27",
"mongoose": "^5.9.12"
},
"scripts": {
"start": "nodemon --watch plugins/ --watch src/ --exec babel-node node_modules/@medusajs/medusa/dist/app.js"