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
47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "integration-tests-modules",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"test:integration": "node --expose-gc ./../../node_modules/.bin/jest --ci --silent=false -i --detectOpenHandles --logHeapUsage --forceExit",
|
|
"build": "babel src -d dist --extensions \".ts,.js\""
|
|
},
|
|
"dependencies": {
|
|
"@medusajs/api-key": "workspace:^",
|
|
"@medusajs/auth": "workspace:*",
|
|
"@medusajs/cache-inmemory": "workspace:*",
|
|
"@medusajs/customer": "workspace:^",
|
|
"@medusajs/event-bus-local": "workspace:*",
|
|
"@medusajs/inventory": "workspace:^",
|
|
"@medusajs/medusa": "workspace:*",
|
|
"@medusajs/modules-sdk": "workspace:^",
|
|
"@medusajs/pricing": "workspace:^",
|
|
"@medusajs/product": "workspace:^",
|
|
"@medusajs/promotion": "workspace:^",
|
|
"@medusajs/region": "workspace:^",
|
|
"@medusajs/store": "workspace:^",
|
|
"@medusajs/tax": "workspace:^",
|
|
"@medusajs/user": "workspace:^",
|
|
"@medusajs/utils": "workspace:^",
|
|
"@medusajs/workflow-engine-inmemory": "workspace:*",
|
|
"faker": "^5.5.3",
|
|
"medusa-fulfillment-webshipper": "workspace:*",
|
|
"medusa-interfaces": "workspace:*",
|
|
"medusa-plugin-sendgrid": "workspace:*",
|
|
"medusa-test-utils": "workspace:*",
|
|
"pg": "^8.11.0",
|
|
"typeorm": "^0.3.16"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.12.10",
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/node": "^7.12.10",
|
|
"@medusajs/types": "workspace:^",
|
|
"babel-preset-medusa-package": "*",
|
|
"jest": "^26.6.3",
|
|
"jest-environment-node": "26.6.2"
|
|
}
|
|
}
|