66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"name": "unifont",
|
|
"type": "module",
|
|
"version": "0.5.2",
|
|
"packageManager": "pnpm@10.12.2",
|
|
"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.js"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "unbuild",
|
|
"dev": "vitest dev",
|
|
"lint": "eslint .",
|
|
"prepare": "simple-git-hooks",
|
|
"prepack": "pnpm build",
|
|
"prepublishOnly": "pnpm lint && pnpm test",
|
|
"release": "bumpp && npm publish",
|
|
"test": "pnpm test:unit --coverage && pnpm test:types",
|
|
"test:unit": "vitest",
|
|
"test:types": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"css-tree": "^3.0.0",
|
|
"ofetch": "^1.4.1",
|
|
"ohash": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "4.16.1",
|
|
"@types/css-tree": "2.3.10",
|
|
"@types/node": "22.15.32",
|
|
"@vitest/coverage-v8": "3.2.4",
|
|
"bumpp": "10.2.0",
|
|
"eslint": "9.29.0",
|
|
"lint-staged": "16.1.2",
|
|
"simple-git-hooks": "2.13.0",
|
|
"typescript": "5.8.3",
|
|
"unbuild": "3.5.0",
|
|
"unstorage": "1.16.0",
|
|
"vite": "6.3.5",
|
|
"vitest": "3.2.4"
|
|
},
|
|
"resolutions": {
|
|
"unifont": "link:."
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,mjs,cjs,json,.*rc}": [
|
|
"npx eslint --fix"
|
|
]
|
|
}
|
|
}
|