Fixes #6068. **What** - Uses new Subscriber API. - Adds support for typescript files in Segment plugin. - Adds a peerDependency on @medusajs/medusa for the version that introduced new Subscriber API.
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "medusa-plugin-segment",
|
|
"version": "1.3.7",
|
|
"description": "Segment Analytics",
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa",
|
|
"directory": "packages/medusa-plugin-segment"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"author": "Sebastian Rindom",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"cross-env": "^5.2.1",
|
|
"eslint": "^6.8.0",
|
|
"jest": "^25.5.4",
|
|
"medusa-interfaces": "^1.3.7",
|
|
"medusa-test-utils": "^1.1.40",
|
|
"rimraf": "^5.0.1",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
"test": "jest --passWithNoTests src",
|
|
"build": "rimraf dist && tsc -p ./tsconfig.server.json",
|
|
"watch": "tsc --watch"
|
|
},
|
|
"peerDependencies": {
|
|
"@medusajs/medusa": ">= 1.18.0 < 2",
|
|
"medusa-interfaces": "^1.3.7"
|
|
},
|
|
"dependencies": {
|
|
"analytics-node": "^3.4.0-beta.1",
|
|
"axios": "^0.19.2",
|
|
"medusa-core-utils": "^1.2.0"
|
|
},
|
|
"gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e",
|
|
"keywords": [
|
|
"medusa-plugin",
|
|
"medusa-plugin-analytics"
|
|
]
|
|
}
|