new wrapper for medusa integration tests. for now it is only applied to the modules directory, but it could be used in the api integration tests or any other integrations that requires a db and a server up and running. It is not perfect, but I wanted to have something working and centralised before improving it, also avoiding too many conflicts with other prs
71 lines
1.6 KiB
JSON
71 lines
1.6 KiB
JSON
{
|
|
"name": "medusa-test-utils",
|
|
"version": "1.1.41",
|
|
"description": "Test utils for Medusa",
|
|
"main": "dist/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa",
|
|
"directory": "packages/medusa-test-utils"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
"prepare": "cross-env NODE_ENV=production yarn run build",
|
|
"build": "rimraf dist && tsc --build",
|
|
"watch": "tsc --build --watch",
|
|
"test": "jest --passWithNoTests src"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"author": "Sebastian Rindom",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@medusajs/types": "^1.1.41",
|
|
"cross-env": "^5.2.1",
|
|
"jest": "^25.5.4",
|
|
"rimraf": "^3.0.2",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"peerDependencies": {
|
|
"@medusajs/medusa": ">1.19",
|
|
"axios": "^0.28.0",
|
|
"express": "^4.18.3",
|
|
"get-port": "^5.1.0",
|
|
"pg-god": "^1.0.12",
|
|
"typeorm": "^0.2.43"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@medusajs/medusa": {
|
|
"optional": true
|
|
},
|
|
"axios": {
|
|
"optional": true
|
|
},
|
|
"express": {
|
|
"optional": true
|
|
},
|
|
"get-port": {
|
|
"optional": true
|
|
},
|
|
"pg-god": {
|
|
"optional": true
|
|
},
|
|
"typeorm": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@medusajs/modules-sdk": "^1.12.6",
|
|
"@medusajs/utils": "^1.1.41",
|
|
"@mikro-orm/migrations": "5.9.7",
|
|
"@mikro-orm/postgresql": "5.9.7",
|
|
"medusa-core-utils": "^1.2.1",
|
|
"randomatic": "^3.1.1"
|
|
},
|
|
"gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808"
|
|
}
|