@itwin/core-i18n
Version:
iTwin.js localization code
77 lines • 2.79 kB
JSON
{
"name": "@itwin/core-i18n",
"version": "5.11.3",
"description": "iTwin.js localization code",
"main": "lib/cjs/core-i18n.js",
"module": "lib/esm/core-i18n.js",
"typings": "lib/cjs/core-i18n",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/iTwin/itwinjs-core.git",
"directory": "core/i18n"
},
"keywords": [
"Bentley",
"BIM",
"iModel"
],
"author": {
"name": "Bentley Systems, Inc.",
"url": "http://www.bentley.com"
},
"peerDependencies": {
"@itwin/core-bentley": "5.11.3"
},
"//devDependencies": [
"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
"NOTE: All tools used by scripts in this package must be listed as devDependencies"
],
"devDependencies": {
"@itwin/eslint-plugin": "^6.0.0",
"@types/chai": "4.3.1",
"@types/i18next": "^8.4.2",
"@types/i18next-browser-languagedetector": "^2.0.1",
"@types/mocha": "^10.0.6",
"@types/node": "~20.17.0",
"babel-loader": "~8.2.5",
"babel-plugin-istanbul": "^7.0.0",
"chai": "^4.3.10",
"eslint": "^9.31.0",
"glob": "^10.5.0",
"rimraf": "^6.0.1",
"source-map-loader": "^5.0.0",
"typescript": "~5.6.2",
"webpack": "^5.97.1",
"webpack-cli": "^5.0.1",
"@itwin/build-tools": "5.11.3",
"@itwin/certa": "5.11.3",
"@itwin/core-common": "5.11.3",
"@itwin/core-bentley": "5.11.3"
},
"//dependencies": [
"NOTE: these dependencies are specific to core-i18n",
"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API",
"NOTE: core-i18n should remain UI technology agnostic, so no react/angular dependencies are allowed"
],
"dependencies": {
"i18next": "^21.9.1",
"i18next-browser-languagedetector": "^6.1.2",
"i18next-http-backend": "^3.0.2"
},
"scripts": {
"build": "npm run -s build:cjs && npm run -s build:esm && npm run -s webpack:test",
"build:cjs": "tsc 1>&2 --outDir lib/cjs",
"build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
"clean": "rimraf -g lib .rush/temp/package-deps*.json",
"docs": "betools docs --json=../../generated-docs/core/core-i18n/file.json --tsIndexFile=./core-i18n.ts --onlyJson",
"extract-api": "betools extract-api --entry=core-i18n",
"lint": "eslint \"./src/**/*.ts\" 1>&2",
"lint-deprecation": "eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \"./src/**/*.ts\"",
"test": "npm run -s test:chrome",
"test:chrome": "certa -r chrome",
"test:debug": "certa -r chrome --debug",
"webpack:test": "webpack --config ./src/test/utils/webpack.config.js 1>&2",
"cover": "npm -s test"
}
}