mirror of https://github.com/grafana/grafana.git
75 lines
2.0 KiB
JSON
75 lines
2.0 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"name": "@grafana/i18n",
|
|
"version": "12.3.0-pre",
|
|
"description": "Grafana Internationalization Library",
|
|
"keywords": [
|
|
"grafana",
|
|
"typescript"
|
|
],
|
|
"sideEffects": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/grafana/grafana.git",
|
|
"directory": "packages/grafana-i18n"
|
|
},
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"module": "src/index.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"require": "./src/index.ts"
|
|
},
|
|
"./internal": {
|
|
"import": "./src/internal/index.ts",
|
|
"require": "./src/internal/index.ts"
|
|
},
|
|
"./eslint-plugin": {
|
|
"import": "./src/eslint/index.cjs",
|
|
"require": "./src/eslint/index.cjs"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"main": "./dist/cjs/index.cjs",
|
|
"module": "./dist/esm/index.mjs",
|
|
"types": "./dist/types/index.d.ts",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"./README.md",
|
|
"./CHANGELOG.md",
|
|
"LICENSE_APACHE2"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts --configPlugin esbuild",
|
|
"bundle": "rollup -c rollup.config.ts --configPlugin esbuild",
|
|
"clean": "rimraf ./dist ./compiled ./package.tgz",
|
|
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
|
|
"prepack": "cp package.json package.json.bak && node ../../scripts/prepare-npm-package.js",
|
|
"postpack": "mv package.json.bak package.json"
|
|
},
|
|
"dependencies": {
|
|
"@formatjs/intl-durationformat": "^0.7.0",
|
|
"@typescript-eslint/utils": "^8.33.1",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"i18next": "^25.0.0",
|
|
"i18next-browser-languagedetector": "^8.0.0",
|
|
"i18next-pseudo": "^2.2.1",
|
|
"micro-memoize": "^4.1.2",
|
|
"react-i18next": "^15.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "18.3.18",
|
|
"rollup": "^4.22.4",
|
|
"rollup-plugin-copy": "3.5.0",
|
|
"typescript": "5.9.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18"
|
|
}
|
|
}
|