UNPKG

@winstrike/next-i18next-koa

Version:

The easiest way to translate your NextJs apps. With Koa support only. Forked from 'next-i18next'.

99 lines (98 loc) 3.35 kB
{ "name": "@winstrike/next-i18next-koa", "version": "0.1.14", "repository": "git@github.com:winstrike/next-i18next.git", "author": "Janealter <n.bakulin@winstrike.gg>", "main": "dist/commonjs/index.js", "jsnext:main": "dist/es/index.js", "module": "dist/es/index.js", "types": "./types.d.ts", "license": "MIT", "engines": { "node": ">=8" }, "description": "The easiest way to translate your NextJs apps. With Koa support only. Forked from 'next-i18next'.", "keywords": [ "react", "i18next", "nextjs", "next", "translation", "localisation", "localization", "locale", "next-i18next" ], "scripts": { "lint": "eslint src examples __tests__", "lint:fix": "eslint src examples __tests__ --fix", "clean": "rm -rf dist && mkdir dist", "build:es": "BABEL_ENV=es babel src --out-dir dist/es", "build:cjs": "BABEL_ENV=cjs babel src --out-dir dist/commonjs", "build": "npm run clean && npm run build:cjs && npm run build:es", "build:examples/simple": "npm link && cd examples/simple && npm i && npm link next-i18next && npm run build", "remove:examples/simple": "rm -rf examples/simple/package-lock.json", "prepublishOnly": "npm run build", "run-example": "npm run build && cd examples/simple && rm -rf node_modules && npm i && npm run dev", "run-example:prod": "npm run build && cd examples/simple && rm -rf node_modules && npm i && npm run build && npm start", "test": "npm run build && npm run build:examples/simple && NODE_ENV=test jest --maxWorkers=1 --silent && npm run remove:examples/simple" }, "husky": { "hooks": { "pre-commit": "npm run lint && npm test" } }, "devDependencies": { "@babel/cli": "^7.1.5", "@babel/core": "^7.1.6", "@babel/plugin-transform-runtime": "^7.1.0", "@babel/preset-env": "^7.1.6", "@babel/preset-react": "^7.0.0", "@types/koa": "^2.0.49", "@types/next": "^8.0.1", "@types/react": "^16.8.4", "@types/react-dom": "^16.8.2", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^24.1.0", "babel-plugin-add-module-exports": "^1.0.0", "babel-plugin-transform-async-to-generator": "^6.24.1", "enzyme": "^3.8.0", "enzyme-adapter-react-16": "^1.7.1", "eslint": "^5.12.1", "eslint-config-airbnb": "^17.1.0", "eslint-plugin-import": "^2.17.1", "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-react": "^7.11.1", "husky": "^2.0.0", "jest": "^24.1.0", "jest-puppeteer": "^4.0.0", "jsdom": "^15.0.0", "jsdom-global": "^3.0.2", "koa": "^2.7.0", "koa-router": "^7.4.0", "next": "^8.0.0", "puppeteer": "^1.11.0", "react": "^16.7.0", "react-dom": "^16.6.3" }, "dependencies": { "detect-node": "^2.0.4", "hoist-non-react-statics": "^3.2.0", "i18next": "^15.0.0", "i18next-browser-languagedetector": "^3.0.0", "i18next-node-fs-backend": "^2.1.0", "i18next-xhr-backend": "^2.0.0", "koa-i18next-middleware-fixed": "^1.1.10-b3", "path-match": "^1.2.4", "prop-types": "^15.6.2", "react-i18next": "9.0.10", "url": "^0.11.0" }, "peerDependencies": { "react": ">= 16.3.0" }, "bugs": { "url": "https://github.com/winstrike/next-i18next-koa/issues" }, "homepage": "https://github.com/winstrike/next-i18next-koa#readme" }