@claudebernard/prescription-alerts-element
Version:
An element providing some custom stuff.
151 lines • 4.56 kB
JSON
{
"name": "@claudebernard/prescription-alerts-element",
"version": "1.2.3",
"main": "dist/bcb-prescription-alerts.es.js",
"module": "dist/bcb-prescription-alerts.es.js",
"types": "dist/bcb-prescription-alerts.d.ts",
"type": "module",
"files": [
"dist/*.js",
"dist/*.d.ts",
"dist/*.map",
"dist/*.json"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build && npm run analyze",
"relink": "npm run build && npm link",
"preview": "vite preview",
"lint": "npm run lint:lit-analyzer && npm run lint:eslint",
"lint:eslint": "eslint \"src/**/*.ts\"",
"lint:lit-analyzer": "lit-analyzer",
"analyze": "cem analyze",
"analyze:watch": "cem analyze --watch",
"publish-package": "npm run build && npm publish --access public",
"test": "vitest --run",
"storybook": "storybook dev -p 6006",
"test:report": "vitest --run && xunit-viewer --results=test-report/results.xml --output=test-report/index.html --title=\"Prescription Alerts - Rapport de tests\"",
"build-storybook": "storybook build",
"no-effect": ""
},
"keywords": [
"claude-bernard",
"web-components",
"typescript"
],
"author": "Claude Bernard",
"dependencies": {
"@claudebernard/fhir-mapper": "^2.2.3",
"@lit-labs/signals": "^0.1.3",
"@lit/localize": "^0.12.0",
"@types/fhir": "^0.0.41",
"ajv": "^8.18.0",
"he": "^1.2.0",
"lit": "^3.0.0",
"tctx": "^0.0.13"
},
"devDependencies": {
"@claudebernard/design-system": "^2.29.6",
"@claudebernard/storybook-addon-theme-switcher": "^0.1.0",
"@custom-elements-manifest/analyzer": "^0.9.0",
"@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",
"@types/he": "^1.2.3",
"@types/node": "^22.13.14",
"@types/react": "^19.1.6",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@vitest/browser-playwright": "^4.1.8",
"@vitest/coverage-v8": "^4.1.8",
"eslint": "^8.56.0",
"eslint-plugin-storybook": "^0.12.0",
"lit-analyzer": "^2.0.3",
"msw": "^2.13.3",
"openapi-typescript-codegen": "^0.25.0",
"playwright": "^1.56.1",
"rollup": "^4.9.5",
"sass": "^1.70.0",
"storybook": "^10.4.2",
"ts-lit-plugin": "^1.2.1",
"tslib": "^2.6.2",
"typescript": "^5.2.0",
"vite": "^5.0.5",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.1.8",
"@vitest/ui": "^4.1.7",
"xunit-viewer": "^10.6.1"
},
"peerDependencies": {
"@claudebernard/design-system": "^2.30.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-alerts.git -f v$(echo ${nextRelease.version} | cut -d. -f1,2)-latest'"
}
],
"@semantic-release/gitlab"
]
},
"msw": {
"workerDirectory": [
"assets"
]
}
}