@rcp/use.i18n
Version:
A react hook for using i18n
45 lines (44 loc) • 1.12 kB
JSON
{
"name": "@rcp/use.i18n",
"author": "imcuttle",
"description": "A react hook for using i18n",
"publishConfig": {
"access": "public"
},
"dependencies": {
"tiny-i18n": "^2.0.3"
},
"license": "MIT",
"module": "dist/es",
"main": "dist/cjs/index.js",
"typings": "dist/es/index.d.ts",
"scripts": {
"dist": "npm run dist:cjs && npm run dist:es",
"dist:cjs": "rm -rf dist/cjs && tsc --module commonjs --outDir dist/cjs",
"dist:es": "rm -rf dist/es && tsc --module ES6 --outDir dist/es",
"test": "npx jest",
"dev": "npm run dist -- -w",
"prepublishOnly": "npm run dist && npm test",
"version": "npm run doc",
"doc": "documentation --markdown-toc=false readme index.js -a public -s \"API\" && git add README.md"
},
"devDependencies": {
"jest": "^23.5.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/imcuttle/rcp.git"
},
"keywords": [
"imcuttle",
"use",
"i18n",
"react",
"rcp"
],
"engines": {
"node": ">=6"
},
"version": "1.1.18",
"gitHead": "81b4cf287afac332be0c71d01d5ef20cf0684169"
}