131 lines
3.4 KiB
JSON
131 lines
3.4 KiB
JSON
{
|
|
"name": "@suaveplan/utils",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Universal utility library: debug, object, platform, number, random, string, email, sound, validate",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./debug": {
|
|
"import": {
|
|
"types": "./dist/debug/index.d.ts",
|
|
"default": "./dist/debug/index.js"
|
|
}
|
|
},
|
|
"./object": {
|
|
"import": {
|
|
"types": "./dist/object/index.d.ts",
|
|
"default": "./dist/object/index.js"
|
|
}
|
|
},
|
|
"./platform": {
|
|
"import": {
|
|
"types": "./dist/platform/index.d.ts",
|
|
"default": "./dist/platform/index.js"
|
|
}
|
|
},
|
|
"./number": {
|
|
"import": {
|
|
"types": "./dist/number/index.d.ts",
|
|
"default": "./dist/number/index.js"
|
|
}
|
|
},
|
|
"./random": {
|
|
"import": {
|
|
"types": "./dist/random/index.d.ts",
|
|
"default": "./dist/random/index.js"
|
|
}
|
|
},
|
|
"./email": {
|
|
"import": {
|
|
"types": "./dist/email/index.d.ts",
|
|
"default": "./dist/email/index.js"
|
|
}
|
|
},
|
|
"./sound": {
|
|
"import": {
|
|
"types": "./dist/sound/index.d.ts",
|
|
"default": "./dist/sound/index.js"
|
|
}
|
|
},
|
|
"./string": {
|
|
"import": {
|
|
"types": "./dist/string/index.d.ts",
|
|
"default": "./dist/string/index.js"
|
|
}
|
|
},
|
|
"./validate": {
|
|
"import": {
|
|
"types": "./dist/validate/index.d.ts",
|
|
"default": "./dist/validate/index.js"
|
|
}
|
|
},
|
|
"./validation": {
|
|
"import": {
|
|
"types": "./dist/validation/index.d.ts",
|
|
"default": "./dist/validation/index.js"
|
|
}
|
|
},
|
|
"./errors": {
|
|
"import": {
|
|
"types": "./dist/errors/index.d.ts",
|
|
"default": "./dist/errors/index.js"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "bunx biome check src/",
|
|
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
|
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
|
},
|
|
"dependencies": {
|
|
"@suaveplan/error": "workspace:^",
|
|
"@suaveplan/types": "workspace:^",
|
|
"@opentelemetry/api": "catalog:observability",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"fast-check": "catalog:testing",
|
|
"mitata": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"README.md"
|
|
]
|
|
}
|