UNPKG

nuxt-i18n-micro

Version:

Nuxt I18n Micro is a lightweight, high-performance internationalization module for Nuxt, designed to handle multi-language support with minimal overhead, fast build times, and efficient runtime performance.

126 lines 3.9 kB
{ "name": "nuxt-i18n-micro", "version": "1.93.0", "description": "Nuxt I18n Micro is a lightweight, high-performance internationalization module for Nuxt, designed to handle multi-language support with minimal overhead, fast build times, and efficient runtime performance.", "repository": "s00d/nuxt-i18n-micro", "license": "MIT", "type": "module", "author": { "name": "s00d", "email": "Virus191288@gmail.com", "url": "https://s00d.github.io/" }, "keywords": [ "nuxt", "i18n", "internationalization", "localization", "multi-language", "translation", "nuxt-module", "performance", "seo", "nuxt3" ], "homepage": "https://github.com/s00d/nuxt-i18n-micro", "bugs": { "url": "https://github.com/s00d/nuxt-i18n-micro/issues" }, "exports": { ".": { "types": "./dist/types.d.ts", "default": "./dist/module.mjs" }, "./utils": "./dist/utils.mjs" }, "main": "./dist/module.cjs", "typesVersions": { "*": { "*": [ "./dist/*", "./*" ] } }, "files": [ "dist", "internals.d.ts" ], "stackblitz": { "startCommand": "pnpm install && pnpm --filter \"./packages/**\" run build && pnpm run dev:prepare && pnpm run dev", "env": { "PORT": "3000" } }, "dependencies": { "@nuxt/devtools-kit": "^2.6.2", "@nuxt/kit": "^3.18.1", "chokidar": "^3.6.0", "globby": "^14.1.0", "sirv": "^2.0.4", "ufo": "^1.5.4", "nuxt-i18n-micro-core": "1.0.18", "nuxt-i18n-micro-test-utils": "1.0.6", "nuxt-i18n-micro-types": "1.0.6" }, "devDependencies": { "@nuxt/devtools": "^2.6.2", "@nuxt/devtools-ui-kit": "^2.6.2", "@nuxt/eslint-config": "1.1.0", "@nuxt/module-builder": "^0.8.4", "@nuxt/schema": "^3.18.1", "@nuxt/test-utils": "^3.18.1", "@playwright/test": "^1.50.1", "@types/jest": "^29.5.14", "@types/node": "^20.17.10", "changelogen": "^0.5.7", "eslint": "^9.20.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "5.6.3", "vitepress": "^1.6.3", "vitest": "^3.0.5", "vue-tsc": "2.1.10" }, "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "^4.28.1", "@rollup/rollup-win32-x64-msvc": "^4.28.1" }, "peerDependencies": { "vue-router": ">=4.4.0" }, "workspaces": [ "client", "test/fixtures/**/*" ], "build": { "entries": [ "./src/utils" ] }, "scripts": { "dev": "nuxi dev playground", "dev:build": "nuxi build playground", "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", "dev:generate": "nuxi generate playground", "release": "pnpm run lint && pnpm run typecheck && pnpm run test:types && pnpm run test && pnpm run test:workspaces && pnpm run prepack && changelogen --release && pnpm publish -r && git push --follow-tags", "lint": "eslint .", "lint:fix": "eslint . --fix", "test": "playwright test", "test:vitest": "vitest run", "test:watch": "vitest watch", "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit", "test:workspaces": "pnpm recursive run test", "client:build": "nuxi generate client", "client:prepare": "nuxi client:prepare client", "client:dev": "nuxi dev client --port 3300", "clean": "find . \\( -name 'node_modules' -o -name '.nuxt' -o -name '.output' -o -name 'dist' \\) -type d -prune -exec rm -rf '{}' + && find . \\( -name 'pnpm-lock.yaml' -o -name 'package-lock.json' \\) -type f -exec rm -f '{}' +", "typecheck": "tsc --noEmit", "typecheck:nuxt": "nuxt typecheck --no-emit", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:serve": "vitepress serve docs", "docs:clean-dev": "vitepress dev docs --clean-cache", "docs:preview": "vitepress preview docs" } }