UNPKG

@intlayer/config

Version:

Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.

195 lines (194 loc) 5.3 kB
{ "name": "@intlayer/config", "version": "8.12.4", "private": false, "description": "Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.", "keywords": [ "intlayer", "layer", "abstraction", "data", "internationalization", "i18n", "typescript", "javascript", "json", "file" ], "homepage": "https://intlayer.org", "bugs": { "url": "https://github.com/aymericzip/intlayer/issues" }, "repository": { "type": "git", "url": "git+https://github.com/aymericzip/intlayer.git" }, "license": "Apache-2.0", "author": { "name": "Aymeric PINEAU", "url": "https://github.com/aymericzip" }, "contributors": [ { "name": "Aymeric Pineau", "email": "ay.pineau@gmail.com", "url": "https://github.com/aymericzip" } ], "sideEffects": false, "exports": { "./node": { "types": "./dist/types/node.d.ts", "require": "./dist/cjs/node.cjs", "import": "./dist/esm/node.mjs" }, "./client": { "types": "./dist/types/client.d.ts", "require": "./dist/cjs/client.cjs", "import": "./dist/esm/client.mjs" }, "./built": { "browser": "./dist/esm/built.browser.mjs", "types": "./dist/types/built.d.ts", "require": "./dist/cjs/built.cjs", "import": "./dist/esm/built.mjs" }, "./utils": { "types": "./dist/types/utils/index.d.ts", "require": "./dist/cjs/utils/index.cjs", "import": "./dist/esm/utils/index.mjs" }, "./file": { "types": "./dist/types/loadExternalFile/index.d.ts", "require": "./dist/cjs/loadExternalFile/index.cjs", "import": "./dist/esm/loadExternalFile/index.mjs" }, "./env": { "types": "./dist/types/loadEnvFile.d.ts", "require": "./dist/cjs/loadEnvFile.cjs", "import": "./dist/esm/loadEnvFile.mjs" }, "./logger": { "types": "./dist/types/logger.d.ts", "require": "./dist/cjs/logger.cjs", "import": "./dist/esm/logger.mjs" }, "./colors": { "types": "./dist/types/colors.d.ts", "require": "./dist/cjs/colors.cjs", "import": "./dist/esm/colors.mjs" }, "./envVars": { "types": "./dist/types/envVars/index.d.ts", "require": "./dist/cjs/envVars/index.cjs", "import": "./dist/esm/envVars/index.mjs" }, "./defaultValues": { "types": "./dist/types/defaultValues/index.d.ts", "require": "./dist/cjs/defaultValues/index.cjs", "import": "./dist/esm/defaultValues/index.mjs" }, "./bundle": { "types": "./dist/types/bundle/index.d.ts", "require": "./dist/cjs/bundle/index.cjs", "import": "./dist/esm/bundle/index.mjs" }, "./package.json": "./package.json" }, "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", "types": "dist/types/index.d.ts", "typesVersions": { "*": { "client": [ "./dist/types/client.d.ts" ], "built": [ "./dist/types/built.d.ts" ], "node": [ "./dist/types/node.d.ts" ], "utils": [ "./dist/types/utils/index.d.ts" ], "file": [ "./dist/types/loadExternalFile/index.d.ts" ], "env": [ "./dist/types/loadEnvFile.d.ts" ], "envVars": [ "./dist/types/envVars/index.d.ts" ], "logger": [ "./dist/types/logger.d.ts" ], "colors": [ "./dist/types/colors.d.ts" ], "defaultValues": [ "./dist/types/defaultValues/index.d.ts" ], "bundle": [ "./dist/types/bundle/index.d.ts" ], "package.json": [ "./package.json" ] } }, "files": [ "./dist", "./package.json" ], "scripts": { "build": "bun --bun tsdown --config tsdown.config.ts", "build:ci": "bun --bun tsdown --config tsdown.config.ts", "clean": "bun --bun rimraf ./dist .turbo", "dev": "bun --bun tsdown --config tsdown.config.ts --watch", "format": "bun --bun biome format . --check", "format:fix": "bun --bun biome format --write .", "lint": "bun --bun biome lint .", "lint:fix": "bun --bun biome lint --write .", "prepublish": "cp -f ../../../README.md ./README.md", "publish": "bun publish || true", "publish:canary": "bun publish --access public --tag canary || true", "publish:latest": "bun publish --access public --tag latest || true", "test": "bun --bun vitest run", "test:watch": "bun --bun vitest", "typecheck": "tsc --noEmit --project tsconfig.types.json" }, "dependencies": { "@intlayer/types": "8.12.4", "defu": "6.1.7", "dotenv": "17.4.2", "esbuild": "0.28.0", "json5": "2.2.3", "zod": "4.4.3" }, "devDependencies": { "@types/node": "25.9.2", "@utils/ts-config": "1.0.4", "@utils/ts-config-types": "1.0.4", "@utils/tsdown-config": "1.0.4", "rimraf": "6.1.3", "tsdown": "0.21.10", "typescript": "6.0.3", "vitest": "4.1.8" }, "peerDependencies": { "react": ">=16.0.0" }, "peerDependenciesMeta": { "react": { "optional": true } }, "engines": { "node": ">=14.18" }, "bug": { "url": "https://github.com/aymericzip/intlayer/issues" } }