UNPKG

val-i18n-react

Version:
76 lines (75 loc) 2.19 kB
{ "name": "val-i18n-react", "version": "0.1.5", "private": false, "description": "React goodies for val-i18n", "license": "MIT", "author": "CRIMX <straybugs@gmail.com> (https://github.com/crimx/)", "repository": "crimx/val-i18n-react", "keywords": [ "internationalization", "i18n", "translation", "localization", "l10n", "globalization", "gettext", "react", "reactjs", "hook", "react-hooks" ], "sideEffects": false, "main": "./dist/main.js", "module": "./dist/main.mjs", "types": "./dist/main.d.ts", "files": [ "src", "dist" ], "scripts": { "prepublishOnly": "pnpm run build", "lint": "eslint --ext .ts,.tsx . && prettier --check .", "test": "jest --coverage", "types": "cross-env NODE_ENV=production tsc --declaration --emitDeclarationOnly --jsx react --esModuleInterop --outDir dist", "docs": "typedoc --options typedoc.json", "build": "cross-env NODE_ENV=production tsup src/main.ts", "build:min": "cross-env NODE_ENV=production MINIFY=true tsup src/main.ts && node scripts/gzip.mjs", "build:dev": "cross-env NODE_ENV=development tsup src/main.ts", "release": "standard-version" }, "peerDependencies": { "react": ">=16", "val-i18n": "0", "use-value-enhancer": "<=5" }, "devDependencies": { "@jest/globals": "^28.1.3", "@testing-library/react": "^13.4.0", "@types/node": "^18.16.12", "@types/react": "^18.0.34", "@types/react-dom": "^18.0.11", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "cross-env": "^7.0.3", "eslint": "^7.32.0", "eslint-config-prettier": "^8.8.0", "gzip-size": "^7.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "prettier": "^2.8.8", "pretty-bytes": "^6.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-test-renderer": "^18.2.0", "standard-version": "^9.5.0", "ts-jest": "^29.0.5", "tsup": "^6.7.0", "typedoc": "^0.24.8", "typescript": "^4.9.5", "use-value-enhancer": "^5.0.0", "val-i18n": "^0.1.10", "value-enhancer": "^5.0.0", "yoctocolors": "^1.0.0" } }