59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "unifont",
|
|
"type": "module",
|
|
"version": "0.7.5",
|
|
"description": "Framework agnostic tools for accessing data from font CDNs and providers",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/unjs/unifont.git"
|
|
},
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": "./dist/index.mjs"
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"css-tree": "^3.1.0",
|
|
"ohash": "^2.0.11",
|
|
"undici": "^8.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "9.3.0",
|
|
"@types/css-tree": "2.3.11",
|
|
"@types/node": "24.13.3",
|
|
"@vitest/coverage-v8": "4.1.10",
|
|
"bumpp": "12.2.0",
|
|
"changelogithub": "15.0.4",
|
|
"eslint": "10.8.0",
|
|
"lint-staged": "17.3.0",
|
|
"simple-git-hooks": "2.13.1",
|
|
"tsdown": "0.22.14",
|
|
"typescript": "6.0.3",
|
|
"unstorage": "1.17.5",
|
|
"vite": "8.2.0",
|
|
"vitest": "4.1.10"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,mjs,cjs,json,.*rc}": [
|
|
"npx eslint --fix"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "vitest dev",
|
|
"lint": "eslint .",
|
|
"release": "bumpp",
|
|
"test": "pnpm test:unit --coverage && pnpm test:types",
|
|
"test:unit": "vitest",
|
|
"test:types": "tsc --noEmit"
|
|
}
|
|
} |