Raw
1 {
2 "name": "@medusajs/inventory",
3 "version": "2.21.2",
4 "description": "Inventory Module for Medusa",
5 "main": "dist/index.js",
6 "repository": {
7 "type": "git",
8 "url": "git+https://github.com/medusajs/medusa.git",
9 "directory": "packages/modules/inventory"
10 },
11 "bugs": {
12 "url": "https://github.com/medusajs/medusa/issues"
13 },
14 "publishConfig": {
15 "access": "public"
16 },
17 "files": [
18 "dist",
19 "!dist/**/__tests__",
20 "!dist/**/__mocks__",
21 "!dist/**/__fixtures__"
22 ],
23 "engines": {
24 "node": ">=22.22.0"
25 },
26 "author": "Medusa",
27 "license": "MIT",
28 "devDependencies": {
29 "@medusajs/framework": "2.21.2",
30 "@medusajs/test-utils": "2.21.2"
31 },
32 "peerDependencies": {
33 "@medusajs/framework": "2.21.2"
34 },
35 "scripts": {
36 "watch": "yarn run -T tsc --build --watch",
37 "watch:test": "yarn run -T tsc --build tsconfig.spec.json --watch",
38 "resolve:aliases": "yarn run -T tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && yarn run -T tsc-alias -p tsconfig.resolved.json && yarn run -T rimraf tsconfig.resolved.json",
39 "build": "yarn run -T rimraf dist && yarn run -T tsc --build && npm run resolve:aliases",
40 "test": "../../../node_modules/.bin/jest --bail --forceExit --testPathPattern=src",
41 "test:integration": "../../../node_modules/.bin/jest --passWithNoTests --forceExit --testPathPattern=\"integration-tests/__tests__/.*\\.spec\\.ts\"",
42 "migration:initial": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create --initial -n InitialSetupMigration",
43 "migration:create": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create",
44 "migration:up": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:up",
45 "orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
46 }
47 }