@claudebernard/search-bar-element
Version:
An element providing some custom stuff.
151 lines (150 loc) • 4.51 kB
JSON
{
"name": "@claudebernard/search-bar-element",
"version": "1.9.9",
"main": "dist/search-bar.es.js",
"module": "dist/search-bar.es.js",
"types": "dist/search-bar.d.ts",
"type": "module",
"files": [
"dist/*.js",
"dist/*.d.ts",
"dist/*.map",
"dist/*.json"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build && npm run analyze",
"preview": "vite preview",
"test": "echo run the 'e2e-test' script to run tests",
"lint": "npm run lint:lit-analyzer && npm run lint:eslint",
"lint:eslint": "eslint .",
"lint:lit-analyzer": "lit-analyzer",
"analyze": "cem analyze",
"analyze:watch": "cem analyze --watch",
"generate": "openapi-ts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"write-test": "npx playwright codegen",
"e2e-test": "npx playwright test",
"e2e-test:ui": "npx playwright test --ui"
},
"keywords": [
"claude-bernard",
"web-components",
"typescript",
"fhir"
],
"author": "Claude Bernard",
"dependencies": {
"@hey-api/client-fetch": "^0.8.3",
"@lit-labs/signals": "^0.1.2",
"@lit/localize": "^0.12.0",
"@types/fhir": "^0.0.41",
"@types/he": "^1.2.3",
"he": "^1.2.0",
"lit": "^3.1.4",
"tctx": "^0.0.13",
"vite-tsconfig-paths": "^5.1.4"
},
"devDependencies": {
"@chromatic-com/storybook": "^3.2.4",
"@claudebernard/storybook-addon-theme-switcher": "^0.0.5",
"@custom-elements-manifest/analyzer": "^0.9.0",
"@hey-api/openapi-ts": "0.64.11",
"@lit/localize-tools": "^0.7.0",
"@playwright/test": "^1.47.2",
"@storybook/addon-a11y": "^8.6.11",
"@storybook/addon-controls": "^8.6.11",
"@storybook/addon-essentials": "^8.6.11",
"@storybook/addon-links": "^8.6.11",
"@storybook/blocks": "^8.6.11",
"@storybook/test": "^8.6.11",
"@storybook/web-components": "^8.6.11",
"@storybook/web-components-vite": "^8.6.11",
"@stylistic/eslint-plugin": "^2.3.0",
"@types/node": "^22.13.10",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@webcomponents/webcomponentsjs": "^2.8.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-lit": "^1.14.0",
"eslint-plugin-storybook": "^0.11.2",
"lit-analyzer": "^2.0.3",
"playwright": "^1.47.2",
"sass": "^1.79.4",
"storybook": "^8.6.11",
"storybook-addon-deep-controls": "^0.9.2",
"ts-lit-plugin": "^2.0.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "~5.5.2",
"vite": "6.1.0",
"vite-plugin-dts": "4.5.0",
"vite-svg-sprite-wrapper": "1.4.1"
},
"peerDependencies": {
"@claudebernard/design-system": "^2.26.2",
"@claudebernard/types": "^0.34.0"
},
"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/search-bar.git -f v$(echo ${nextRelease.version} | cut -d. -f1,2)-latest'"
}
],
"@semantic-release/gitlab"
]
}
}