UNPKG

i18next-hmr

Version:

I18Next HMR🔥 webpack / vite plugin that allows reload translation resources instantly on the client & the server.

77 lines (76 loc) • 1.88 kB
{ "name": "i18next-hmr", "version": "3.1.4", "description": "I18Next HMR🔥 webpack / vite plugin that allows reload translation resources instantly on the client & the server.", "keywords": [ "i18next", "HMR", "webpack", "vite", "plugin" ], "homepage": "https://github.com/felixmosh/i18next-hmr", "bugs": "https://github.com/felixmosh/i18next-hmr/issues", "repository": { "type": "git", "url": "https://github.com/felixmosh/i18next-hmr" }, "license": "MIT", "author": "felixmosh", "exports": { "./plugin": "./lib/plugin.js", "./webpack": "./lib/webpack/plugin.js", "./vite": "./lib/vite/plugin.js" }, "typesVersions": { "*": { "plugin": [ "./lib/plugin.d.ts" ], "webpack": [ "./lib/webpack/plugin.d.ts" ], "vite": [ "./lib/vite/plugin.d.ts" ] } }, "scripts": { "test": "jest", "version": "auto-changelog -p && git add CHANGELOG.md", "release": "release-it --only-version" }, "jest": { "testEnvironment": "node", "testMatch": [ "**/__tests__/**/*.spec.js" ], "testPathIgnorePatterns": [ "/node_modules/", "/dist/" ], "transform": { "(client|server)-hmr\\.js": "<rootDir>/__tests__/utils/preprocessor.js" } }, "devDependencies": { "@types/jest": "^28.1.6", "@types/node": "^18.0.6", "auto-changelog": "^2.4.0", "jest": "^29.7.0", "prettier": "^3.0.3", "release-it": "^16.1.5" }, "release-it": { "git": { "changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs" }, "hooks": { "before:init": "yarn test", "after:bump": "npx auto-changelog -p" }, "github": { "release": true } } }