@openmrs/esm-api
Version:
The javascript module for interacting with the OpenMRS API
79 lines • 2.3 kB
JSON
{
"name": "@openmrs/esm-api",
"version": "10.0.0",
"license": "MPL-2.0",
"description": "The javascript module for interacting with the OpenMRS API",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./src/public": {
"types": "./dist/public.d.ts",
"default": "./dist/public.js"
},
"./mock": {
"import": "./mock.ts",
"require": "./mock-jest.ts"
}
},
"source": true,
"scripts": {
"test": "cross-env TZ=UTC vitest run --passWithNoTests",
"test:watch": "cross-env TZ=UTC vitest watch --passWithNoTests",
"coverage": "cross-env TZ=UTC vitest run --coverage --passWithNoTests",
"build": "rimraf dist && concurrently \"swc --strip-leading-paths src -d dist\" \"tsc --project tsconfig.build.json\"",
"build:development": "rimraf dist && concurrently \"swc --strip-leading-paths src -d dist\" \"tsc --project tsconfig.build.json\"",
"typescript": "tsc --project tsconfig.build.json",
"lint": "eslint src --ext ts,tsx"
},
"keywords": [
"openmrs",
"microfrontends"
],
"directories": {
"lib": "dist",
"src": "src"
},
"browserslist": [
"extends browserslist-config-openmrs"
],
"repository": {
"type": "git",
"url": "git+https://github.com/openmrs/openmrs-esm-core.git"
},
"bugs": {
"url": "https://github.com/openmrs/openmrs-esm-core/issues"
},
"homepage": "https://github.com/openmrs/openmrs-esm-core#readme",
"publishConfig": {
"access": "public"
},
"dependencies": {
"lodash-es": "^4.17.21"
},
"peerDependencies": {
"@openmrs/esm-config": "^10.0.0",
"@openmrs/esm-error-handling": "^10.0.0",
"@openmrs/esm-globals": "^10.0.0",
"@openmrs/esm-navigation": "^10.0.0"
},
"devDependencies": {
"@openmrs/esm-config": "10.0.0",
"@openmrs/esm-error-handling": "10.0.0",
"@openmrs/esm-globals": "10.0.0",
"@openmrs/esm-navigation": "10.0.0",
"@swc/cli": "0.8.1",
"@swc/core": "1.15.21",
"@vitest/coverage-v8": "^4.1.2",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"happy-dom": "^20.6.0",
"rimraf": "^6.1.3",
"rxjs": "^6.5.3",
"vitest": "^4.1.2"
}
}