localized-strings
Version:
Simple module to localize the strings of any JS based program using the same syntax used in the ReactLocalization and ReactNativeLocalization module, use 'npm run build' before publishing
55 lines (54 loc) • 1.61 kB
JSON
{
"name": "localized-strings",
"version": "2.0.3",
"description": "Simple module to localize the strings of any JS based program using the same syntax used in the ReactLocalization and ReactNativeLocalization module, use 'npm run build' before publishing",
"type": "module",
"main": "./lib/LocalizedStrings.umd.js",
"module": "./lib/LocalizedStrings.es.js",
"types": "./lib/LocalizedStrings.d.ts",
"exports": {
".": {
"types": "./lib/LocalizedStrings.d.ts",
"import": "./lib/LocalizedStrings.es.js",
"require": "./lib/LocalizedStrings.umd.js"
}
},
"files": [
"lib"
],
"scripts": {
"dev": "vite",
"lint": "eslint 'src/**/*.{js,ts}'",
"test": "vitest",
"build:vite": "vite build",
"build:types": "tsc --emitDeclarationOnly",
"build": "npm run build:vite && npm run build:types"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stefalda/localized-strings.git"
},
"keywords": [
"localization",
"internationalization",
"string localization",
"javascript",
"typescript",
"nativescript"
],
"author": "Stefano Falda <stefano.falda@gmail.com> (http://www.babisoft.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/stefalda/localized-strings/issues"
},
"homepage": "https://github.com/stefalda/localized-strings#readme",
"devDependencies": {
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.31.0",
"typescript": "^5.7.3",
"vite": "^6.0.7",
"vitest": "^2.1.8",
"@types/node": "^22.10.5"
}
}