Initial Commit
This commit is contained in:
96
packages/media/fonts/font-convert/package.json
Normal file
96
packages/media/fonts/font-convert/package.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"name": "@suaveplan/font-convert",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Convert TTF/OTF/WOFF/WOFF2 font files to typeface.js JSON format. Defines canonical TypefaceFont, TypefaceGlyph, and PathCommand types used by font-compress and font-decompress.",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"./types/typeface": {
|
||||
"import": {
|
||||
"types": "./dist/types/typeface.d.ts",
|
||||
"default": "./dist/types/typeface.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/types/typeface.d.ts",
|
||||
"default": "./dist/types/typeface.js"
|
||||
}
|
||||
},
|
||||
"./core/font-converter": {
|
||||
"import": {
|
||||
"types": "./dist/core/font-converter/index.d.ts",
|
||||
"default": "./dist/core/font-converter/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/core/font-converter/index.d.ts",
|
||||
"default": "./dist/core/font-converter/index.js"
|
||||
}
|
||||
},
|
||||
"./core/batch-converter": {
|
||||
"import": {
|
||||
"types": "./dist/core/batch-converter/index.d.ts",
|
||||
"default": "./dist/core/batch-converter/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/core/batch-converter/index.d.ts",
|
||||
"default": "./dist/core/batch-converter/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": {
|
||||
"@opentelemetry/api": "catalog:observability",
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"@suaveplan/types": "workspace:^",
|
||||
"opentype.js": "catalog:fonts",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@types/opentype.js": "catalog:fonts",
|
||||
"@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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user