@claudebernard/prescription-scanner-element
Version:
An element providing a medical prescription scanner and analyzer.
148 lines (147 loc) • 4.35 kB
JSON
{
"name": "@claudebernard/prescription-scanner-element",
"version": "0.30.1",
"main": "dist/prescription-scanner.es.js",
"module": "dist/prescription-scanner.es.js",
"types": "dist/prescription-scanner.d.ts",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build && npm run analyze",
"preview": "vite preview",
"lint": "eslint .",
"analyze": "cem analyze",
"storybook": "storybook dev -p 6010",
"build-storybook": "storybook build",
"generate": "node scripts/generate.js",
"test": "vitest",
"test-coverage": "vitest --coverage",
"no-effect": ""
},
"keywords": [
"claude-bernard",
"web-components",
"prescription-scanner",
"typescript",
"fhir"
],
"author": "Claude Bernard",
"files": [
"dist/*.js",
"dist/*.d.ts",
"dist/*.map",
"dist/*.json"
],
"dependencies": {
"@apollo/client": "^3.9.8",
"@lit/localize": "^0.12.0",
"graphql": "^16.8.1",
"graphql-ws": "^5.15.0",
"he": "^1.2.0",
"lit": "^3.0.0",
"pdfjs-dist": "^5.4.530",
"tctx": "^0.0.13",
"tom-select": "^2.3.1"
},
"devDependencies": {
"@chromatic-com/storybook": "^5.0.1",
"@claudebernard/storybook-addon-theme-switcher": "^0.1.0",
"@custom-elements-manifest/analyzer": "^0.10.3",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.2.4",
"@lit/localize-tools": "^0.7.0",
"@storybook/addon-a11y": "^10.4.2",
"@storybook/addon-docs": "^10.4.2",
"@storybook/addon-links": "^10.4.2",
"@storybook/addon-vitest": "^10.4.2",
"@storybook/web-components": "^10.4.2",
"@storybook/web-components-vite": "^10.4.2",
"@stylistic/eslint-plugin": "^2.3.0",
"@types/he": "^1.2.3",
"@typescript-eslint/eslint-plugin": "8.57.0",
"@typescript-eslint/parser": "8.57.0",
"@vitest/browser-playwright": "^4.1.8",
"@vitest/coverage-v8": "^4.1.8",
"@webcomponents/webcomponentsjs": "^2.8.0",
"csv-parser": "^3.0.0",
"eslint": "^9.39.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-lit": "^2.2.1",
"eslint-plugin-storybook": "^10.4.2",
"lit-analyzer": "^2.0.3",
"openapi-typescript-codegen": "^0.26.0",
"sass": "^1.81.0",
"storybook": "^10.4.2",
"ts-lit-plugin": "^2.0.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.5.4",
"vite": "7.3.1",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.1.8"
},
"peerDependencies": {
"@claudebernard/design-system": "^2.30.2",
"@claudebernard/medication-request-editor-element": "^0.21.2"
},
"customElements": "dist/custom-elements.json",
"publishConfig": {
"access": "public"
},
"release": {
"tagFormat": "v${version}",
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"package.json"
],
"from": "\"version\": \"\\d+\\.\\d+\\.\\d+\"",
"to": "\"version\": \"${nextRelease.version}\"",
"results": [
{
"file": "package.json",
"hasChanged": true
}
]
},
{
"files": [
"antora.yml"
],
"from": "version: .*",
"to": "version: ${nextRelease.version.replace(/(\\d+\\.\\d+)\\.\\d+/, '$1')}.x"
}
]
}
],
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version} [skip ci on prod]",
"assets": [
"package.json",
"antora.yml*",
"CHANGELOG.md"
]
}
],
[
"@semantic-release/exec",
{
"publishCmd": "sh -c 'git tag -f $(echo v${nextRelease.version} | cut -d. -f1,2)-latest && git push https://gitlab-ci-token:$GITLAB_TOKEN@gitlab.cegedim-sante.com/resip/pim/web-components/prescription-scanner.git -f v$(echo ${nextRelease.version} | cut -d. -f1,2)-latest'"
}
],
"@semantic-release/gitlab"
]
}
}