@intlayer/core
Version:
Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.
202 lines (201 loc) • 6.17 kB
JSON
{
"name": "@intlayer/core",
"version": "8.12.4",
"private": false,
"description": "Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.",
"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": {
"./markdown": {
"types": "./dist/types/markdown/index.d.ts",
"require": "./dist/cjs/markdown/index.cjs",
"import": "./dist/esm/markdown/index.mjs"
},
"./utils": {
"types": "./dist/types/utils/index.d.ts",
"require": "./dist/cjs/utils/index.cjs",
"import": "./dist/esm/utils/index.mjs"
},
"./interpreter": {
"types": "./dist/types/interpreter/index.d.ts",
"require": "./dist/cjs/interpreter/index.cjs",
"import": "./dist/esm/interpreter/index.mjs"
},
"./formatters": {
"types": "./dist/types/formatters/index.d.ts",
"require": "./dist/cjs/formatters/index.cjs",
"import": "./dist/esm/formatters/index.mjs"
},
"./localization": {
"types": "./dist/types/localization/index.d.ts",
"require": "./dist/cjs/localization/index.cjs",
"import": "./dist/esm/localization/index.mjs"
},
"./dictionaryManipulator": {
"types": "./dist/types/dictionaryManipulator/index.d.ts",
"require": "./dist/cjs/dictionaryManipulator/index.cjs",
"import": "./dist/esm/dictionaryManipulator/index.mjs"
},
"./plugins": {
"types": "./dist/types/deepTransformPlugins/index.d.ts",
"require": "./dist/cjs/deepTransformPlugins/index.cjs",
"import": "./dist/esm/deepTransformPlugins/index.mjs"
},
"./transpiler": {
"types": "./dist/types/transpiler/index.d.ts",
"require": "./dist/cjs/transpiler/index.cjs",
"import": "./dist/esm/transpiler/index.mjs"
},
"./messageFormat": {
"types": "./dist/types/messageFormat/index.d.ts",
"require": "./dist/cjs/messageFormat/index.cjs",
"import": "./dist/esm/messageFormat/index.mjs"
},
"./file": {
"types": "./dist/types/transpiler/file/file.d.ts",
"node": {
"require": "./dist/cjs/transpiler/file/file.cjs",
"import": "./dist/esm/transpiler/file/file.mjs"
},
"browser": {
"require": "./dist/cjs/transpiler/file/fileBrowser.cjs",
"import": "./dist/esm/transpiler/file/fileBrowser.mjs"
},
"default": {
"require": "./dist/cjs/transpiler/file/file.cjs",
"import": "./dist/esm/transpiler/file/file.mjs"
}
},
"./file/browser": {
"require": "./dist/cjs/transpiler/file/fileBrowser.cjs",
"import": "./dist/esm/transpiler/file/fileBrowser.mjs"
},
"./package.json": "./package.json"
},
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.mjs",
"types": "dist/types/index.d.ts",
"typesVersions": {
"*": {
".": [
"./dist/types/index.d.ts"
],
"markdown": [
"./dist/types/markdown/index.d.ts"
],
"utils": [
"./dist/types/utils/index.d.ts"
],
"interpreter": [
"./dist/types/interpreter/index.d.ts"
],
"formatters": [
"./dist/types/formatters/index.d.ts"
],
"localization": [
"./dist/types/localization/index.d.ts"
],
"dictionaryManipulator": [
"./dist/types/dictionaryManipulator/index.d.ts"
],
"plugins": [
"./dist/types/deepTransformPlugins/index.d.ts"
],
"transpiler": [
"./dist/types/transpiler/index.d.ts"
],
"messageFormat": [
"./dist/types/messageFormat/index.d.ts"
],
"file": [
"./dist/types/transpiler/file/file.d.ts"
],
"file/browser": [
"./dist/types/transpiler/file/file.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 .",
"process-files": "ts-node src/transpiler/processFilesCLI.ts --dir $npm_config_dir --extension $npm_config_extension --no-node-snapshot",
"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/api": "8.12.4",
"@intlayer/config": "8.12.4",
"@intlayer/dictionaries-entry": "8.12.4",
"@intlayer/types": "8.12.4",
"@intlayer/unmerged-dictionaries-entry": "8.12.4",
"defu": "6.1.7"
},
"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"
},
"engines": {
"node": ">=14.18"
},
"publishConfig": {
"access": "public"
},
"bug": {
"url": "https://github.com/aymericzip/intlayer/issues"
}
}