mirror of
https://github.com/symfony/ux-translator.git
synced 2026-03-24 00:12:19 +01:00
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "@symfony/ux-translator",
|
|
"description": "Symfony Translator for JavaScript",
|
|
"license": "MIT",
|
|
"version": "2.34.0",
|
|
"keywords": [
|
|
"symfony-ux"
|
|
],
|
|
"homepage": "https://ux.symfony.com/translator",
|
|
"repository": "https://github.com/symfony/ux",
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"main": "dist/translator_controller.js",
|
|
"types": "dist/translator_controller.d.ts",
|
|
"scripts": {
|
|
"build": "node ../../../bin/build_package.ts .",
|
|
"watch": "node ../../../bin/build_package.ts . --watch",
|
|
"test": "pnpm run test:unit && pnpm run test:browser",
|
|
"test:unit": "../../../bin/unit_test_package.sh .",
|
|
"test:browser": "playwright test",
|
|
"test:browser:ui": "playwright test --ui"
|
|
},
|
|
"symfony": {
|
|
"importmap": {
|
|
"intl-messageformat": "^10.5.11",
|
|
"@symfony/ux-translator": "path:%PACKAGE%/dist/translator_controller.js"
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"intl-messageformat": "^10.5.11"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"intl-messageformat": {
|
|
"optional": false
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"intl-messageformat": "^10.5.11",
|
|
"jsdom": "^26.1.0",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^4.1.0"
|
|
}
|
|
}
|