UNPKG

@medusajs/utils

Version:

Medusa utilities functions shared by Medusa core and Modules

78 lines (77 loc) 2.15 kB
{ "name": "@medusajs/utils", "version": "2.8.6", "description": "Medusa utilities functions shared by Medusa core and Modules", "main": "dist/index.js", "exports": { ".": "./dist/index.js" }, "repository": { "type": "git", "url": "https://github.com/medusajs/medusa", "directory": "packages/core/utils" }, "engines": { "node": ">=20.0.0" }, "publishConfig": { "access": "public" }, "files": [ "dist", "!dist/**/__tests__", "!dist/**/__mocks__", "!dist/**/__fixtures__" ], "author": "Medusa", "license": "MIT", "devDependencies": { "@mikro-orm/core": "6.4.3", "@mikro-orm/knex": "6.4.3", "@mikro-orm/migrations": "6.4.3", "@mikro-orm/postgresql": "6.4.3", "@swc/core": "^1.7.28", "@swc/jest": "^0.2.36", "@types/express": "^4.17.21", "awilix": "^8.0.1", "expect-type": "^0.20.0", "express": "^4.21.0", "jest": "^29.7.0", "pg": "^8.13.0", "pg-god": "^1.0.12", "rimraf": "^5.0.1", "typescript": "^5.6.2" }, "dependencies": { "@graphql-codegen/core": "^4.0.2", "@graphql-codegen/typescript": "^4.0.9", "@graphql-tools/merge": "^9.0.7", "@graphql-tools/schema": "^10.0.6", "@medusajs/types": "2.8.6", "@types/pluralize": "^0.0.33", "bignumber.js": "^9.1.2", "dotenv": "^16.4.5", "dotenv-expand": "^11.0.6", "graphql": "^16.9.0", "jsonwebtoken": "^9.0.2", "pg-connection-string": "^2.7.0", "pluralize": "^8.0.0", "ulid": "^2.3.0", "zod": "3.22.4" }, "peerDependencies": { "@mikro-orm/core": "6.4.3", "@mikro-orm/knex": "6.4.3", "@mikro-orm/migrations": "6.4.3", "@mikro-orm/postgresql": "6.4.3", "awilix": "^8.0.1", "express": "^4.21.0", "pg": "^8.13.0" }, "scripts": { "build": "rimraf dist && tsc --build", "watch": "tsc --build --watch", "test": "jest --silent=false --bail --maxWorkers=50% --forceExit --testPathIgnorePatterns='/integration-tests/' -- src/**/__tests__/**/*.ts", "test:integration": "jest --silent --bail --runInBand --forceExit -- src/**/integration-tests/__tests__/**/*.ts" } }