UNPKG

@eyedea/next-roots

Version:

Utility to handle internationalized routing for Next.js app folder.

117 lines (116 loc) 3.28 kB
{ "name": "@eyedea/next-roots", "version": "3.4.2", "description": "Utility to handle internationalized routing for Next.js app folder.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "index.d.ts", "index.js", "mock.js" ], "exports": { ".": { "next-roots-mock": "./mock.js", "default": "./index.js" } }, "bin": { "next-roots": "dist/cli.js" }, "scripts": { "prepare": "husky install", "clean": "rm -rf dist || true", "build": "yarn clean && yarn check:types && yarn test && node esbuild.mjs && yarn build:types", "build:types": "yarn dts-bundle-generator --config ./dts.config.js", "build:no-test": "node esbuild.mjs", "build:coverage": "yarn clean && yarn check:types && yarn test && node esbuild.mjs", "format": "pretty-quick", "lint": "eslint --fix --ext .js,.ts,.tsx src/", "test": "vitest --no-watch", "test:watch": "vitest", "test:coverage": "yarn test --coverage", "check:types": "yarn tsc --noEmit", "prepublish": "yarn build", "publish:canary": "yarn publish --tag canary", "semantic-release": "semantic-release" }, "dependencies": { "node-watch": "^0.7.4", "parse-typed-args": "^0.2.0", "path-to-regexp": "^6.2.1" }, "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^11.0.0", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^9.2.1", "@semantic-release/npm": "^11.0.0", "@semantic-release/release-notes-generator": "^12.0.0", "@typescript-eslint/eslint-plugin": "^5.59.11", "@typescript-eslint/parser": "^5.59.11", "@vitest/coverage-istanbul": "^0.34.5", "arg": "^5.0.2", "colors": "^1.4.0", "commitizen": "^4.3.0", "cz-conventional-changelog": "^3.3.0", "dts-bundle-generator": "^8.0.1", "esbuild": "^0.19.5", "esbuild-node-externals": "^1.7.0", "eslint": "^8.42.0", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-unused-imports": "^2.0.0", "husky": "^8.0.3", "lint-staged": "^13.2.2", "prettier": "^2.8.8", "pretty-quick": "^3.1.3", "semantic-release": "^22.0.0", "typescript": "^5.1.3", "vitest": "^0.34.6" }, "license": "MIT", "keywords": [ "next.js", "i18n", "routes", "locale", "internationalization", "localization", "localized", "react", "next", "nextjs", "server components" ], "author": "Jirka Svoboda <svobik7@gmail.com>", "repository": { "type": "git", "url": "git+https://github.com/svobik7/next-roots.git" }, "lint-staged": { "*.{js,ts,tsx}": [ "eslint --fix" ] }, "publishConfig": { "registry": "https://registry.npmjs.org/", "tag": "latest" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "bugs": { "url": "https://github.com/svobik7/next-roots/issues" }, "homepage": "https://github.com/svobik7/next-roots#readme", "directories": { "example": "examples" } }